summaryrefslogtreecommitdiffstats
path: root/toolchain/binutils/patches/2.43/300-001_ld_makefile_patch.patch
diff options
context:
space:
mode:
authorChuanhong Guo <gch981213@gmail.com>2024-08-15 15:34:24 +0800
committerChuanhong Guo <gch981213@gmail.com>2024-08-16 20:10:38 +0800
commit9cf6ce5179e2c839e8b5af7d95e500f7d188d9c4 (patch)
treedfe27881d2d6f60ac1e2b847d32b8644a05cd7a1 /toolchain/binutils/patches/2.43/300-001_ld_makefile_patch.patch
parent17f07040e7808a0c9cba2afc0e0b22e5589da133 (diff)
downloadopenwrt-9cf6ce5179e2c839e8b5af7d95e500f7d188d9c4.tar.gz
openwrt-9cf6ce5179e2c839e8b5af7d95e500f7d188d9c4.tar.bz2
openwrt-9cf6ce5179e2c839e8b5af7d95e500f7d188d9c4.zip
toolchain: binutils: add support for 2.43
Drop two backported patches, and autorefresh the rest. Release notes: https://lists.gnu.org/archive/html/info-gnu/2024-08/msg00001.html Link: https://github.com/openwrt/openwrt/pull/16175 Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Diffstat (limited to 'toolchain/binutils/patches/2.43/300-001_ld_makefile_patch.patch')
-rw-r--r--toolchain/binutils/patches/2.43/300-001_ld_makefile_patch.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/toolchain/binutils/patches/2.43/300-001_ld_makefile_patch.patch b/toolchain/binutils/patches/2.43/300-001_ld_makefile_patch.patch
new file mode 100644
index 0000000000..64dae55dd7
--- /dev/null
+++ b/toolchain/binutils/patches/2.43/300-001_ld_makefile_patch.patch
@@ -0,0 +1,22 @@
+--- a/ld/Makefile.am
++++ b/ld/Makefile.am
+@@ -50,7 +50,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_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)
+
+ EMUL = @EMUL@
+ EMULATION_OFILES = @EMULATION_OFILES@
+--- a/ld/Makefile.in
++++ b/ld/Makefile.in
+@@ -583,7 +583,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_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