glibc/sysdeps
Samuel Thibault 3d3316b1de hurd: keep only required PLTs in ld.so
We need NO_RTLD_HIDDEN because of the need for PLT calls in ld.so.
See Roland's comment in
https://sourceware.org/bugzilla/show_bug.cgi?id=15605
"in the Hurd it's crucial that calls like __mmap be the libc ones
instead of the rtld-local ones after the bootstrap phase, when the
dynamic linker is being used for dlopen and the like."

We used to just avoid all hidden use in the rtld ; this commit switches to
keeping only those that should use PLT calls, i.e. essentially those defined in
sysdeps/mach/hurd/dl-sysdep.c:

__assert_fail
__assert_perror_fail
__*stat64
_exit

This fixes a few startup issues, notably the call to __tunable_get_val that is
made before PLTs are set up.
2020-11-11 02:36:22 +01:00
..
aarch64 aarch64: Add unwind information to _start (bug 26853) 2020-11-09 11:31:04 +01:00
alpha Update alpha libm-test-ulps 2020-10-08 10:29:15 -03:00
arc aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00
arm aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00
csky C-SKY: Make dynamic linker's name compitable with the older gcc. 2020-10-21 16:05:29 +08:00
generic hurd: keep only required PLTs in ld.so 2020-11-11 02:36:22 +01:00
gnu string: Fix strerrorname_np return value [BZ #26555] 2020-09-29 13:56:06 -03:00
hppa aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00
htl htl: Move cleanup handling to non-private libc-lock 2020-06-28 00:13:57 +00:00
hurd hurd: Fix build-many-glibcs.py 2020-07-13 14:25:03 -03:00
i386 hurd: keep only required PLTs in ld.so 2020-11-11 02:36:22 +01:00
ia64 aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00
ieee754 math: Fix inaccuracy of j0f for x >= 2^127 when sin(x)+cos(x) is tiny 2020-08-07 16:33:13 -03:00
m68k aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00
mach hurd: keep only required PLTs in ld.so 2020-11-11 02:36:22 +01:00
microblaze aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00
mips Update mips64 libm-test-ulps 2020-10-08 10:29:15 -03:00
nios2 aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00
nptl Avoid -Wstringop-overflow warning in pthread_cleanup_push macros 2020-10-30 22:25:42 +00:00
posix linux: Move posix dir implementations to Linux 2020-10-16 14:19:23 -03:00
powerpc aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00
pthread C11 threads: Fix inaccuracies in testsuite 2020-09-07 11:42:52 +02:00
riscv RISC-V: Add _dl_start_user. 2020-11-10 14:02:46 -05:00
s390 aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00
sh aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00
sparc aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00
unix riscv: Get cache information through sysconf 2020-11-10 14:43:49 -05: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: Restore processing of cache size tunables in init_cacheinfo 2020-10-28 15:53:26 +01:00
x86_64 hurd: keep only required PLTs in ld.so 2020-11-11 02:36:22 +01:00