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.
This commit is contained in:
H.J. Lu 2020-06-07 14:48:13 -07:00
parent 656e4a22f3
commit 597344c9a4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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" ] \