summaryrefslogtreecommitdiff
path: root/packages/binutils/2.23.2/0001-ld_makefile_patch.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-09-28 22:44:59 (GMT)
committerGitHub <noreply@github.com>2018-09-28 22:44:59 (GMT)
commitc3ea42f08ccfcd1768d5b86e6867d45036183a14 (patch)
tree324426aa995629c63fb45fd3a10a8b878197b0e1 /packages/binutils/2.23.2/0001-ld_makefile_patch.patch
parentd0dd654ca65029da8b30e2437a29c0934b7ecf80 (diff)
parent83a5eb4084b4a4ec2249e7ff10e480d3c75d65f7 (diff)
Merge pull request #1039 from stilor/xtensa-2.31.1
Patches to fix ld's abort on xtensa
Diffstat (limited to 'packages/binutils/2.23.2/0001-ld_makefile_patch.patch')
-rw-r--r--packages/binutils/2.23.2/0001-ld_makefile_patch.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/binutils/2.23.2/0001-ld_makefile_patch.patch b/packages/binutils/2.23.2/0001-ld_makefile_patch.patch
new file mode 100644
index 0000000..3992be3
--- /dev/null
+++ b/packages/binutils/2.23.2/0001-ld_makefile_patch.patch
@@ -0,0 +1,27 @@
+---
+ ld/Makefile.am | 2 +-
+ ld/Makefile.in | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+--- a/ld/Makefile.am
++++ b/ld/Makefile.am
+@@ -37,7 +37,7 @@
+ # 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
+@@ -367,7 +367,7 @@
+ # 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