LDFLAGS-tst-ifunc-fault-lazy = -Wl,-z,lazy
LDFLAGS-tst-ifunc-fault-bindnow = -Wl,-z,now
define tst-ifunc-fault-script
-( $(objpfx)ld.so --verify --library-path $(objpfx) $^ \
- && LD_TRACE_LOADED_OBJECTS=1 $(objpfx)ld.so --library-path $(objpfx) $^ \
- && LD_TRACE_LOADED_OBJECTS=1 LD_DEBUG=unused \
- $(objpfx)ld.so --library-path $(objpfx) $^ \
+( $(rtld-prefix) --verify $^ \
+ && LD_TRACE_LOADED_OBJECTS=1 $(rtld-prefix) $^ \
+ && 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