about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2016-06-30 16:06:10 +0200
committerAurelien Jarno <aurelien@aurel32.net>2016-07-01 14:47:20 +0200
commitbbe472f4e02c18f998d8e327f4a0e7c5004c8010 (patch)
tree419dcac78b2cb28b35fdee4caeba7beda29525bf
parent0903610fdc31efbea4309f69e5ee3e1d4f7ed29e (diff)
downloadglibc-bbe472f4e02c18f998d8e327f4a0e7c5004c8010.tar.gz
glibc-bbe472f4e02c18f998d8e327f4a0e7c5004c8010.tar.xz
glibc-bbe472f4e02c18f998d8e327f4a0e7c5004c8010.zip
SPARC64: update localplt.data
Commits d81f90cc and 89faa0340 replaced called to __isnan and __isinf
by the corresponding GCC builtins. In turns GCC emits calls to _Qp_cmp.
We should therefore add _Qp_cmp to localplt.data as otherwise the
elf/check-localplt test fails with:

   Extra PLT reference: libc.so: _Qp_cmp

A similar change has already been done for SPARC32 in commit 6ef1cb95.

Changelog:
	* sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.

(cherry picked from commit fd1cf1dc3b2d90c2a61332363feb1043f6916564)
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3c8315f88f..4310cc0dd3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
+
+	* sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
+
 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
 
 	[BZ #20277]
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data b/sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data
index 633cfe4493..2323551f63 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data
@@ -1,4 +1,5 @@
 libc.so: _Qp_add ?
+libc.so: _Qp_cmp ?
 libc.so: _Qp_div ?
 libc.so: _Qp_feq ?
 libc.so: _Qp_fge ?