glibc/sysdeps/unix/sysv/linux/x86_64
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
..
64 elf: Add _dl_find_object function 2021-12-28 22:52:56 +01:00
x32 elf: Add _dl_find_object function 2021-12-28 22:52:56 +01:00
____longjmp_chk.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
__start_context.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
clone.S x86-64: Align child stack to 16 bytes [BZ #27902] 2021-05-31 12:03:36 -07:00
clone3.S x86-64: Add the clone3 wrapper 2021-07-14 06:34:13 -07:00
configure
configure.ac
dl-cache.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
dl-procinfo.c
dl-procinfo.h
getcontext.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
Implies
kernel-features.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
ldconfig.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
ldd-rewrite.sed
libc_sigaction.c signal: Add __libc_sigaction 2021-03-18 15:54:39 -03:00
libmvec.abilist x86-64: Add vector acos/acosf implementation to libmvec 2021-12-22 13:03:14 -08:00
makecontext.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
Makefile ldconfig/x86: Store ISA level in cache and aux cache 2021-01-13 05:51:17 -08:00
register-dump.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
setcontext.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
sigaltstack-offsets.sym
sigcontextinfo.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
swapcontext.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
syscall.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
syscalls.list linux: Consolidate Linux setsockopt implementation 2021-07-06 11:45:35 -03:00
sysdep.h Typo: Rename HAVE_CLONE3_WAPPER to HAVE_CLONE3_WRAPPER 2021-07-28 10:19:08 -07:00
sysdep.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-glibc-hwcaps-2.c x86-64: Update tst-glibc-hwcaps-2.c for x86-64 baseline 2021-01-22 09:37:44 -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 2021-01-02 12:17:34 -08:00
x86-64-isa-level-VALUE.c ldconfig/x86: Store ISA level in cache and aux cache 2021-01-13 05:51:17 -08:00