summaryrefslogtreecommitdiff
path: root/sysdeps/x86/Makefile
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 /sysdeps/x86/Makefile
parentc4b6cf53d5478d0948f0c4426256123dbdf49264 (diff)
Also run tst-xmmymm.sh on i386 ld.so
Diffstat (limited to 'sysdeps/x86/Makefile')
-rw-r--r--sysdeps/x86/Makefile5
1 files changed, 5 insertions, 0 deletions
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