aboutsummaryrefslogtreecommitdiff
path: root/ld
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
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')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/testsuite/ld-elf/shared.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 995d527..59de955 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,10 @@
2020-06-07 H.J. Lu <hongjiu.lu@intel.com>
+ * testsuite/ld-elf/shared.exp: Pass $LFLAGS to PR ld/21703
+ shared test.
+
+2020-06-07 H.J. Lu <hongjiu.lu@intel.com>
+
* testsuite/ld-elf/shared.exp: Xfail pr20995/pr20995-2 for
tic6x-*-*.
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" ] \