This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
hurd: Hidden symbols in rtld
- From: Samuel Thibault <samuel dot thibault at ens-lyon dot org>
- To: hjl dot tools at gmail dot com
- Cc: libc-alpha at sourceware dot org
- Date: Sun, 20 Mar 2016 17:42:14 +0100
- Subject: hurd: Hidden symbols in rtld
- Authentication-results: sourceware.org; auth=none
Hello,
In 730bbab2c39dd615c31c924041b4d16d7f107ae0 ('Mark internal unistd
functions hidden in ld.so'), one can read
â
__close, __getcwd, __getpid, __libc_read and __libc_write can't be
hidden in ld.so on Hurd since they will be preempted by the ones in
libc.so after bootstrap.
â
AIUI, this is because there are weak definitions in
sysdeps/mach/hurd/dl-sysdep.c which need to be preempted by the libc
one, right? Is __access perhaps missing in the list? There is a weak
definition for __access in dl-sysdep.c.
Also, 6d56699d7e808419ccf244150ecba122156932ba ('Mark internal fcntl
functions hidden') made __open hidden, but dl-sysdep.c has a weak
definition, which AIUI needs to be preempted too, so that this commit
should be split to a dl-fcntl.h that sysdepas/mach/hurd/ can provide,
right?
(Just asking the question, I'll handle commiting etc.)
Samuel