aboutsummaryrefslogtreecommitdiff
path: root/io/access.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2023-11-23 19:01:32 +0000
committerJoseph Myers <joseph@codesourcery.com>2023-11-23 19:01:32 +0000
commit2e0c0ff95ca0e3122eb5b906ee26a31f284ce5ab (patch)
tree4cba7b7727128374d4c8a659f32b0acef7a13bba /io/access.c
parent472894d2cfee5751b44c0aaa71ed87df81c8e62e (diff)
downloadglibc-2e0c0ff95ca0e3122eb5b906ee26a31f284ce5ab.zip
glibc-2e0c0ff95ca0e3122eb5b906ee26a31f284ce5ab.tar.gz
glibc-2e0c0ff95ca0e3122eb5b906ee26a31f284ce5ab.tar.bz2
Remove __access_noerrno
A recent commit, apparently commit 6c6fce572fb8f583f14d898e54fd7d25ae91cf56 "elf: Remove /etc/suid-debug support", resulted in localplt failures for i686-gnu and x86_64-gnu: Missing required PLT reference: ld.so: __access_noerrno After that commit, __access_noerrno is actually no longer used at all. So rather than just removing the localplt expectation for that symbol for Hurd, completely remove all definitions of and references to that symbol. Tested for x86_64, and with build-many-glibcs.py for i686-gnu and x86_64-gnu.
Diffstat (limited to 'io/access.c')
-rw-r--r--io/access.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/io/access.c b/io/access.c
index 29b8fdc..06a3900 100644
--- a/io/access.c
+++ b/io/access.c
@@ -19,13 +19,6 @@
#include <stddef.h>
#include <unistd.h>
-/* Test for access to FILE without setting errno. */
-int
-__access_noerrno (const char *file, int type)
-{
- return -1;
-}
-
/* Test for access to FILE. */
int
__access (const char *file, int type)