about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/Versions
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2019-12-01 20:52:39 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2019-12-01 21:05:56 +0000
commitdd67928700bc9b5954c93b29a6e0b0c4b279d454 (patch)
tree7557514a0d014468c56c9f0d000f9c0387337dee /sysdeps/mach/hurd/Versions
parentdb25266c9202a1235ce2e2f8a4f84cfb86254196 (diff)
downloadglibc-dd67928700bc9b5954c93b29a6e0b0c4b279d454.tar.gz
glibc-dd67928700bc9b5954c93b29a6e0b0c4b279d454.tar.xz
glibc-dd67928700bc9b5954c93b29a6e0b0c4b279d454.zip
hurd: Fix ld.so __access override from libc
ld.so symbols to be overriden by libc need to be extern to really get
overriden. __access happens to have never been exposed, putting it to
GLIBC_PRIVATE.
Diffstat (limited to 'sysdeps/mach/hurd/Versions')
-rw-r--r--sysdeps/mach/hurd/Versions8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/mach/hurd/Versions b/sysdeps/mach/hurd/Versions
index dc199bfd66..9dee71efa3 100644
--- a/sysdeps/mach/hurd/Versions
+++ b/sysdeps/mach/hurd/Versions
@@ -1,7 +1,7 @@
 libc {
   GLIBC_2.0 {
     # functions with a weak definition in the dynamic linker
-    __access; __mmap;
+    __mmap;
   }
   GLIBC_2.2.6 {
     # functions with a weak definition in the dynamic linker
@@ -9,7 +9,7 @@ libc {
   }
   GLIBC_PRIVATE {
     # Functions shared with the dynamic linker
-    __access_noerrno; __libc_read; __libc_write; __libc_lseek64;
+    __access; __access_noerrno; __libc_read; __libc_write; __libc_lseek64;
     __libc_lock_self0; __sigprocmask; __getcwd;
 
     _dl_init_first;
@@ -22,7 +22,7 @@ ld {
     __hurd_threadvar_stack_mask;  __hurd_threadvar_stack_offset;
 
     # functions that must be shared with libc
-    __access; __close; __getpid;
+    __close; __getpid;
     __mmap; __open; __read; __sbrk; __strtoul_internal;
     __write; __writev; __xstat64; __fxstat64;
     _exit; _hurd_intr_rpc_mach_msg;
@@ -40,7 +40,7 @@ ld {
     _dl_init_first;
 
     # functions that must be shared with libc
-    __access_noerrno; __libc_read; __libc_write; __libc_lseek64;
+    __access; __access_noerrno; __libc_read; __libc_write; __libc_lseek64;
     __libc_lock_self0; __sigprocmask; __getcwd;
   }
 }