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