diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-09-12 12:31:05 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-09-12 12:31:05 +0530 |
commit | 5379aebddd0a35c052e7149fb4ff88b49676516e (patch) | |
tree | 96b4a224f7b88f8ffc7c68705a2bfd32e7ed8d17 /sysdeps/x86/Makefile | |
parent | 8c0ab919f63dc03a420751172602a52d2bea59a8 (diff) | |
download | glibc-5379aebddd0a35c052e7149fb4ff88b49676516e.tar glibc-5379aebddd0a35c052e7149fb4ff88b49676516e.tar.gz glibc-5379aebddd0a35c052e7149fb4ff88b49676516e.tar.bz2 glibc-5379aebddd0a35c052e7149fb4ff88b49676516e.zip |
Enhance tst-xmmymm.sh to detect zmm register usage in ld.so (BZ #16194)
2d63a517e4084ec80403cd9f278690fa8b676cc4 added support to save and
restore zmm register in the dynamic linker, but did not enhance
test-xmmymm.sh to detect accidental usage of these registers. The
patch below adds that check.
The script has also been renamed to tst-ld-sse-use.sh. To see the
minimal changes, run `git show -M`.
[BZ #16194]
* sysdeps/x86/tst-xmmymm.sh: Rename file to...
* sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
register usage.
* sysdeps/x86/Makefile: Adjust.
Diffstat (limited to 'sysdeps/x86/Makefile')
-rw-r--r-- | sysdeps/x86/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/x86/Makefile b/sysdeps/x86/Makefile index a96c8bd0b2..087bbdeca0 100644 --- a/sysdeps/x86/Makefile +++ b/sysdeps/x86/Makefile @@ -2,8 +2,8 @@ ifeq ($(subdir),elf) CFLAGS-.os += $(if $(filter $(@F),$(patsubst %,%.os,$(all-rtld-routines))),\ -mno-sse -mno-mmx) -tests-special += $(objpfx)tst-xmmymm.out -$(objpfx)tst-xmmymm.out: ../sysdeps/x86/tst-xmmymm.sh $(objpfx)ld.so +tests-special += $(objpfx)tst-ld-sse-use.out +$(objpfx)tst-ld-sse-use.out: ../sysdeps/x86/tst-ld-sse-use.sh $(objpfx)ld.so @echo "Checking ld.so for SSE register use. This will take a few seconds..." $(SHELL) $< $(objpfx) '$(NM)' '$(OBJDUMP)' '$(READELF)' > $@; \ $(evaluate-test) |