aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-06-07 14:48:13 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-06-07 14:50:01 -0700
commit597344c9a4a110b662ed04fe115e6f887b42d366 (patch)
tree95f23ade81b59a20f308f3889c591c006514b0df /ld/testsuite/ld-elf
parent656e4a22f37255dbc86c17c4e61ef2d5324e8cd4 (diff)
downloadgdb-597344c9a4a110b662ed04fe115e6f887b42d366.zip
gdb-597344c9a4a110b662ed04fe115e6f887b42d366.tar.gz
gdb-597344c9a4a110b662ed04fe115e6f887b42d366.tar.bz2
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.
Diffstat (limited to 'ld/testsuite/ld-elf')
-rw-r--r--ld/testsuite/ld-elf/shared.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-elf/shared.exp b/ld/testsuite/ld-elf/shared.exp
index 20ed2c2..effa3ab 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" ] \