http://sourceforge.net/mailarchive/forum.php?thread_id=8959304&forum_id=5348 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24836 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -2435,7 +2435,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 --- a/gcc/configure +++ b/gcc/configure @@ -14762,7 +14762,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