mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-27 08:12:30 +00:00
29 lines
1.0 KiB
Diff
29 lines
1.0 KiB
Diff
Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.0/gentoo/74_all_sh-pr24836.patch
|
|
http://sourceforge.net/mailarchive/forum.php?thread_id=8959304&forum_id=5348
|
|
http://gcc.gnu.org/PR24836
|
|
|
|
diff -durN gcc-4.3.0.orig/gcc/configure gcc-4.3.0/gcc/configure
|
|
--- gcc-4.3.0.orig/gcc/configure 2008-06-10 14:44:21.000000000 +0200
|
|
+++ gcc-4.3.0/gcc/configure 2008-06-10 14:45:24.000000000 +0200
|
|
@@ -14700,7 +14700,7 @@
|
|
tls_first_minor=14
|
|
tls_as_opt="-m64 -Aesame --fatal-warnings"
|
|
;;
|
|
- sh-*-* | sh[34]-*-*)
|
|
+ sh-*-* | sh[34]*-*-*)
|
|
conftest_s='
|
|
.section ".tdata","awT",@progbits
|
|
foo: .long 25
|
|
diff -durN gcc-4.3.0.orig/gcc/configure.ac gcc-4.3.0/gcc/configure.ac
|
|
--- gcc-4.3.0.orig/gcc/configure.ac 2008-06-10 14:44:21.000000000 +0200
|
|
+++ gcc-4.3.0/gcc/configure.ac 2008-06-10 14:45:24.000000000 +0200
|
|
@@ -2533,7 +2533,7 @@
|
|
tls_first_minor=14
|
|
tls_as_opt="-m64 -Aesame --fatal-warnings"
|
|
;;
|
|
- sh-*-* | sh[34]-*-*)
|
|
+ sh-*-* | sh[34]*-*-*)
|
|
conftest_s='
|
|
.section ".tdata","awT",@progbits
|
|
foo: .long 25
|