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