diff options
author | Joseph Myers <joseph@codesourcery.com> | 2018-12-21 19:02:23 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2018-12-21 19:02:23 +0000 |
commit | 57b3ff8e1a4ca8118c5d9a47584e6e0ce6f7002f (patch) | |
tree | 1d85712ecdd213cb60ca418cb434ace1be244906 | |
parent | 90d3320d7f57fae3d2f89d907e8307b6a76d133d (diff) | |
download | glibc-57b3ff8e1a4ca8118c5d9a47584e6e0ce6f7002f.tar glibc-57b3ff8e1a4ca8118c5d9a47584e6e0ce6f7002f.tar.gz glibc-57b3ff8e1a4ca8118c5d9a47584e6e0ce6f7002f.tar.bz2 glibc-57b3ff8e1a4ca8118c5d9a47584e6e0ce6f7002f.zip |
Update nios2, sparc32 localplt.data for difftime changes (bug 24023).
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.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/nios2/localplt.data | 1 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data | 2 |
3 files changed, 11 insertions, 0 deletions
@@ -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. diff --git a/sysdeps/unix/sysv/linux/nios2/localplt.data b/sysdeps/unix/sysv/linux/nios2/localplt.data index 4430a5891e..3805ed56b9 100644 --- a/sysdeps/unix/sysv/linux/nios2/localplt.data +++ b/sysdeps/unix/sysv/linux/nios2/localplt.data @@ -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). diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data b/sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data index 1668f4017e..6bf10ff858 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data @@ -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 |