]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update nios2, sparc32 localplt.data for difftime changes (bug 24023).
authorJoseph Myers <joseph@codesourcery.com>
Fri, 21 Dec 2018 19:02:23 +0000 (19:02 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 21 Dec 2018 19:02:23 +0000 (19:02 +0000)
The recent difftime changes introduced localplt test failures on nios2
and sparc32, two configurations where some soft-fp functions are
defined in / exported from libc.so, and where the difftime changes
affected the particular set of floating-point operations used in
libc.so.  This patch adds those functions to localplt.data, alongside
other such functions already there.  (In the sparc32 case, and more
generally on any platform where long double is a software
floating-point type, it would probably be more efficient to avoid
using long double at all in difftime, but that's a pre-existing
issue.)

Tested with build-many-glibcs.py for its nios2 and sparcv9
configurations.

[BZ #24023]
* sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
PLT reference in libc.so.
* sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
_Q_lltoq and _Q_qtod PLT references in libc.so.

ChangeLog
sysdeps/unix/sysv/linux/nios2/localplt.data
sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data

index fc7ce6e72f231eb946ae524731abcf44f04598ef..881808dead2a831537fdfeaf1a63cc25249f0a2a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2018-12-21  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #24023]
+       * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
+       PLT reference in libc.so.
+       * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
+       _Q_lltoq and _Q_qtod PLT references in libc.so.
+
 2018-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
 
        * benchtests/bench-memchr.c: Cleanup defines.
index 4430a5891e847aedc0d9c996dd8e63d1668ee7db..3805ed56b9eabc917ef12c78668a551b89ef7508 100644 (file)
@@ -26,6 +26,7 @@ libc.so: __divsf3
 libc.so: __nedf2
 libc.so: __eqdf2
 libc.so: __extendsfdf2
+libc.so: __floatundidf ?
 libm.so: matherr
 # The main malloc is interposed into the dynamic linker, for
 # allocations after the initial link (when dlopen is used).
index 1668f4017e0f28f0748f3027f6aeea3ea0c7fd91..6bf10ff8581107a5796325c8dd413a7fd9e7ffac 100644 (file)
@@ -8,8 +8,10 @@ libc.so: _Q_fle ?
 libc.so: _Q_flt ?
 libc.so: _Q_fne ?
 libc.so: _Q_itoq ?
+libc.so: _Q_lltoq ?
 libc.so: _Q_mul ?
 libc.so: _Q_sub ?
+libc.so: _Q_qtod ?
 libc.so: _Unwind_Find_FDE
 libc.so: calloc
 libc.so: free