http://sourceforge.net/mailarchive/forum.php?thread_id=8959304&forum_id=5348 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24836 Index: gcc-4.6.0/gcc/configure.ac =================================================================== --- gcc-4.6.0.orig/gcc/configure.ac +++ gcc-4.6.0/gcc/configure.ac @@ -2926,7 +2926,7 @@ foo: .long 25 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 Index: gcc-4.6.0/gcc/configure =================================================================== --- gcc-4.6.0.orig/gcc/configure +++ gcc-4.6.0/gcc/configure @@ -22756,7 +22756,7 @@ foo: .long 25 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