glibc/sysdeps/unix/sysv/linux/powerpc/powerpc64
Florian Weimer ee1ada1bdb elf: Rework exception handling in the dynamic loader [BZ #25486]
The old exception handling implementation used function interposition
to replace the dynamic loader implementation (no TLS support) with the
libc implementation (TLS support).  This results in problems if the
link order between the dynamic loader and libc is reversed (bug 25486).

The new implementation moves the entire implementation of the
exception handling functions back into the dynamic loader, using
THREAD_GETMEM and THREAD_SETMEM for thread-local data support.
These depends on Hurd support for these macros, added in commit
b65a82e4e7 ("hurd: Add THREAD_GET/SETMEM/_NC").

One small obstacle is that the exception handling facilities are used
before the TCB has been set up, so a check is needed if the TCB is
available.  If not, a regular global variable is used to store the
exception handling information.

Also rename dl-error.c to dl-catch.c, to avoid confusion with the
dlerror function.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
2022-11-03 09:39:31 +01:00
..
be stdlib: Add arc4random, arc4random_buf, and arc4random_uniform (BZ #4417) 2022-07-22 11:58:27 -03:00
fpu Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
le stdlib: Add arc4random, arc4random_buf, and arc4random_uniform (BZ #4417) 2022-07-22 11:58:27 -03:00
____longjmp_chk.S Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
arch-pkey.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
arch-syscall.h Update syscall lists for Linux 5.17 2022-03-23 17:11:56 +00:00
c++-types.data
clone.S Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
configure
configure.ac
dl-cache.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getcontext.S Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
Implies
ldsodefs.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
localplt.data elf: Rework exception handling in the dynamic loader [BZ #25486] 2022-11-03 09:39:31 +01:00
makecontext.S Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pkey_get.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pkey_set.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
setcontext.S Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
shlib-versions
swapcontext.S Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sysdep.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
timer_t_was_int_compat.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
ucontext_i.sym
Versions Linux: Move timer_settime, __timer_settime64 from librt to libc 2021-06-28 09:51:01 +02:00
vfork.S Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00