aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-02-04 23:20:42 +1030
committerAlan Modra <amodra@gmail.com>2021-02-05 14:14:17 +1030
commit554c30abef121199d3b43061538c8233c8b33526 (patch)
treebf6f4ce2c587b118ab52c22d0f3696f60a67f004 /ld
parent5f40035fb87b3a98a5834e4fed1e7e9c1f7807e5 (diff)
downloadgdb-554c30abef121199d3b43061538c8233c8b33526.zip
gdb-554c30abef121199d3b43061538c8233c8b33526.tar.gz
gdb-554c30abef121199d3b43061538c8233c8b33526.tar.bz2
ld testsuite on x86_64 with --enable-shared
These tests fail since 1c9c9b9b5552, 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.
Diffstat (limited to 'ld')
-rw-r--r--ld/Makefile.am1
-rw-r--r--ld/Makefile.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/ld/Makefile.am b/ld/Makefile.am
index 2c9a487..3f5f270 100644
--- a/ld/Makefile.am
+++ b/ld/Makefile.am
@@ -968,6 +968,7 @@ TESTBFDLIB = @TESTBFDLIB@
TESTCTFLIB = @TESTCTFLIB@
check-DEJAGNU: site.exp
+ (cd .libs; test -e ldscripts || test ! -e ld-new || $(LN_S) ../ldscripts .)
srcroot=`cd $(srcdir) && pwd`; export srcroot; \
r=`pwd`; export r; \
LC_ALL=C; export LC_ALL; \
diff --git a/ld/Makefile.in b/ld/Makefile.in
index ab8f23a..e50dffe 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -2608,6 +2608,7 @@ $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES): $(GEN_DEPENDS)
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emmo.Pc@am__quote@
check-DEJAGNU: site.exp
+ (cd .libs; test -e ldscripts || test ! -e ld-new || $(LN_S) ../ldscripts .)
srcroot=`cd $(srcdir) && pwd`; export srcroot; \
r=`pwd`; export r; \
LC_ALL=C; export LC_ALL; \