summaryrefslogtreecommitdiff
path: root/toolchain/gcc/patches/4.1.2/740-sh-pr24836.patch
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/gcc/patches/4.1.2/740-sh-pr24836.patch')
-rw-r--r--toolchain/gcc/patches/4.1.2/740-sh-pr24836.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.1.2/740-sh-pr24836.patch b/toolchain/gcc/patches/4.1.2/740-sh-pr24836.patch
new file mode 100644
index 0000000000..7992282cff
--- /dev/null
+++ b/toolchain/gcc/patches/4.1.2/740-sh-pr24836.patch
@@ -0,0 +1,25 @@
+http://sourceforge.net/mailarchive/forum.php?thread_id=8959304&forum_id=5348
+http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24836
+
+--- gcc/gcc/configure.ac (revision 106699)
++++ gcc/gcc/configure.ac (working copy)
+@@ -2446,7 +2446,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
+--- gcc/gcc/configure
++++ gcc/gcc/configure
+@@ -14846,7 +14846,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