glibc/sysdeps/mach
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
..
htl hurd: Add __pthread_spin_wait and use it 2020-02-11 00:32:44 +01:00
hurd hurd: keep only required PLTs in ld.so 2020-11-11 02:36:22 +01:00
i386 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
include hurd: Fix installed-headers tests 2018-07-20 03:28:08 +02:00
sys Installed-header hygiene (BZ#20366): obsolete BSD u_* types. 2016-09-23 08:43:56 -04:00
_strerror.c string: Simplify strerror_r 2020-07-07 14:10:58 -03:00
adjtime.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
clock_gettime.c hurd: support clock_gettime(CLOCK_PROCESS/THREAD_CPUTIME_ID) 2020-10-11 14:00:41 +00:00
clock_nanosleep.c hurd: Make nanosleep a cancellation point 2020-02-10 01:03:53 +00:00
configure hurd: Build stubs for new gnumach.defs 2018-01-28 19:38:29 +01:00
configure.ac hurd: Build stubs for new gnumach.defs 2018-01-28 19:38:29 +01:00
getloadavg.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getpagesize.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getsysstats.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
libc-lock.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
libmachuser.abilist hurd: add base abilist files 2018-01-28 17:26:35 +01:00
Makefile Remove --enable-obsolete-nsl configure flag 2020-07-08 17:25:57 +02:00
mprotect.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
msync.c hurd: Add remaining cancelation points 2020-06-28 22:46:21 +00:00
munmap.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
pagecopy.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
readonly-area.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sched_yield.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sleep.c hurd: Add remaining cancelation points 2020-06-28 22:46:21 +00:00
strerror_l.c hurd: Fix strerror not setting errno 2020-07-07 21:46:53 +00:00
Subdirs * Makefile (subdir-target-args): New variable. 2006-02-28 07:11:04 +00:00
sysdep.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
thread_state.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
usleep.c hurd: Simplify usleep timeout computation 2020-06-29 10:10:32 +02:00
xpg-strerror.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00