glibc/dlfcn
Florian Weimer 9e78f6f6e7 Implement _dl_catch_error, _dl_signal_error in libc.so [BZ #16628]
This change moves the main implementation of _dl_catch_error,
_dl_signal_error to libc.so, where TLS variables can be used
directly.  This removes a writable function pointer from the
rtld_global variable.

For use during initial relocation, minimal implementations of these
functions are provided in ld.so.  These are eventually interposed
by the libc.so implementations.  This is implemented by compiling
elf/dl-error-skeleton.c twice, via elf/dl-error.c and
elf/dl-error-minimal.c.

As a side effect of this change, the static version of dl-error.c
no longer includes support for the
_dl_signal_cerror/_dl_receive_error mechanism because it is only
used in ld.so.
2016-11-30 15:59:57 +01:00
..
bug-atexit1-lib.c
bug-atexit1.c
bug-atexit2-lib.c
bug-atexit2.c
bug-atexit3-lib.cc Fix warning caused by unused-result in bug-atexit3-lib.cc 2016-10-28 19:26:14 -02:00
bug-atexit3.c
bug-dl-leaf-lib-cb.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
bug-dl-leaf-lib.c Fix building glibc master with NDEBUG and --with-cpu. 2016-03-15 23:23:24 -04:00
bug-dl-leaf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +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. 2016-01-04 16:05:18 +00:00
dladdr.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
dlclose.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
dlerror.c Implement _dl_catch_error, _dl_signal_error in libc.so [BZ #16628] 2016-11-30 15:59:57 +01:00
dlfcn.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
dlfcn.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
dlinfo.c Implement _dl_catch_error, _dl_signal_error in libc.so [BZ #16628] 2016-11-30 15:59:57 +01:00
dlmopen.c Implement _dl_catch_error, _dl_signal_error in libc.so [BZ #16628] 2016-11-30 15:59:57 +01:00
dlopen.c Implement _dl_catch_error, _dl_signal_error in libc.so [BZ #16628] 2016-11-30 15:59:57 +01:00
dlopenold.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
dlsym.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
dlvsym.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
errmsg1.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
errmsg1mod.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
failtest.c
failtestmod.c
glreflib1.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
glreflib2.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
glreflib3.c
glrefmain.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
Makefile Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
modatexit.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
modcxaatexit.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
moddummy1.c
moddummy2.c
modstatic2.c
modstatic3.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
modstatic5.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +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 Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-dlinfo.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-rec-dlopen.c tst-rec-dlopen: Fix build fail due to missing inclusion of string.h 2016-06-06 11:03:04 +02:00
tstatexit.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tstcxaatexit.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tststatic2.c
tststatic3.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tststatic4.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tststatic5.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tststatic.c
Versions