diff options
author | Joachim Nilsson <jocke@vmlinux.org> | 2010-01-07 00:08:08 (GMT) |
---|---|---|
committer | Joachim Nilsson <jocke@vmlinux.org> | 2010-01-07 00:08:08 (GMT) |
commit | cfbcdd378646594887c9d488aee529c07838ee8e (patch) | |
tree | 51a79051c2c5d82c913c6ab8a2f111d5dde684dc /patches/binutils/2.20/240-ld_makefile.patch | |
parent | 6dc69b4938fee7c3e33164e5666805d6607943a3 (diff) |
binutils/binultils: import binutils-2.20 patches from OE
This is a set of patches for binutils-2.20 that have been "ported", or rather
shamelessly stolen, from the OpenEmbedded project:
http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/binutils/binutils-2.20
Tried and tested on Arm (big-endian Xscale, and little-endian i.MX27) with GCC 4.4.2
Signed-off-by: Joachim Nilsson <jocke@vmlinux.org>
Diffstat (limited to 'patches/binutils/2.20/240-ld_makefile.patch')
-rw-r--r-- | patches/binutils/2.20/240-ld_makefile.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/patches/binutils/2.20/240-ld_makefile.patch b/patches/binutils/2.20/240-ld_makefile.patch new file mode 100644 index 0000000..c1ae311 --- /dev/null +++ b/patches/binutils/2.20/240-ld_makefile.patch @@ -0,0 +1,25 @@ +Description: correct where ld scripts are installed +Author: Chris Chimelis <chris@debian.org> + +--- binutils-2.16.91.0.1/ld/Makefile.am ++++ binutils-2.16.91.0.1/ld/Makefile.am +@@ -20,7 +20,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@ +--- binutils-2.16.91.0.1/ld/Makefile.in ++++ binutils-2.16.91.0.1/ld/Makefile.in +@@ -268,7 +268,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 |