aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2020-05-10 20:24:33 +0300
committerAndreas K. Hüttel <dilfridge@gentoo.org>2020-05-19 23:06:49 +0300
commit782c17148cc2a663778c03bb6f78412e79593df4 (patch)
treee4167f8e731cab4ddeae8e276f9def531180ce43
parentGentoo: Remove block mistakenly duplicated in 1222895ec55f34a97fb2cbcd80d421e... (diff)
downloadbinutils-gdb-782c17148cc2a663778c03bb6f78412e79593df4.tar.gz
binutils-gdb-782c17148cc2a663778c03bb6f78412e79593df4.tar.bz2
binutils-gdb-782c17148cc2a663778c03bb6f78412e79593df4.zip
Gentoo: Adapt generic test library to our linker settings
-rw-r--r--binutils/testsuite/lib/binutils-common.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/testsuite/lib/binutils-common.exp b/binutils/testsuite/lib/binutils-common.exp
index b9e3c6d817..bb4ef987b3 100644
--- a/binutils/testsuite/lib/binutils-common.exp
+++ b/binutils/testsuite/lib/binutils-common.exp
@@ -1125,7 +1125,7 @@ proc run_dump_test { name {extra_options {}} } {
# Add -L$srcdir/$subdir so that the linker command can use
# linker scripts in the source directory.
- set cmd "$LD $ld_extra_opt $LDFLAGS -L$srcdir/$subdir \
+ set cmd "$LD --hash-style=sysv --no-warn-shared-textrel $ld_extra_opt $LDFLAGS -L$srcdir/$subdir \
$opts(ld) -o $objfile $objfiles $opts(ld_after_inputfiles)"
# If needed then check for, or add a -Map option.