diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2019-10-09 17:13:05 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2019-10-09 17:13:31 +0200 |
commit | 8afcd1092f3dc822aa255685b98c815eb3642819 (patch) | |
tree | 410423cf73a0e254e024e9624859ba4b9eb80365 /toolchain/binutils | |
parent | 23650e556bd8eb37a0094ab7973603a1499ac8de (diff) |
lm32: try to build kernel for qemu
Diffstat (limited to 'toolchain/binutils')
-rw-r--r-- | toolchain/binutils/patches/2.32/lm32.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/toolchain/binutils/patches/2.32/lm32.patch b/toolchain/binutils/patches/2.32/lm32.patch new file mode 100644 index 000000000..176f09982 --- /dev/null +++ b/toolchain/binutils/patches/2.32/lm32.patch @@ -0,0 +1,25 @@ +diff -Nur binutils-2.32.orig/bfd/config.bfd binutils-2.32/bfd/config.bfd +--- binutils-2.32.orig/bfd/config.bfd 2019-01-19 17:01:32.000000000 +0100 ++++ binutils-2.32/bfd/config.bfd 2019-10-08 18:05:48.695171206 +0200 +@@ -787,7 +787,7 @@ + ;; + + lm32-*-*linux*) +- targ_defvec=lm32_elf32_fdpic_vec ++ targ_defvec=lm32_elf32_vec + targ_selvecs=lm32_elf32_vec + ;; + +diff -Nur binutils-2.32.orig/ld/configure.tgt binutils-2.32/ld/configure.tgt +--- binutils-2.32.orig/ld/configure.tgt 2019-01-19 17:01:33.000000000 +0100 ++++ binutils-2.32/ld/configure.tgt 2019-10-08 18:04:50.170788572 +0200 +@@ -388,7 +388,8 @@ + ;; + 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*) |