glibc/sysdeps/unix/sysv/linux/mips
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 Set default __TIMESIZE default to 64 2021-12-23 11:41:08 -03:00
mips32 elf: Add _dl_find_object function 2021-12-28 22:52:56 +01:00
mips64 elf: Add _dl_find_object function 2021-12-28 22:52:56 +01:00
sys Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
____longjmp_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
_test_and_set.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
clone.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
configure Replace Minumum/minumum with Minimum/minimum 2020-10-06 05:15:11 -07:00
configure.ac Replace Minumum/minumum with Minimum/minimum 2020-10-06 05:15:11 -07:00
dl-cache.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
errlist-compat.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fxstat.c MIPS: Setup errno for {f,l,}xstat 2021-09-07 10:09:54 -03:00
getcontext.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
getrlimit64.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Implies
kernel-features.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
kernel_rt_sigframe.h Rename struct ucontext tag (bug 21457). 2017-06-26 22:03:58 +00:00
kernel_sigaction.h linux: Consolidate sigaction implementation 2018-04-05 17:09:50 -03:00
kernel_stat.h linux: Use statx for MIPSn64 2021-03-29 10:22:13 -03:00
kernel_termios.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
ldsodefs.h mips: Remove _dl_var_init 2021-05-17 10:08:14 +02:00
libc-abis MIPS support for GNU hash 2019-08-29 20:11:42 +00:00
lxstat.c MIPS: Setup errno for {f,l,}xstat 2021-09-07 10:09:54 -03:00
makecontext.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
Makefile mips: Remove _dl_var_init 2021-05-17 10:08:14 +02:00
mmap_info.h posix: Fix large mmap64 offset for mips64n32 (BZ#24699) 2019-07-10 16:52:50 -03:00
readelflib.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
register-dump.h Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
setcontext.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
setrlimit64.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
shlib-versions Move malloc hooks into a compat DSO 2021-07-22 18:37:59 +05:30
sigcontextinfo.h Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
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_msqid64_ds.h sysv: linux: Add 64-bit time_t variant for msgctl 2020-07-09 12:05:40 -03:00
struct_kernel_semid64_ds.h sysv: linux: Add 64-bit time_t variant for semctl 2020-07-09 12:05:35 -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
swapcontext.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
syscalls.list linux: Consolidate Linux setsockopt implementation 2021-07-06 11:45:35 -03:00
sysdep.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
ucontext_i.sym
ustat.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
Versions Add missing symbols to Version files 2021-06-02 07:32:19 +02:00
vfork.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
xstat.c MIPS: Setup errno for {f,l,}xstat 2021-09-07 10:09:54 -03:00
xstatconv.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
xstatver.h Remove mknod wrapper functions, move them to symbols 2020-10-09 17:02:06 -03:00