summaryrefslogtreecommitdiff
path: root/packages/binutils/2.24/0003-ld_makefile_patch.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-09-28 22:43:17 (GMT)
committerAlexey Neyman <stilor@att.net>2018-09-28 22:43:17 (GMT)
commit83a5eb4084b4a4ec2249e7ff10e480d3c75d65f7 (patch)
tree324426aa995629c63fb45fd3a10a8b878197b0e1 /packages/binutils/2.24/0003-ld_makefile_patch.patch
parentd0dd654ca65029da8b30e2437a29c0934b7ecf80 (diff)
Patches to fix ld's abort on xtensa
Also while there, fix the naming (some patches ended up with two sequence numbers somehow). Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/binutils/2.24/0003-ld_makefile_patch.patch')
-rw-r--r--packages/binutils/2.24/0003-ld_makefile_patch.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/binutils/2.24/0003-ld_makefile_patch.patch b/packages/binutils/2.24/0003-ld_makefile_patch.patch
new file mode 100644
index 0000000..ab6a74f
--- /dev/null
+++ b/packages/binutils/2.24/0003-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
+@@ -54,7 +54,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
+@@ -386,7 +386,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