summaryrefslogtreecommitdiff
path: root/patches/gcc/4.3.1/475-sh-pr24836.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/gcc/4.3.1/475-sh-pr24836.patch')
-rw-r--r--patches/gcc/4.3.1/475-sh-pr24836.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/patches/gcc/4.3.1/475-sh-pr24836.patch b/patches/gcc/4.3.1/475-sh-pr24836.patch
new file mode 100644
index 0000000..753e264
--- /dev/null
+++ b/patches/gcc/4.3.1/475-sh-pr24836.patch
@@ -0,0 +1,28 @@
+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
+
+diff -durN gcc-4.3.1.orig/gcc/configure gcc-4.3.1/gcc/configure
+--- gcc-4.3.1.orig/gcc/configure 2008-06-10 14:57:48.000000000 +0200
++++ gcc-4.3.1/gcc/configure 2008-06-10 14:58:32.000000000 +0200
+@@ -14709,7 +14709,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.1.orig/gcc/configure.ac gcc-4.3.1/gcc/configure.ac
+--- gcc-4.3.1.orig/gcc/configure.ac 2008-06-10 14:57:48.000000000 +0200
++++ gcc-4.3.1/gcc/configure.ac 2008-06-10 14:58:32.000000000 +0200
+@@ -2537,7 +2537,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