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-10 20:24:33 +0300
commit36d02aaa2e3139e1cef49acfadbd3bccda1e2073 (patch)
treea7c90a63ee66c7e4cb34eb7f30fe382feb7e63d3
parentGentoo: Remove block mistakenly duplicated in 1222895ec55f34a97fb2cbcd80d421e... (diff)
downloadbinutils-gdb-36d02aaa2e3139e1cef49acfadbd3bccda1e2073.tar.gz
binutils-gdb-36d02aaa2e3139e1cef49acfadbd3bccda1e2073.tar.bz2
binutils-gdb-36d02aaa2e3139e1cef49acfadbd3bccda1e2073.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 d5951e62f2c..ff51289e7fc 100644
--- a/binutils/testsuite/lib/binutils-common.exp
+++ b/binutils/testsuite/lib/binutils-common.exp
@@ -1086,7 +1086,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.