summaryrefslogtreecommitdiff
path: root/patches/binutils/2.26/300-001_ld_makefile_patch.patch
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2016-02-05 07:50:19 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2016-02-05 07:50:19 (GMT)
commit46c9c486d02953deb130c427fce1286498f285ff (patch)
tree34fec4c2080db23b90fb05c7d9ba93481e7fe7c8 /patches/binutils/2.26/300-001_ld_makefile_patch.patch
parent2241a42415767f55eb5ab0f62b7dfa722bab3c11 (diff)
binutils: Update patches for binutils-2.26
This updates patches for 2.26. Most notably, the removal of the xtensa patches which seem to be upstream in binutils now. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Diffstat (limited to 'patches/binutils/2.26/300-001_ld_makefile_patch.patch')
-rw-r--r--patches/binutils/2.26/300-001_ld_makefile_patch.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/patches/binutils/2.26/300-001_ld_makefile_patch.patch b/patches/binutils/2.26/300-001_ld_makefile_patch.patch
new file mode 100644
index 0000000..2a1320c
--- /dev/null
+++ b/patches/binutils/2.26/300-001_ld_makefile_patch.patch
@@ -0,0 +1,26 @@
+diff --git a/ld/Makefile.am b/ld/Makefile.am
+index 9575f1f..84df0bf 100644
+--- a/ld/Makefile.am
++++ b/ld/Makefile.am
+@@ -54,7 +54,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@
+diff --git a/ld/Makefile.in b/ld/Makefile.in
+index 9f56ca1..272860f 100644
+--- a/ld/Makefile.in
++++ b/ld/Makefile.in
+@@ -388,7 +388,7 @@ AM_CFLAGS = $(WARN_CFLAGS)
+ # 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