aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2022-02-02 14:03:58 +0000
committerCarlos O'Donell <carlos@redhat.com>2022-03-29 17:02:51 -0400
commit529cfa039a3d287cc94c9efc61afac406cf70e4e (patch)
tree724c680dd4964d3403979afb175c5d6e3b79ceff
parentb7f913c052ec1349a3f27e2302cc81380f67a218 (diff)
downloadglibc-codonell/ld-audit.tar
glibc-codonell/ld-audit.tar.gz
glibc-codonell/ld-audit.tar.bz2
glibc-codonell/ld-audit.zip
Fix elf/tst-audit25a with default bind now toolchainscodonell/ld-audit
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)
-rw-r--r--elf/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 8a524a7f6a..89021fb4dc 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -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