summaryrefslogtreecommitdiff
path: root/9999
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-07-06 07:56:04 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2021-07-06 08:02:43 +0100
commit1e1ee03c239f2b763a1a37f864f6cb420a5487f0 (patch)
tree85be0038f44a1c15516209fa399b39a42e2ce8ab /9999
parent9999: refresh 0007-...-ld-enable-new-dtags-...patch (diff)
downloadbinutils-patches-1e1ee03c239f2b763a1a37f864f6cb420a5487f0.tar.gz
binutils-patches-1e1ee03c239f2b763a1a37f864f6cb420a5487f0.tar.bz2
binutils-patches-1e1ee03c239f2b763a1a37f864f6cb420a5487f0.zip
9999: refresh 0009-...-Pass-hash-style-sysv-...patch
Closes: https://bugs.gentoo.org/800254 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to '9999')
-rw-r--r--9999/0009-Gentoo-Pass-hash-style-sysv.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/9999/0009-Gentoo-Pass-hash-style-sysv.patch b/9999/0009-Gentoo-Pass-hash-style-sysv.patch
index 8ebb911..7610d78 100644
--- a/9999/0009-Gentoo-Pass-hash-style-sysv.patch
+++ b/9999/0009-Gentoo-Pass-hash-style-sysv.patch
@@ -14,13 +14,13 @@ index b9e3c6d817..bb4ef987b3 100644
+++ 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 $ld_extra_opt $LDFLAGS -L$srcdir/$subdir \
+ # 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 $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.
+ # If needed then check for, or add a -Map option.
diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp
index 015eda6eb9..0b945b539d 100644
--- a/ld/testsuite/lib/ld-lib.exp