about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-06-09 16:26:06 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-06-09 16:26:06 +0000
commit10d33c5a86ad585cea745df7eef60bd80bb154cf (patch)
treed98dfe8c95403d236d9fc8643b05696a210a849f
parentb85995291e8db20bb08a64f409268ce7ffb7ed93 (diff)
downloadglibc-10d33c5a86ad585cea745df7eef60bd80bb154cf.tar.gz
glibc-10d33c5a86ad585cea745df7eef60bd80bb154cf.tar.xz
glibc-10d33c5a86ad585cea745df7eef60bd80bb154cf.zip
Update nios2, sparc32 localplt.data files for recent GCC change.
A recent GCC change to expand floating-point classification built-in
functions inline using integer rather than floating-point arithmetic
in some cases resulted in localplt test failures for nios2 and sparc32
<https://sourceware.org/ml/libc-testresults/2017-q2/msg00320.html>.
This patch updates the localplt.data files in question to mark the
relevant symbols as optional / add a new optional symbol.  (The GCC
patch has been reverted because of other problems it caused, but one
can assume it will be applied again, without changes that would affect
the PLT entries generated, once those issues have been resolved.)

Tested with build-many-glibcs.py.

	* sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
	libc.so PLT entry optional.
	(__gtsf2): Likewise.
	(__unorddf2): Likewise.
	(__unordsf2): Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
	New optional libc.so PLT entry.
-rw-r--r--ChangeLog8
-rw-r--r--sysdeps/unix/sysv/linux/nios2/localplt.data8
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data1
3 files changed, 13 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 29f3dab401..c72917021e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2017-06-09  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
+	libc.so PLT entry optional.
+	(__gtsf2): Likewise.
+	(__unorddf2): Likewise.
+	(__unordsf2): Likewise.
+	* sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
+	New optional libc.so PLT entry.
+
 	[BZ #21554]
 	* signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
 	not [__USE_XOPEN].
diff --git a/sysdeps/unix/sysv/linux/nios2/localplt.data b/sysdeps/unix/sysv/linux/nios2/localplt.data
index 584963d202..b0d6dcae55 100644
--- a/sysdeps/unix/sysv/linux/nios2/localplt.data
+++ b/sysdeps/unix/sysv/linux/nios2/localplt.data
@@ -1,10 +1,10 @@
 libc.so: realloc
 libc.so: __floatsisf
-libc.so: __gtdf2
+libc.so: __gtdf2 ?
 libc.so: __ltdf2
 libc.so: __gedf2
 libc.so: malloc
-libc.so: __gtsf2
+libc.so: __gtsf2 ?
 libc.so: __nesf2
 libc.so: memalign
 libc.so: __mulsf3
@@ -12,10 +12,10 @@ libc.so: __floatunsisf
 libc.so: __addsf3
 libc.so: __fixsfsi
 libc.so: __subsf3
-libc.so: __unorddf2
+libc.so: __unorddf2 ?
 libc.so: calloc
 libc.so: __muldf3
-libc.so: __unordsf2
+libc.so: __unordsf2 ?
 libc.so: free
 libc.so: __subdf3
 libc.so: __ledf2
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data b/sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data
index c9786fd6ea..2f6ff3c3a6 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data
@@ -3,6 +3,7 @@ libc.so: _Q_cmp ?
 libc.so: _Q_div ?
 libc.so: _Q_feq ?
 libc.so: _Q_fge ?
+libc.so: _Q_fgt ?
 libc.so: _Q_fle ?
 libc.so: _Q_flt ?
 libc.so: _Q_fne ?