summaryrefslogtreecommitdiff
path: root/patches/gcc/4.3.3/250-sh-pr24836.patch
blob: 1528b358d0753f28a34cb01973f0ebc6234379c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Original patch from: ../4.3.2/250-sh-pr24836.patch

-= BEGIN original header =-
Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.1/gentoo/74_all_sh-pr24836.patch
http://sourceforge.net/mailarchive/forum.php?thread_id=8959304&forum_id=5348
http://gcc.gnu.org/PR24836

-= END original header =-

diff -durN gcc-4.3.3.orig/gcc/configure gcc-4.3.3/gcc/configure
--- gcc-4.3.3.orig/gcc/configure	2009-01-27 22:19:18.000000000 +0100
+++ gcc-4.3.3/gcc/configure	2009-01-27 22:25:33.000000000 +0100
@@ -20689,7 +20689,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.3.orig/gcc/configure.ac gcc-4.3.3/gcc/configure.ac
--- gcc-4.3.3.orig/gcc/configure.ac	2009-01-27 22:19:18.000000000 +0100
+++ gcc-4.3.3/gcc/configure.ac	2009-01-27 22:25:33.000000000 +0100
@@ -2552,7 +2552,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