Enhance tst-xmmymm.sh to detect zmm register usage in ld.so (BZ #16194)
[glibc.git] / sysdeps / x86 / Makefile
blob087bbdeca04accd0e7016ad1669b2d87be84a7c4
1 ifeq ($(subdir),elf)
2 CFLAGS-.os += $(if $(filter $(@F),$(patsubst %,%.os,$(all-rtld-routines))),\
3 -mno-sse -mno-mmx)
5 tests-special += $(objpfx)tst-ld-sse-use.out
6 $(objpfx)tst-ld-sse-use.out: ../sysdeps/x86/tst-ld-sse-use.sh $(objpfx)ld.so
7 @echo "Checking ld.so for SSE register use. This will take a few seconds..."
8 $(SHELL) $< $(objpfx) '$(NM)' '$(OBJDUMP)' '$(READELF)' > $@; \
9 $(evaluate-test)
10 endif