From: Samuel Thibault Date: Sun, 3 Sep 2017 02:02:24 +0000 (+0200) Subject: hurd: Fix rtld link X-Git-Tag: glibc-2.27~981 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=819ea3347e3a30a611488ceeec53650baaeb7961;p=thirdparty%2Fglibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index 0567c67675f..2e6083b3724 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18,6 +18,7 @@ Fix inclusion. * sysdeps/posix/pwritev2.c: Include . * sysdeps/posix/pwritev64v2.c: Include . + * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): New function. 2017-09-01 Joseph Myers diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c index 6d5c1abf831..2bfa64f02a4 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)