lm32.patch 847 B

123456789101112131415161718192021222324
  1. diff -Nur binutils-2.41.orig/bfd/config.bfd binutils-2.41/bfd/config.bfd
  2. --- binutils-2.41.orig/bfd/config.bfd 2023-07-03 01:00:00.000000000 +0200
  3. +++ binutils-2.41/bfd/config.bfd 2023-09-07 17:03:12.853045008 +0200
  4. @@ -803,7 +803,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.41.orig/ld/configure.tgt binutils-2.41/ld/configure.tgt
  12. --- binutils-2.41.orig/ld/configure.tgt 2023-07-03 01:00:00.000000000 +0200
  13. +++ binutils-2.41/ld/configure.tgt 2023-09-07 17:03:44.364298973 +0200
  14. @@ -468,7 +468,7 @@
  15. targ_extra_emuls="elf32iq10"
  16. targ_extra_ofiles=ldelfgen.o
  17. ;;
  18. -lm32-*-*linux*) targ_emul=elf32lm32fd
  19. +lm32-*-*linux*) targ_emul=elf32lm32
  20. ;;
  21. lm32-*-*) targ_emul=elf32lm32
  22. targ_extra_emuls="elf32lm32fd"