diff options
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/binutils/patches/2.44/lm32.patch | 24 | ||||
-rw-r--r-- | toolchain/elf2flt/Makefile | 4 |
2 files changed, 28 insertions, 0 deletions
diff --git a/toolchain/binutils/patches/2.44/lm32.patch b/toolchain/binutils/patches/2.44/lm32.patch new file mode 100644 index 000000000..dcbb0d541 --- /dev/null +++ b/toolchain/binutils/patches/2.44/lm32.patch @@ -0,0 +1,24 @@ +diff -Nur binutils-2.41.orig/bfd/config.bfd binutils-2.41/bfd/config.bfd +--- binutils-2.41.orig/bfd/config.bfd 2023-07-03 01:00:00.000000000 +0200 ++++ binutils-2.41/bfd/config.bfd 2023-09-07 17:03:12.853045008 +0200 +@@ -803,7 +803,7 @@ + ;; + + lm32-*-*linux*) +- targ_defvec=lm32_elf32_fdpic_vec ++ targ_defvec=lm32_elf32_vec + targ_selvecs=lm32_elf32_vec + ;; + +diff -Nur binutils-2.41.orig/ld/configure.tgt binutils-2.41/ld/configure.tgt +--- binutils-2.41.orig/ld/configure.tgt 2023-07-03 01:00:00.000000000 +0200 ++++ binutils-2.41/ld/configure.tgt 2023-09-07 17:03:44.364298973 +0200 +@@ -468,7 +468,7 @@ + targ_extra_emuls="elf32iq10" + targ_extra_ofiles=ldelfgen.o + ;; +-lm32-*-*linux*) targ_emul=elf32lm32fd ++lm32-*-*linux*) targ_emul=elf32lm32 + ;; + lm32-*-*) targ_emul=elf32lm32 + targ_extra_emuls="elf32lm32fd" diff --git a/toolchain/elf2flt/Makefile b/toolchain/elf2flt/Makefile index 4177d54d7..369827404 100644 --- a/toolchain/elf2flt/Makefile +++ b/toolchain/elf2flt/Makefile @@ -46,6 +46,10 @@ ifeq ($(ADK_TOOLCHAIN_BINUTILS_2_28),y) BINUTILS_VERSION:= 2.28 BFDLIB:= libbfd.a endif +ifeq ($(ADK_TOOLCHAIN_BINUTILS_2_26),y) +BINUTILS_VERSION:= 2.26 +BFDLIB:= libbfd.a +endif $(WRKBUILD)/.configured: (cd $(WRKBUILD); PATH='${HOST_PATH}' autoreconf -vif;) |