mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
Update.
2000-06-09 Jes Sorensen <jes@linuxcare.com> * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain the address of a symbol so function pointers are handled properly.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2000-06-09 Jes Sorensen <jes@linuxcare.com>
|
||||||
|
|
||||||
|
* elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
|
||||||
|
the address of a symbol so function pointers are handled properly.
|
||||||
|
|
||||||
2000-06-08 Ulrich Drepper <drepper@redhat.com>
|
2000-06-08 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* sysdeps/i386/Dist: Add bp-asm.h.
|
* sysdeps/i386/Dist: Add bp-asm.h.
|
||||||
|
@@ -111,7 +111,7 @@ __libc_dlsym (void *__map, const char *__name)
|
|||||||
args.name = __name;
|
args.name = __name;
|
||||||
|
|
||||||
return (dlerror_run (do_dlsym, &args) ? NULL
|
return (dlerror_run (do_dlsym, &args) ? NULL
|
||||||
: (void *) (args.loadbase + args.ref->st_value));
|
: (void *) (DL_SYMBOL_ADDRESS (args.loadbase, args.ref)));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
Reference in New Issue
Block a user