[PATCH] Fix elf/tst-audit25a with default bind now toolchains
Szabolcs Nagy
szabolcs.nagy@arm.com
Wed Feb 2 14:08:34 GMT 2022
This test relies on lazy binding for the executable so request that
explicitly in case the toolchain defaults to bind now.
---
elf/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/elf/Makefile b/elf/Makefile
index e380b26d8a..5bdf0a383d 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -2227,6 +2227,7 @@ $(objpfx)tst-audit25a: $(objpfx)tst-audit25mod1.so \
$(objpfx)tst-audit25mod2.so \
$(objpfx)tst-audit25mod3.so \
$(objpfx)tst-audit25mod4.so
+LDFLAGS-tst-audit25a = -Wl,-z,lazy
$(objpfx)tst-audit25mod1.so: $(objpfx)tst-audit25mod3.so
LDFLAGS-tst-audit25mod1.so = -Wl,-z,now
$(objpfx)tst-audit25mod2.so: $(objpfx)tst-audit25mod4.so
--
2.25.1
More information about the Libc-alpha
mailing list