mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-30 21:23:52 +08:00
825adeeed1
Since __dso_handle is always defined by either crtbegin.o from GCC or dso_handle.c, it should be marked as hidden and be passed directly. [BZ #18822] * dlfcn/modatexit.c (foo): Remove __dso_handle check. * dlfcn/modcxaatexit.c: Include <dso_handle.h>. (__dso_handle): Remove declaration. * dlfcn/tstatexit.c (__dso_handle): Removed. (main): Don't check __dso_handle. * dlfcn/tstcxaatexit.c (__dso_handle): Removed. (main): Don't check __dso_handle. * include/dso_handle.h: New file. * malloc/mtrace.c: Include <dso_handle.h>. (mtrace): Pass __dso_handle directly. * nptl/pthread_atfork.c: Include <dso_handle.h>. (__dso_handle): Remove declaration. (__pthread_atfork): Pass __dso_handle directly. * nptl/tst-atfork2mod.c: Include <dso_handle.h>. (__dso_handle): Removed. * posix/wordexp-test.c: Include <dso_handle.h>. (__dso_handle): Remove declaration. (__app_register_atfork): Pass __dso_handle directly. * stdlib/at_quick_exit.c: Include <dso_handle.h>. (__dso_handle): Remove declaration. (at_quick_exit): Pass __dso_handle directly. * stdlib/atexit.c: Include <dso_handle.h>. (__dso_handle): Remove declaration. (atexit): Pass __dso_handle directly. * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>. (__dso_handle): Removed. |
||
---|---|---|
.. | ||
bug-atexit1-lib.c | ||
bug-atexit1.c | ||
bug-atexit2-lib.c | ||
bug-atexit2.c | ||
bug-atexit3-lib.cc | ||
bug-atexit3.c | ||
bug-dl-leaf-lib-cb.c | ||
bug-dl-leaf-lib.c | ||
bug-dl-leaf.c | ||
bug-dlopen1.c | ||
bug-dlsym1-lib1.c | ||
bug-dlsym1-lib2.c | ||
bug-dlsym1.c | ||
default.c | ||
defaultmod1.c | ||
defaultmod2.c | ||
dladdr1.c | ||
dladdr.c | ||
dlclose.c | ||
dlerror.c | ||
dlfcn.c | ||
dlfcn.h | ||
dlinfo.c | ||
dlmopen.c | ||
dlopen.c | ||
dlopenold.c | ||
dlsym.c | ||
dlvsym.c | ||
errmsg1.c | ||
errmsg1mod.c | ||
failtest.c | ||
failtestmod.c | ||
glreflib1.c | ||
glreflib2.c | ||
glreflib3.c | ||
glrefmain.c | ||
Makefile | ||
modatexit.c | ||
modcxaatexit.c | ||
moddummy1.c | ||
moddummy2.c | ||
modstatic2.c | ||
modstatic3.c | ||
modstatic5.c | ||
modstatic.c | ||
sdladdr1.c | ||
sdladdr.c | ||
sdlclose.c | ||
sdlerror.c | ||
sdlinfo.c | ||
sdlmopen.c | ||
sdlopen.c | ||
sdlsym.c | ||
sdlvsym.c | ||
tst-dladdr.c | ||
tst-dlinfo.c | ||
tst-rec-dlopen.c | ||
tstatexit.c | ||
tstcxaatexit.c | ||
tststatic2.c | ||
tststatic3.c | ||
tststatic4.c | ||
tststatic5.c | ||
tststatic.c | ||
Versions |