summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-12-01 15:43:45 -0200
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-12-01 15:47:23 -0200
commit5b7bd9756c8cee01903ac5dd36c965032e5c8477 (patch)
treee6b9fd5c2b576a7d1e214b66bef8decee51ebf59
parentef9ecfa63c85ae5bb558933e710bf2b0a8234f13 (diff)
downloadglibc-5b7bd9756c8cee01903ac5dd36c965032e5c8477.tar.gz
glibc-5b7bd9756c8cee01903ac5dd36c965032e5c8477.tar.xz
glibc-5b7bd9756c8cee01903ac5dd36c965032e5c8477.zip
sparc: Fix sparv9 multiarch build
Fix build caused by 5b4e5e78690c4938de312a8b176f4b14eb7bea4a.

	* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
	due redirect macro.
-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>