diff options
author | Joseph Myers <joseph@codesourcery.com> | 2020-01-23 14:34:16 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2020-01-23 14:34:59 +0000 |
commit | 00167b531da63674d6b9ed686912de86422a5ae5 (patch) | |
tree | e0c758a859ad359cdda75eee7d6adf1b48444d6b /elf/Makefile | |
parent | de077de10f0ac140fdced24781370967f9e5610f (diff) | |
download | glibc-00167b531da63674d6b9ed686912de86422a5ae5.tar.gz glibc-00167b531da63674d6b9ed686912de86422a5ae5.tar.xz glibc-00167b531da63674d6b9ed686912de86422a5ae5.zip |
Fix cross-testing of tst-ifunc-fault-* tests.
The tests elf/tst-ifunc-fault-bindnow and elf/tst-ifunc-fault-lazy fail in cross-testing because they run the dynamic linker directly without using the test wrapper. This patch fixes them to use the test wrapper instead. Tested that this fixes the failure of those two tests for powerpc soft-float.
Diffstat (limited to 'elf/Makefile')
-rw-r--r-- | elf/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/elf/Makefile b/elf/Makefile index 6c62ed611c..0c6bd926a1 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -1378,9 +1378,10 @@ $(objpfx)ifuncmain5picstatic: $(addprefix $(objpfx),ifuncdep5pic.o) LDFLAGS-tst-ifunc-fault-lazy = -Wl,-z,lazy LDFLAGS-tst-ifunc-fault-bindnow = -Wl,-z,now define tst-ifunc-fault-script -( $(rtld-prefix) --verify $^ \ - && LD_TRACE_LOADED_OBJECTS=1 $(rtld-prefix) $^ \ - && LD_TRACE_LOADED_OBJECTS=1 LD_DEBUG=unused $(rtld-prefix) $^ \ +( $(test-wrapper) $(rtld-prefix) --verify $^ \ + && $(test-wrapper-env) LD_TRACE_LOADED_OBJECTS=1 $(rtld-prefix) $^ \ + && $(test-wrapper-env) LD_TRACE_LOADED_OBJECTS=1 LD_DEBUG=unused \ + $(rtld-prefix) $^ \ ) > $@; $(evaluate-test) endef $(objpfx)tst-ifunc-fault-lazy.out: $(objpfx)tst-ifunc-fault-lazy $(objpfx)ld.so |