glibc/sysdeps/unix/sysv/linux/powerpc
Florian Weimer 5d28a8962d elf: Add _dl_find_object function
It can be used to speed up the libgcc unwinder, and the internal
_dl_find_dso_for_object function (which is used for caller
identification in dlopen and related functions, and in dladdr).

_dl_find_object is in the internal namespace due to bug 28503.
If libgcc switches to _dl_find_object, this namespace issue will
be fixed.  It is located in libc for two reasons: it is necessary
to forward the call to the static libc after static dlopen, and
there is a link ordering issue with -static-libgcc and libgcc_eh.a
because libc.so is not a linker script that includes ld.so in the
glibc build tree (so that GCC's internal -lc after libgcc_eh.a does
not pick up ld.so).

It is necessary to do the i386 customization in the
sysdeps/x86/bits/dl_find_object.h header shared with x86-64 because
otherwise, multilib installations are broken.

The implementation uses software transactional memory, as suggested
by Torvald Riegel.  Two copies of the supporting data structures are
used, also achieving full async-signal-safety.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2021-12-28 22:52:56 +01:00
..
bits nptl: Add rseq registration 2021-12-09 09:49:32 +01:00
powerpc32 elf: Add _dl_find_object function 2021-12-28 22:52:56 +01:00
powerpc64 elf: Add _dl_find_object function 2021-12-28 22:52:56 +01:00
sys Add PTRACE_GET_RSEQ_CONFIGURATION from Linux 5.13 to sys/ptrace.h 2021-08-09 16:51:38 +00:00
configure configure: Don't check LD -v --help for LIBC_LINKER_FEATURE 2021-10-25 13:17:44 -07:00
configure.ac powerpc: Use --no-tls-get-addr-optimize in test only if the linker supports it 2021-08-24 09:26:44 -07:00
dl-auxv.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
dl-cache.h
elision-conf.c nptl: Move elision implementations into libc 2021-02-23 14:59:34 +01:00
elision-conf.h nptl: Move elision implementations into libc 2021-02-23 14:59:34 +01:00
elision-lock.c nptl: Move elision implementations into libc 2021-02-23 14:59:34 +01:00
elision-timed.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
elision-trylock.c nptl: Move elision implementations into libc 2021-02-23 14:59:34 +01:00
elision-unlock.c nptl: Move elision implementations into libc 2021-02-23 14:59:34 +01:00
get_timebase_freq.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
gettimeofday.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
htm.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Implies
internal-ioctl.h linux: Add generic ioctl implementation 2021-12-06 08:03:18 -03:00
ipc_priv.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
kernel_sigaction.h
kernel_termios.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
kernel-features.h linux: Consolidate Linux setsockopt implementation 2021-07-06 11:45:35 -03:00
ldconfig.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
ldd-rewrite.sed
libc-start.c Reduce the statically linked startup code [BZ #23323] 2021-02-25 12:13:02 +01:00
libc-start.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
libc-vdso.h elf: Fix dynamic-link.h usage on rtld.c 2021-10-14 14:52:07 -03:00
libpthread-compat.c nptl: Move pthread_attr_setstacksize into libc 2021-05-11 19:33:20 +02:00
Makefile powerpc: Use --no-tls-get-addr-optimize in test only if the linker supports it 2021-08-24 09:26:44 -07:00
nldbl-abi.h
pthread_attr_setstack.c
pthread_attr_setstacksize.c
readelflib.c ldconfig/x86: Store ISA level in cache and aux cache 2021-01-13 05:51:17 -08:00
rt-sysdep.c
rtld_static_init.h powerpc: Remove _dl_var_init 2021-05-17 10:08:17 +02:00
sigcontextinfo.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
socket-constants-time64.h linux: Add fallback for 64-bit time_t SO_TIMESTAMP{NS} 2021-06-15 10:42:06 -03:00
struct_kernel_shmid64_ds.h sysv: linux: Add 64-bit time_t variant for shmctl 2020-07-09 12:05:47 -03:00
syscall.S powerpc64[le]: Allocate extra stack frame on syscall.S 2021-12-17 15:40:53 -03:00
sysconf.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sysdep.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sysdep.h powerpc: Remove backtrace implementation 2021-10-20 10:40:53 -03:00
test-gettimebasefreq-static.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
test-gettimebasefreq.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
test-powerpc-linux-sysconf.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
time.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Versions Add missing symbols to Version files 2021-06-02 07:32:19 +02:00
xstatver.h Remove mknod wrapper functions, move them to symbols 2020-10-09 17:02:06 -03:00