lm32.patch 947 B

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