ld testsuite on x86_64 with --enable-shared

These tests fail since 1c9c9b9b55, due to not being able to access
some scripts:
FAIL: Absolute non-overflowing relocs
FAIL: ld-i386/iamcu-1
FAIL: ld-i386/iamcu-2

The problem is that when built with --enable-shared the ld-new
executable sits in a .libs/ directory.

	* Makefile.am (check-DEJAGNU): Set up ldscripts link in .libs.
	* Makefile.in: Regenerate.
This commit is contained in:
Alan Modra 2021-02-04 23:20:42 +10:30
parent 5f40035fb8
commit 554c30abef
2 changed files with 2 additions and 0 deletions

View File

@ -968,6 +968,7 @@ TESTBFDLIB = @TESTBFDLIB@
TESTCTFLIB = @TESTCTFLIB@ TESTCTFLIB = @TESTCTFLIB@
check-DEJAGNU: site.exp check-DEJAGNU: site.exp
(cd .libs; test -e ldscripts || test ! -e ld-new || $(LN_S) ../ldscripts .)
srcroot=`cd $(srcdir) && pwd`; export srcroot; \ srcroot=`cd $(srcdir) && pwd`; export srcroot; \
r=`pwd`; export r; \ r=`pwd`; export r; \
LC_ALL=C; export LC_ALL; \ LC_ALL=C; export LC_ALL; \

View File

@ -2608,6 +2608,7 @@ $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES): $(GEN_DEPENDS)
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emmo.Pc@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emmo.Pc@am__quote@
check-DEJAGNU: site.exp check-DEJAGNU: site.exp
(cd .libs; test -e ldscripts || test ! -e ld-new || $(LN_S) ../ldscripts .)
srcroot=`cd $(srcdir) && pwd`; export srcroot; \ srcroot=`cd $(srcdir) && pwd`; export srcroot; \
r=`pwd`; export r; \ r=`pwd`; export r; \
LC_ALL=C; export LC_ALL; \ LC_ALL=C; export LC_ALL; \