about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-03 04:02:24 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-03 04:09:54 +0200
commit819ea3347e3a30a611488ceeec53650baaeb7961 (patch)
treef44e838c9ae999e00ae6e93928f9e23d05119374 /sysdeps
parent2263ca7ce8a824f53debcc724bd21cd7099e1161 (diff)
downloadglibc-819ea3347e3a30a611488ceeec53650baaeb7961.tar.gz
glibc-819ea3347e3a30a611488ceeec53650baaeb7961.tar.xz
glibc-819ea3347e3a30a611488ceeec53650baaeb7961.zip
hurd: Fix rtld link
dl-tunables.c now uses __access_noerrno in addition to __access.

	* sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): New function.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/dl-sysdep.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c
index 6d5c1abf83..2bfa64f02a 100644
--- a/sysdeps/mach/hurd/dl-sysdep.c
+++ b/sysdeps/mach/hurd/dl-sysdep.c
@@ -557,6 +557,12 @@ __access (const char *file, int type)
   errno = ENOSYS;
   return -1;
 }
+int weak_function
+__access_noerrno (const char *file, int type)
+{
+  errno = ENOSYS;
+  return -1;
+}
 
 pid_t weak_function
 __getpid (void)