4c1956
commit 80a08d0faa9b224019f895800c4d97de4e23e1aa
4c1956
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
4c1956
Date:   Wed Feb 2 14:03:58 2022 +0000
4c1956
4c1956
    Fix elf/tst-audit25a with default bind now toolchains
4c1956
    
4c1956
    This test relies on lazy binding for the executable so request that
4c1956
    explicitly in case the toolchain defaults to bind now.
4c1956
4c1956
diff --git a/elf/Makefile b/elf/Makefile
4c1956
index 78147ed2dbcaf4c0..4d16ed1637db8582 100644
4c1956
--- a/elf/Makefile
4c1956
+++ b/elf/Makefile
4c1956
@@ -2130,6 +2130,7 @@ $(objpfx)tst-audit25a: $(objpfx)tst-audit25mod1.so \
4c1956
 		       $(objpfx)tst-audit25mod2.so \
4c1956
 		       $(objpfx)tst-audit25mod3.so \
4c1956
 		       $(objpfx)tst-audit25mod4.so
4c1956
+LDFLAGS-tst-audit25a = -Wl,-z,lazy
4c1956
 $(objpfx)tst-audit25mod1.so: $(objpfx)tst-audit25mod3.so
4c1956
 LDFLAGS-tst-audit25mod1.so = -Wl,-z,now
4c1956
 $(objpfx)tst-audit25mod2.so: $(objpfx)tst-audit25mod4.so