lm32.patch 894 B

12345678910111213141516171819202122232425
  1. diff -Nur binutils-2.32.orig/bfd/config.bfd binutils-2.32/bfd/config.bfd
  2. --- binutils-2.32.orig/bfd/config.bfd 2019-01-19 17:01:32.000000000 +0100
  3. +++ binutils-2.32/bfd/config.bfd 2019-10-08 18:05:48.695171206 +0200
  4. @@ -787,7 +787,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.32.orig/ld/configure.tgt binutils-2.32/ld/configure.tgt
  12. --- binutils-2.32.orig/ld/configure.tgt 2019-01-19 17:01:33.000000000 +0100
  13. +++ binutils-2.32/ld/configure.tgt 2019-10-08 18:04:50.170788572 +0200
  14. @@ -388,7 +388,8 @@
  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. + ;;
  21. lm32-*-*) targ_emul=elf32lm32 ; targ_extra_emuls="elf32lm32fd"
  22. ;;
  23. m32c-*-elf | m32c-*-rtems*)