glibc/dlfcn
H.J. Lu 825adeeed1 Mark __dso_handle as hidden [BZ #18822]
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.
2017-09-26 16:53:44 -07:00
..
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 Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
bug-dl-leaf-lib.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
bug-dl-leaf.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
bug-dlopen1.c
bug-dlsym1-lib1.c
bug-dlsym1-lib2.c
bug-dlsym1.c
default.c
defaultmod1.c
defaultmod2.c
dladdr1.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
dladdr.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
dlclose.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
dlerror.c dlfcn: Remove internal_function attribute 2017-08-31 16:12:03 +02:00
dlfcn.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
dlfcn.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
dlinfo.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
dlmopen.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
dlopen.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
dlopenold.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
dlsym.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
dlvsym.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
errmsg1.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
errmsg1mod.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
failtest.c
failtestmod.c
glreflib1.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
glreflib2.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
glreflib3.c
glrefmain.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
Makefile Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
modatexit.c Mark __dso_handle as hidden [BZ #18822] 2017-09-26 16:53:44 -07:00
modcxaatexit.c Mark __dso_handle as hidden [BZ #18822] 2017-09-26 16:53:44 -07:00
moddummy1.c
moddummy2.c
modstatic2.c
modstatic3.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
modstatic5.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
modstatic.c
sdladdr1.c
sdladdr.c
sdlclose.c
sdlerror.c
sdlinfo.c
sdlmopen.c
sdlopen.c
sdlsym.c
sdlvsym.c
tst-dladdr.c Miscellaneous low-risk changes preparing for _ISOMAC testsuite. 2017-03-01 20:32:50 -05:00
tst-dlinfo.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tst-rec-dlopen.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tstatexit.c Mark __dso_handle as hidden [BZ #18822] 2017-09-26 16:53:44 -07:00
tstcxaatexit.c Mark __dso_handle as hidden [BZ #18822] 2017-09-26 16:53:44 -07:00
tststatic2.c
tststatic3.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tststatic4.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tststatic5.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tststatic.c
Versions