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.24-353-g116ae4f
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 8 Nov 2016 23:43:55 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.24-353-g116ae4f
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 116ae4fe5a70d99cf06088f0222a5913996f7f70 (commit)
via 2d5a67dc89ec0e6c1799f0bf3e7eeef817ba3b16 (commit)
via 58d6b0d8655c0d9289527689eea471efc36636e2 (commit)
via 38d84a0f3720e3ed4f628e07ccf4351d1b05a2e6 (commit)
from 3c7f1f59cd1611e0727f9b5ffc32dae78cb05000 (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=116ae4fe5a70d99cf06088f0222a5913996f7f70
commit 116ae4fe5a70d99cf06088f0222a5913996f7f70
Author: Joseph Myers <joseph@codesourcery.com>
Date: Tue Nov 8 23:43:17 2016 +0000
Add localplt.data for sh.
This patch adds a localplt.data file for sh so that test passes. The
architecture-specific entries are for _Unwind_Find_FDE, _exit and
__errno_location.
Tested for sh3 and sh4.
* sysdeps/unix/sysv/linux/sh/localplt.data: New file.
diff --git a/ChangeLog b/ChangeLog
index aa78eba..a4b97cc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2016-11-08 Joseph Myers <joseph@codesourcery.com>
+ * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
+
* sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
* sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
diff --git a/sysdeps/unix/sysv/linux/sh/localplt.data b/sysdeps/unix/sysv/linux/sh/localplt.data
new file mode 100644
index 0000000..57f31c5
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/sh/localplt.data
@@ -0,0 +1,20 @@
+# See scripts/check-localplt.awk for how this file is processed.
+# PLT use is required for the malloc family and for matherr because
+# users can define their own functions and have library internals call them.
+libc.so: calloc
+libc.so: free
+libc.so: malloc
+libc.so: memalign
+libc.so: realloc
+libc.so: _Unwind_Find_FDE
+libc.so: _exit
+libc.so: __errno_location
+libm.so: matherr
+# The dynamic loader uses __libc_memalign internally to allocate aligned
+# TLS storage. The other malloc family of functions are expected to allow
+# user symbol interposition.
+ld.so: __libc_memalign
+ld.so: malloc
+ld.so: calloc
+ld.so: realloc
+ld.so: free
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=2d5a67dc89ec0e6c1799f0bf3e7eeef817ba3b16
commit 2d5a67dc89ec0e6c1799f0bf3e7eeef817ba3b16
Author: Joseph Myers <joseph@codesourcery.com>
Date: Tue Nov 8 23:42:36 2016 +0000
Add localplt.data for hppa.
This patch adds a localplt.data file for hppa so that test passes.
Architecture maintainers should feel free to clean up the sysdeps code
so that some or all of the system-specific entries
libc.so: _exit
libc.so: __sigsetjmp
libc.so: _IO_funlockfile
libc.so: sigprocmask
libc.so: __errno_location
libpthread.so: __errno_location
are no longer needed.
Tested for hppa. Note: check-execstack and check-textrel still fail;
you may wish to look at those to get to a clean baseline there (they
are less obvious for people not familiar with the architecture).
* sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
diff --git a/ChangeLog b/ChangeLog
index a5f4185..aa78eba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2016-11-08 Joseph Myers <joseph@codesourcery.com>
+ * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
+
* sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
calloc, realloc, free, memalign and __libc_memalign rather than
diff --git a/sysdeps/unix/sysv/linux/hppa/localplt.data b/sysdeps/unix/sysv/linux/hppa/localplt.data
new file mode 100644
index 0000000..2a25ebc
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/hppa/localplt.data
@@ -0,0 +1,23 @@
+# See scripts/check-localplt.awk for how this file is processed.
+# PLT use is required for the malloc family and for matherr because
+# users can define their own functions and have library internals call them.
+libc.so: calloc
+libc.so: free
+libc.so: malloc
+libc.so: memalign
+libc.so: realloc
+libc.so: _exit
+libc.so: __sigsetjmp
+libc.so: _IO_funlockfile
+libc.so: sigprocmask
+libc.so: __errno_location
+libm.so: matherr
+libpthread.so: __errno_location
+# The dynamic loader uses __libc_memalign internally to allocate aligned
+# TLS storage. The other malloc family of functions are expected to allow
+# user symbol interposition.
+ld.so: __libc_memalign
+ld.so: malloc
+ld.so: calloc
+ld.so: realloc
+ld.so: free
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=58d6b0d8655c0d9289527689eea471efc36636e2
commit 58d6b0d8655c0d9289527689eea471efc36636e2
Author: Joseph Myers <joseph@codesourcery.com>
Date: Tue Nov 8 23:41:51 2016 +0000
Update alpha localplt.data.
This patch updates alpha localplt.data so the localplt test passes in
my compile-only all-ABIs glibc testing. The failures I see without
this patch are:
Missing required PLT reference: ld.so: __tls_get_addr
Missing required PLT reference: ld.so: free
Now, __tls_get_addr can be made optional. For free, rather than
making it optional as in libc.so it seems better to mark all the
malloc-related symbols in both libc.so and ld.so as allowing an
R_ALPHA_GLOB_DAT relocation as an alternative to using a PLT entry, so
this patch does so.
Tested for alpha.
* sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
calloc, realloc, free, memalign and __libc_memalign rather than
making them optional.
diff --git a/ChangeLog b/ChangeLog
index 27f4417..a5f4185 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2016-11-08 Joseph Myers <joseph@codesourcery.com>
+ * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
+ optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
+ calloc, realloc, free, memalign and __libc_memalign rather than
+ making them optional.
+
* sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
for libc.so.
diff --git a/sysdeps/unix/sysv/linux/alpha/localplt.data b/sysdeps/unix/sysv/linux/alpha/localplt.data
index e2a4311..351596c 100644
--- a/sysdeps/unix/sysv/linux/alpha/localplt.data
+++ b/sysdeps/unix/sysv/linux/alpha/localplt.data
@@ -15,11 +15,11 @@ libc.so: _OtsNeqX ?
libc.so: _OtsNintXQ ?
libc.so: _OtsSubX ?
libc.so: _Unwind_Find_FDE
-libc.so: calloc ?
-libc.so: free ?
-libc.so: malloc ?
-libc.so: memalign ?
-libc.so: realloc ?
+libc.so: calloc + RELA R_ALPHA_GLOB_DAT
+libc.so: free + RELA R_ALPHA_GLOB_DAT
+libc.so: malloc + RELA R_ALPHA_GLOB_DAT
+libc.so: memalign + RELA R_ALPHA_GLOB_DAT
+libc.so: realloc + RELA R_ALPHA_GLOB_DAT
libm.so: matherr
# We used to offer inline functions that used this, so it must be exported.
# Ought to reorg things such that carg isn't thus forced to use a plt.
@@ -27,9 +27,9 @@ libm.so: __atan2
# The dynamic loader needs __tls_get_addr for TLS, and uses __libc_memalign
# internally to allocate aligned TLS storage. The other malloc family of
# functions are expected to allow user symbol interposition.
-ld.so: __tls_get_addr
-ld.so: __libc_memalign
-ld.so: malloc
-ld.so: calloc
-ld.so: realloc
-ld.so: free
+ld.so: __tls_get_addr ?
+ld.so: __libc_memalign + RELA R_ALPHA_GLOB_DAT
+ld.so: malloc + RELA R_ALPHA_GLOB_DAT
+ld.so: calloc + RELA R_ALPHA_GLOB_DAT
+ld.so: realloc + RELA R_ALPHA_GLOB_DAT
+ld.so: free + RELA R_ALPHA_GLOB_DAT
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=38d84a0f3720e3ed4f628e07ccf4351d1b05a2e6
commit 38d84a0f3720e3ed4f628e07ccf4351d1b05a2e6
Author: Joseph Myers <joseph@codesourcery.com>
Date: Tue Nov 8 23:41:05 2016 +0000
Update nios2 localplt.data.
This patch updates nios2 localplt.data so the localplt test passes in
my compile-only all-ABIs glibc testing. A new PLT entry for
__extendsfdf2 is added.
Tested for nios2.
* sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
for libc.so.
diff --git a/ChangeLog b/ChangeLog
index 2b30e11..27f4417 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-11-08 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
+ for libc.so.
+
2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
* nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
diff --git a/sysdeps/unix/sysv/linux/nios2/localplt.data b/sysdeps/unix/sysv/linux/nios2/localplt.data
index 5a0b4d3..6cf93cc 100644
--- a/sysdeps/unix/sysv/linux/nios2/localplt.data
+++ b/sysdeps/unix/sysv/linux/nios2/localplt.data
@@ -25,6 +25,7 @@ libc.so: __floatsidf
libc.so: __divsf3
libc.so: __nedf2
libc.so: __eqdf2
+libc.so: __extendsfdf2
libm.so: matherr
# The dynamic loader uses __libc_memalign internally to allocate aligned
# TLS storage. The other malloc family of functions are expected to allow
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 14 ++++++++++++
sysdeps/unix/sysv/linux/alpha/localplt.data | 22 ++++++++++----------
.../sysv/linux/hppa}/localplt.data | 6 +++++
sysdeps/unix/sysv/linux/nios2/localplt.data | 1 +
.../{generic => unix/sysv/linux/sh}/localplt.data | 3 ++
5 files changed, 35 insertions(+), 11 deletions(-)
copy sysdeps/{generic => unix/sysv/linux/hppa}/localplt.data (80%)
copy sysdeps/{generic => unix/sysv/linux/sh}/localplt.data (89%)
hooks/post-receive
--
GNU C Library master sources