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
..
2016-11-24 19:38:51 -02:00
2016-11-04 09:37:44 -07:00
2016-11-24 19:38:51 -02:00
2016-11-28 23:27:23 +00:00
2016-11-24 19:38:51 -02:00
2016-11-24 19:38:51 -02:00
2016-11-24 19:38:51 -02:00
2016-11-24 19:38:51 -02:00
2016-11-24 19:38:51 -02:00
2016-09-18 23:48:55 +02:00
2016-11-24 19:38:51 -02:00
2016-11-24 19:38:51 -02:00