aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-17 21:57:39 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-17 21:57:39 +0200
commit1c6d89e9a40302430d5986a09c7cf7594b93143c (patch)
tree25503bbbf59c767406affd67ccedf4569298a41c /sysdeps/mach
parentc207f7ce734b2f77139e6043e9cf6cff6dbfcede (diff)
downloadglibc-1c6d89e9a40302430d5986a09c7cf7594b93143c.zip
glibc-1c6d89e9a40302430d5986a09c7cf7594b93143c.tar.gz
glibc-1c6d89e9a40302430d5986a09c7cf7594b93143c.tar.bz2
Add missing libc_hidden_weak/def calls
* io/read.c (read): Add libc_hidden_weak. * sysdeps/mach/hurd/read.c (read): Likewise. * io/write.c (write): Likewise. * sysdeps/mach/hurd/write.c (write): Likewise. * io/pread64.c (__pread64): Likewise. * sysdeps/mach/hurd/pread64.c (__pread64): Likewise. * posix/pread64.c (__pread64): Add libc_hidden_def.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/hurd/pread64.c1
-rw-r--r--sysdeps/mach/hurd/read.c1
-rw-r--r--sysdeps/mach/hurd/write.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/pread64.c b/sysdeps/mach/hurd/pread64.c
index c4a61c9..9033049 100644
--- a/sysdeps/mach/hurd/pread64.c
+++ b/sysdeps/mach/hurd/pread64.c
@@ -34,5 +34,6 @@ __libc_pread64 (int fd, void *buf, size_t nbytes, off64_t offset)
#ifndef __libc_pread64
weak_alias (__libc_pread64, __pread64)
+libc_hidden_weak (__pread64)
weak_alias (__libc_pread64, pread64)
#endif
diff --git a/sysdeps/mach/hurd/read.c b/sysdeps/mach/hurd/read.c
index 5cef0b4..776a7a5 100644
--- a/sysdeps/mach/hurd/read.c
+++ b/sysdeps/mach/hurd/read.c
@@ -30,3 +30,4 @@ libc_hidden_def (__libc_read)
weak_alias (__libc_read, __read)
libc_hidden_weak (__read)
weak_alias (__libc_read, read)
+libc_hidden_weak (read)
diff --git a/sysdeps/mach/hurd/write.c b/sysdeps/mach/hurd/write.c
index bfa9673..32f4905 100644
--- a/sysdeps/mach/hurd/write.c
+++ b/sysdeps/mach/hurd/write.c
@@ -30,3 +30,4 @@ libc_hidden_def (__libc_write)
weak_alias (__libc_write, __write)
libc_hidden_weak (__write)
weak_alias (__libc_write, write)
+libc_hidden_weak (write)