about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--sysdeps/sparc/sparc64/multiarch/Makefile3
2 files changed, 5 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 21fb09b937..94f56c33e7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -28,9 +28,9 @@
 
 2013-01-11  David S. Miller  <davem@davemloft.net>
 
-	* math/Makefile: Recognize gmp-sysdep_routines.
-	* sysdeps/sparc/sparc64/multiarch/Makefile: Add VIS3 optimized GMP routines
-	to sysdeps.
+	* math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
+	* sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
+	(gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
 	* sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
 	* sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
 	* sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
diff --git a/sysdeps/sparc/sparc64/multiarch/Makefile b/sysdeps/sparc/sparc64/multiarch/Makefile
index 111ed5f115..55b757f9ad 100644
--- a/sysdeps/sparc/sparc64/multiarch/Makefile
+++ b/sysdeps/sparc/sparc64/multiarch/Makefile
@@ -16,5 +16,6 @@ sysdep_routines += mul_1-vis3 addmul_1-vis3 submul_1-vis3 add_n-vis3 sub_n-vis3
 endif
 
 ifeq ($(subdir),math)
-gmp-sysdep_routines = mul_1-vis3 addmul_1-vis3 submul_1-vis3 add_n-vis3 sub_n-vis3
+gmp-sysdep_routines = mul_1-vis3 addmul_1-vis3 submul_1-vis3 add_n-vis3 \
+		      sub_n-vis3
 endif