summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 95f4f0356e..27d267c5ed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+	* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
+	due redirect macro.
+
 2017-12-01  Andreas Schwab  <schwab@linux-m68k.org>
 
 	* intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
diff --git a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c
index 947ecc5e52..fe9b93ce71 100644
--- a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c
+++ b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c
@@ -18,8 +18,8 @@
 
 #define __copysign __redirect_copysign
 #include <math.h>
-#undef __copysign
 #include <math_ldbl_opt.h>
+#undef __copysign
 #include <libm-alias-double.h>
 #include <sparc-ifunc.h>