0003-shemuls.diff 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. diff -ur ../baseline/binutils-2.25.1/bfd/config.bfd binutils-2.25.1/bfd/config.bfd
  2. --- ../baseline/binutils-2.25.1/bfd/config.bfd 2014-10-14 07:32:02.000000000 +0000
  3. +++ binutils-2.25.1/bfd/config.bfd 2015-09-04 19:24:08.678337083 +0000
  4. @@ -1370,6 +1370,7 @@
  5. sh-*-linux*)
  6. targ_defvec=sh_elf32_linux_be_vec
  7. targ_selvecs="sh_elf32_linux_vec sh64_elf32_linux_vec sh64_elf32_linux_be_vec sh64_elf64_linux_vec sh64_elf64_linux_be_vec"
  8. + targ_selvecs="${targ_selvecs} sh_elf32_vec sh_elf32_le_vec sh_elf32_fdpic_le_vec sh_elf32_fdpic_be_vec"
  9. want64=true
  10. ;;
  11. #endif /* BFD64 */
  12. @@ -1377,10 +1378,12 @@
  13. sh*eb-*-linux*)
  14. targ_defvec=sh_elf32_linux_be_vec
  15. targ_selvecs=sh_elf32_linux_vec
  16. + targ_selvecs="${targ_selvecs} sh_elf32_vec sh_elf32_le_vec sh_elf32_fdpic_le_vec sh_elf32_fdpic_be_vec"
  17. ;;
  18. sh*-*-linux*)
  19. targ_defvec=sh_elf32_linux_vec
  20. targ_selvecs=sh_elf32_linux_be_vec
  21. + targ_selvecs="${targ_selvecs} sh_elf32_vec sh_elf32_le_vec sh_elf32_fdpic_le_vec sh_elf32_fdpic_be_vec"
  22. ;;
  23. sh-*-uclinux* | sh[12]-*-uclinux*)
  24. diff -ur ../baseline/binutils-2.25.1/ld/configure.tgt binutils-2.25.1/ld/configure.tgt
  25. --- ../baseline/binutils-2.25.1/ld/configure.tgt 2014-10-14 07:32:04.000000000 +0000
  26. +++ binutils-2.25.1/ld/configure.tgt 2015-09-04 19:22:05.151677949 +0000
  27. @@ -623,15 +623,17 @@
  28. score-*-elf) targ_emul=score7_elf
  29. targ_extra_emuls=score3_elf ;;
  30. sh-*-linux*) targ_emul=shlelf_linux
  31. - targ_extra_emuls=shelf_linux
  32. + targ_extra_emuls="shelf_linux shlelf_fd shelf_fd shlelf shelf"
  33. targ_extra_libpath=shelf_linux ;;
  34. sh64eb-*-linux*) targ_emul=shelf32_linux
  35. targ_extra_emuls="shlelf32_linux" ;;
  36. sh64-*-linux*) targ_emul=shlelf32_linux
  37. targ_extra_emuls="shelf32_linux"
  38. targ_extra_libpath=shelf32_linux ;;
  39. -sh*eb-*-linux*) targ_emul=shelf_linux ;;
  40. -sh*-*-linux*) targ_emul=shlelf_linux ;;
  41. +sh*eb-*-linux*) targ_emul=shelf_linux
  42. + targ_extra_emuls="shelf_fd shelf" ;;
  43. +sh*-*-linux*) targ_emul=shlelf_linux
  44. + targ_extra_emuls="shlelf_fd shlelf" ;;
  45. sh5le-*-netbsd*) targ_emul=shlelf32_nbsd
  46. targ_extra_emuls="shelf32_nbsd shelf64_nbsd shlelf64_nbsd shelf_nbsd shlelf_nbsd" ;;
  47. sh5-*-netbsd*) targ_emul=shelf32_nbsd