glibc/sysdeps
Florian Weimer dad90d5282 elf: Add glibc-hwcaps support for LD_LIBRARY_PATH
This hacks non-power-set processing into _dl_important_hwcaps.
Once the legacy hwcaps handling goes away, the subdirectory
handling needs to be reworked, but it is premature to do this
while both approaches are still supported.

ld.so supports two new arguments, --glibc-hwcaps-prepend and
--glibc-hwcaps-mask.  Each accepts a colon-separated list of
glibc-hwcaps subdirectory names.  The prepend option adds additional
subdirectories that are searched first, in the specified order.  The
mask option restricts the automatically selected subdirectories to
those listed in the option argument.  For example, on systems where
/usr/lib64 is on the library search path,
--glibc-hwcaps-prepend=valgrind:debug causes the dynamic loader to
search the directories /usr/lib64/glibc-hwcaps/valgrind and
/usr/lib64/glibc-hwcaps/debug just before /usr/lib64 is searched.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
2020-12-04 09:13:43 +01:00
..
aarch64 nptl: Move stack list variables into _rtld_global 2020-11-16 19:33:30 +01:00
alpha nptl: Move stack list variables into _rtld_global 2020-11-16 19:33:30 +01:00
arc nptl: Move stack list variables into _rtld_global 2020-11-16 19:33:30 +01:00
arm nptl: Move stack list variables into _rtld_global 2020-11-16 19:33:30 +01:00
csky nptl: Move stack list variables into _rtld_global 2020-11-16 19:33:30 +01:00
generic elf: Add glibc-hwcaps support for LD_LIBRARY_PATH 2020-12-04 09:13:43 +01:00
gnu string: Fix strerrorname_np return value [BZ #26555] 2020-09-29 13:56:06 -03:00
hppa nptl: Move stack list variables into _rtld_global 2020-11-16 19:33:30 +01:00
htl htl: Add hidden def for __pthread_create/detach 2020-12-03 12:21:47 +01:00
hurd hurd: Remove some remnants of cthreads 2020-11-15 13:16:03 +01:00
i386 x86: Fix THREAD_SELF definition to avoid ld.so crash (bug 27004) 2020-12-03 13:48:55 +01:00
ia64 nptl: Move stack list variables into _rtld_global 2020-11-16 19:33:30 +01:00
ieee754 Remove tls.h inclusion from internal errno.h 2020-11-13 12:59:19 -03:00
m68k nptl: Move stack list variables into _rtld_global 2020-11-16 19:33:30 +01:00
mach hurd: Enable using ifunc 2020-11-16 21:15:20 +00:00
microblaze nptl: Move stack list variables into _rtld_global 2020-11-16 19:33:30 +01:00
mips nptl: Move stack list variables into _rtld_global 2020-11-16 19:33:30 +01:00
nios2 nptl: Move stack list variables into _rtld_global 2020-11-16 19:33:30 +01:00
nptl nptl: Fix __futex_clocklock64 return error check [BZ #26964] 2020-12-01 18:26:26 -03:00
posix linux: Move posix dir implementations to Linux 2020-10-16 14:19:23 -03:00
powerpc powerpc64le: ifunc select *f128 routines in multiarch mode 2020-11-30 09:56:14 -06:00
pthread y2038: Convert aio_suspend to support 64 bit time 2020-11-30 14:08:44 +01:00
riscv nptl: Move stack list variables into _rtld_global 2020-11-16 19:33:30 +01:00
s390 nptl: Move stack list variables into _rtld_global 2020-11-16 19:33:30 +01:00
sh sh: Add sh4 fpu Implies folder 2020-11-27 09:29:35 -03:00
sparc nptl: Move stack list variables into _rtld_global 2020-11-16 19:33:30 +01:00
unix Revert "linux: Move xmknod{at} to compat symbols" 2020-12-02 14:45:22 -03:00
wordsize-32 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wordsize-64 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
x86 x86: Remove UP macro. Define LOCK_PREFIX unconditionally. 2020-11-13 15:20:03 +01:00
x86_64 x86: Fix THREAD_SELF definition to avoid ld.so crash (bug 27004) 2020-12-03 13:48:55 +01:00