From 793d65899f448ee9b0cf121a170c82f0bc15b854 Mon Sep 17 00:00:00 2001 From: Hans-Christian Noren Egtvedt Date: Wed, 5 Aug 2020 22:29:09 +0200 Subject: Add support for binutils 2.35 Forward ported patches from binutils 2.34, refreshed to match current sources. Patch 0008-poison-system-directories.patch did not apply clean and had minor adjustments to fit new binutils 2.35 release. Signed-off-by: Hans-Christian Noren Egtvedt --- .../binutils/2.35/0001-ld_makefile_patch.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 packages/binutils/2.35/0001-ld_makefile_patch.patch (limited to 'packages/binutils/2.35/0001-ld_makefile_patch.patch') diff --git a/packages/binutils/2.35/0001-ld_makefile_patch.patch b/packages/binutils/2.35/0001-ld_makefile_patch.patch new file mode 100644 index 00000000..0eb94962 --- /dev/null +++ b/packages/binutils/2.35/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 +@@ -50,7 +50,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) + + EMUL = @EMUL@ + EMULATION_OFILES = @EMULATION_OFILES@ +--- a/ld/Makefile.in ++++ b/ld/Makefile.in +@@ -555,7 +555,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 -- cgit v1.2.3