]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix elf/tst-audit25a with default bind now toolchains codonell/ld-audit
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Wed, 2 Feb 2022 14:03:58 +0000 (14:03 +0000)
committerCarlos O'Donell <carlos@redhat.com>
Tue, 29 Mar 2022 21:02:51 +0000 (17:02 -0400)
This test relies on lazy binding for the executable so request that
explicitly in case the toolchain defaults to bind now.

(cherry picked from commit 80a08d0faa9b224019f895800c4d97de4e23e1aa)

elf/Makefile

index 8a524a7f6a4876fdbdbb7b7e408d3f259013b0ae..89021fb4dce6269b33a30132371842f72f5fcee2 100644 (file)
@@ -2089,6 +2089,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