summaryrefslogtreecommitdiff
path: root/toolchain/binutils/patches/2.28/lm32.patch
blob: 9622816256823b2e41307197891a7885165b6ba9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -Nur binutils-2.28.orig/bfd/config.bfd binutils-2.28/bfd/config.bfd
--- binutils-2.28.orig/bfd/config.bfd	2017-03-02 09:23:53.000000000 +0100
+++ binutils-2.28/bfd/config.bfd	2023-08-27 11:54:08.526040118 +0200
@@ -924,7 +924,7 @@
     ;;
 
   lm32-*-*linux*)
-    targ_defvec=lm32_elf32_fdpic_vec
+    targ_defvec=lm32_elf32_vec
     targ_selvecs=lm32_elf32_vec
     ;;
 
diff -Nur binutils-2.28.orig/ld/configure.tgt binutils-2.28/ld/configure.tgt
--- binutils-2.28.orig/ld/configure.tgt	2017-03-02 09:23:54.000000000 +0100
+++ binutils-2.28/ld/configure.tgt	2023-08-27 11:54:43.882874903 +0200
@@ -416,7 +416,7 @@
 			;;
 iq2000-*-elf)           targ_emul=elf32iq2000 ; targ_extra_emuls="elf32iq10"
 			;;
-lm32-*-*linux*)         targ_emul=elf32lm32fd ;;
+lm32-*-*linux*)         targ_emul=elf32lm32 ;;
 lm32-*-*)               targ_emul=elf32lm32 ; targ_extra_emuls="elf32lm32fd"
                         ;;
 m32c-*-elf | m32c-*-rtems*)