diff options
Diffstat (limited to 'elf/dl-libc.c')
-rw-r--r-- | elf/dl-libc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-libc.c b/elf/dl-libc.c index 07aae9c8f9..c95935ff75 100644 --- a/elf/dl-libc.c +++ b/elf/dl-libc.c @@ -111,7 +111,7 @@ __libc_dlsym (void *__map, const char *__name) args.name = __name; return (dlerror_run (do_dlsym, &args) ? NULL - : (void *) (args.loadbase + args.ref->st_value)); + : (void *) (DL_SYMBOL_ADDRESS (args.loadbase, args.ref))); } int |