This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.26-359-g1c6d89e
- From: sthibaul at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 17 Sep 2017 19:58:03 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.26-359-g1c6d89e
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 1c6d89e9a40302430d5986a09c7cf7594b93143c (commit)
from c207f7ce734b2f77139e6043e9cf6cff6dbfcede (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=1c6d89e9a40302430d5986a09c7cf7594b93143c
commit 1c6d89e9a40302430d5986a09c7cf7594b93143c
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Sun Sep 17 21:57:39 2017 +0200
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.
diff --git a/ChangeLog b/ChangeLog
index 30f425d..48a8b67 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
+
+ * 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.
+
2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
* benchtests/scripts/compare_strings.py: New option -g.
diff --git a/io/read.c b/io/read.c
index 2f7b674..7537dd7 100644
--- a/io/read.c
+++ b/io/read.c
@@ -45,3 +45,4 @@ stub_warning (read)
weak_alias (__libc_read, __read)
libc_hidden_weak (__read)
weak_alias (__libc_read, read)
+libc_hidden_weak (read)
diff --git a/io/write.c b/io/write.c
index cb413c7..931f837 100644
--- a/io/write.c
+++ b/io/write.c
@@ -46,3 +46,4 @@ stub_warning (write)
weak_alias (__libc_write, __write)
libc_hidden_weak (__write)
weak_alias (__libc_write, write)
+libc_hidden_weak (write)
diff --git a/posix/pread64.c b/posix/pread64.c
index c20e75c..9ff06d9 100644
--- a/posix/pread64.c
+++ b/posix/pread64.c
@@ -40,5 +40,6 @@ __libc_pread64 (int fd, void *buf, size_t nbytes, off64_t offset)
return -1;
}
strong_alias (__libc_pread64, __pread64)
+libc_hidden_def (__pread64)
weak_alias (__libc_pread64, pread64)
stub_warning (pread64)
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)
diff --git a/sysdeps/posix/pread64.c b/sysdeps/posix/pread64.c
index f28ef31..68ef9cb 100644
--- a/sysdeps/posix/pread64.c
+++ b/sysdeps/posix/pread64.c
@@ -58,5 +58,6 @@ __libc_pread64 (int fd, void *buf, size_t nbyte, off64_t offset)
#ifndef __libc_pread64
weak_alias (__libc_pread64, __pread64)
+libc_hidden_weak (__pread64)
weak_alias (__libc_pread64, pread64)
#endif
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 10 ++++++++++
io/read.c | 1 +
io/write.c | 1 +
posix/pread64.c | 1 +
sysdeps/mach/hurd/pread64.c | 1 +
sysdeps/mach/hurd/read.c | 1 +
sysdeps/mach/hurd/write.c | 1 +
sysdeps/posix/pread64.c | 1 +
8 files changed, 17 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources