aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/binutils/patches/2.34/300-001_ld_makefile_patch.patch
diff options
context:
space:
mode:
authorDaniel Engberg <daniel.engberg.lists@pyret.net>2020-02-03 15:30:06 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2020-02-22 16:38:41 +0100
commit53470bdf3212136df06a26d33377059eb56b09eb (patch)
tree3f44c13912daa0fabd710b73c51b763ec8c74b4f /toolchain/binutils/patches/2.34/300-001_ld_makefile_patch.patch
parentf0864cb31be59c550625379d3f60aa1b61743b4f (diff)
downloadupstream-53470bdf3212136df06a26d33377059eb56b09eb.tar.gz
upstream-53470bdf3212136df06a26d33377059eb56b09eb.tar.bz2
upstream-53470bdf3212136df06a26d33377059eb56b09eb.zip
toolchain/binutils: Add binutils 2.34
Refresh patches Drop 300-012_check_ldrunpath_length.patch Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Diffstat (limited to 'toolchain/binutils/patches/2.34/300-001_ld_makefile_patch.patch')
-rw-r--r--toolchain/binutils/patches/2.34/300-001_ld_makefile_patch.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/toolchain/binutils/patches/2.34/300-001_ld_makefile_patch.patch b/toolchain/binutils/patches/2.34/300-001_ld_makefile_patch.patch
new file mode 100644
index 0000000000..dcffe00941
--- /dev/null
+++ b/toolchain/binutils/patches/2.34/300-001_ld_makefile_patch.patch
@@ -0,0 +1,22 @@
+--- a/ld/Makefile.am
++++ b/ld/Makefile.am
+@@ -63,7 +63,7 @@ endif
+ # We put the scripts in the directory $(scriptdir)/ldscripts.
+ # We can't put the scripts in $(datadir) because the SEARCH_DIR
+ # directives need to be different for native and cross linkers.
+-scriptdir = $(tooldir)/lib
++scriptdir = $(libdir)
+
+ EMUL = @EMUL@
+ EMULATION_OFILES = @EMULATION_OFILES@
+--- a/ld/Makefile.in
++++ b/ld/Makefile.in
+@@ -572,7 +572,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS)
+ # We put the scripts in the directory $(scriptdir)/ldscripts.
+ # We can't put the scripts in $(datadir) because the SEARCH_DIR
+ # directives need to be different for native and cross linkers.
+-scriptdir = $(tooldir)/lib
++scriptdir = $(libdir)
+ BASEDIR = $(srcdir)/..
+ BFDDIR = $(BASEDIR)/bfd
+ INCDIR = $(BASEDIR)/include