aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sparc/sparc-mcount.S
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2016-08-05 22:35:01 +0200
committerAurelien Jarno <aurelien@aurel32.net>2016-08-15 00:29:30 +0200
commit0ba4a7522b9491ad32713ab87990e627ef196de4 (patch)
tree58b816164a63a089e58728e65aebc24b894ca286 /sysdeps/sparc/sparc-mcount.S
parentb3012e4d56e63dd4b1eecf9f006c77b0f1d6939a (diff)
downloadglibc-0ba4a7522b9491ad32713ab87990e627ef196de4.tar
glibc-0ba4a7522b9491ad32713ab87990e627ef196de4.tar.gz
glibc-0ba4a7522b9491ad32713ab87990e627ef196de4.tar.bz2
glibc-0ba4a7522b9491ad32713ab87990e627ef196de4.zip
sparc: remove fdim sparc specific implementations
The fdim and fdimf functions on sparc do not fully follow the standard and do not set errno to ERANGE when the result overflows. Since glibc 2.24 this causes the two following tests to fail: Failure: fdim (max_value, -max_value): errno set to 0, expected 34 (ERANGE) Failure: fdim_upward (max_value, -max_value): errno set to 0, expected 34 (ERANGE) It happens that using GCC with the generic C code generates very similar code to the sparc specific implementations. Therefore this patches remove them. Note it might still worth adding a vis3 specific version of fdim on sparc32/sparcv9, this is done in a following patch to ease backporting. Changelog: * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines): Remove s_fdimf-vis3, s_fdim-vis3. * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file. * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise. * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise. * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise. (cherry picked from commit 8a9f4eb95894eae7e725e79721ba26fbc5b4ed06)
Diffstat (limited to 'sysdeps/sparc/sparc-mcount.S')
0 files changed, 0 insertions, 0 deletions