about summary refs log tree commit diff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-11-02 01:15:07 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-11-07 13:50:08 -0800
commiteb48db7e890b23057d8684ab85460a08ea540785 (patch)
tree71d4fffd3dd4a4fc3f59cca5b289b75b403638b9
parentc4b6cf53d5478d0948f0c4426256123dbdf49264 (diff)
downloadglibc-eb48db7e890b23057d8684ab85460a08ea540785.tar.gz
glibc-eb48db7e890b23057d8684ab85460a08ea540785.tar.xz
glibc-eb48db7e890b23057d8684ab85460a08ea540785.zip
Also run tst-xmmymm.sh on i386 ld.so
-rw-r--r--ChangeLog7
-rw-r--r--sysdeps/x86/Makefile5
-rwxr-xr-xsysdeps/x86/tst-xmmymm.sh (renamed from sysdeps/x86_64/tst-xmmymm.sh)0
-rw-r--r--sysdeps/x86_64/Makefile5
4 files changed, 12 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index e89b69a2f3..cac1a7ede8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
+	* sysdeps/x86/Makefile: Here.
+	* sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
+	* sysdeps/x86/tst-xmmymm.sh: This.
+
 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
 
 	* conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
diff --git a/sysdeps/x86/Makefile b/sysdeps/x86/Makefile
index f25d1e2415..086054ff09 100644
--- a/sysdeps/x86/Makefile
+++ b/sysdeps/x86/Makefile
@@ -1,4 +1,9 @@
 ifeq ($(subdir),elf)
 CFLAGS-.os += $(if $(filter $(@F),$(patsubst %,%.os,$(all-rtld-routines))),\
 		   -mno-sse -mno-mmx)
+
+tests: $(objpfx)tst-xmmymm.out
+$(objpfx)tst-xmmymm.out: ../sysdeps/x86/tst-xmmymm.sh $(objpfx)ld.so
+	@echo "Checking ld.so for SSE register use.  This will take a few seconds..."
+	$(SHELL) $< $(objpfx) > $@
 endif
diff --git a/sysdeps/x86_64/tst-xmmymm.sh b/sysdeps/x86/tst-xmmymm.sh
index 64efc6e021..64efc6e021 100755
--- a/sysdeps/x86_64/tst-xmmymm.sh
+++ b/sysdeps/x86/tst-xmmymm.sh
diff --git a/sysdeps/x86_64/Makefile b/sysdeps/x86_64/Makefile
index 0acb69a17f..78c98e7c5e 100644
--- a/sysdeps/x86_64/Makefile
+++ b/sysdeps/x86_64/Makefile
@@ -37,11 +37,6 @@ tests-pie += $(quad-pie-test)
 
 $(objpfx)tst-quad1pie: $(objpfx)tst-quadmod1pie.o
 $(objpfx)tst-quad2pie: $(objpfx)tst-quadmod2pie.o
-
-tests: $(objpfx)tst-xmmymm.out
-$(objpfx)tst-xmmymm.out: ../sysdeps/x86_64/tst-xmmymm.sh $(objpfx)ld.so
-	@echo "Checking ld.so for SSE register use.  This will take a few seconds..."
-	$(SHELL) $< $(objpfx) > $@
 endif
 
 ifeq ($(subdir),csu)