0003-shbitrot.diff 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. --- gcc-5.2.0.orig/gcc/config.gcc
  2. +++ gcc-5.2.0/gcc/config.gcc
  3. @@ -4096,7 +4099,7 @@
  4. esac
  5. ;;
  6. - sh[123456ble]-*-* | sh-*-*)
  7. + sh[123456ble]*-*-* | sh-*-*)
  8. supported_defaults="cpu"
  9. case "`echo $with_cpu | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ_ abcdefghijklmnopqrstuvwxyz- | sed s/sh/m/`" in
  10. "" | m1 | m2 | m2e | m3 | m3e | m4 | m4-single | m4-single-only | m4-nofpu )
  11. --- gcc-5.2.0.base/gcc/configure.ac 2015-08-11 16:23:36.000000000 +0000
  12. +++ gcc-5.2.0/gcc/configure.ac 2015-09-13 08:17:31.714972082 +0000
  13. @@ -3300,7 +3300,7 @@
  14. tls_first_minor=14
  15. tls_as_opt="-m64 -Aesame --fatal-warnings"
  16. ;;
  17. - sh-*-* | sh[34]-*-*)
  18. + sh-*-* | sh[123456789lbe]*-*-*)
  19. conftest_s='
  20. .section ".tdata","awT",@progbits
  21. foo: .long 25
  22. --- gcc-5.2.0.base/gcc/configure 2015-08-11 16:23:35.000000000 +0000
  23. +++ gcc-5.2.0/gcc/configure 2015-09-13 08:17:42.608304751 +0000
  24. @@ -23754,7 +23754,7 @@
  25. tls_first_minor=14
  26. tls_as_opt="-m64 -Aesame --fatal-warnings"
  27. ;;
  28. - sh-*-* | sh[34]-*-*)
  29. + sh-*-* | sh[123456789lbe]*-*-*)
  30. conftest_s='
  31. .section ".tdata","awT",@progbits
  32. foo: .long 25