From 597344c9a4a110b662ed04fe115e6f887b42d366 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sun, 7 Jun 2020 14:48:13 -0700 Subject: [PATCH] ld: Pass $LFLAGS to PR ld/21703 shared test $LFLAGS is needed for -shared test. This fixes FAIL: PR ld/21703 shared for tic6x-*-elf. * testsuite/ld-elf/shared.exp: Pass $LFLAGS to PR ld/21703 shared test. --- ld/ChangeLog | 5 +++++ ld/testsuite/ld-elf/shared.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 995d527d75c..59de955076b 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2020-06-07 H.J. Lu + + * testsuite/ld-elf/shared.exp: Pass $LFLAGS to PR ld/21703 + shared test. + 2020-06-07 H.J. Lu * testsuite/ld-elf/shared.exp: Xfail pr20995/pr20995-2 for diff --git a/ld/testsuite/ld-elf/shared.exp b/ld/testsuite/ld-elf/shared.exp index 20ed2c217b3..effa3ab376f 100644 --- a/ld/testsuite/ld-elf/shared.exp +++ b/ld/testsuite/ld-elf/shared.exp @@ -390,7 +390,7 @@ run_ld_link_tests [list \ # Nor will hppa64 with dot-symbols. run_ld_link_tests [list \ [list "PR ld/21703 shared" \ - "-shared --allow-multiple-definition --version-script pr21703.ver\ + "$LFLAGS -shared --allow-multiple-definition --version-script pr21703.ver\ tmpdir/pr21703-3.o tmpdir/pr21703-4.o" "" "$AFLAGS_PIC" \ {pr21703-3.s pr21703-4.s} {{readelf {--dyn-syms} pr21703-shared.sd}} \ "pr21703.so" ] \ -- 2.30.2