diff mbox

[v2] fix TLS support detection for sh targets

Message ID 20150914234055.GA7839@brightrain.aerifal.cx
State New
Headers show

Commit Message

Rich Felker Sept. 14, 2015, 11:40 p.m. UTC
2015-09-14  Rich Felker  <dalias@libc.org>

	* gcc/configure.ac: Change target pattern for sh TLS support
	test from "sh[34]-*-*" to "sh[123456789lbe]*-*-*".
	* gcc/configure: Regenerate.

Comments

Kaz Kojima Sept. 15, 2015, 12:23 a.m. UTC | #1
Rich Felker <dalias@libc.org> wrote:
> 2015-09-14  Rich Felker  <dalias@libc.org>
> 
> 	* gcc/configure.ac: Change target pattern for sh TLS support
> 	test from "sh[34]-*-*" to "sh[123456789lbe]*-*-*".
> 	* gcc/configure: Regenerate.

The patch is OK.  I've committed it with removing gcc/ from
the file names in gcc/ChangeLog entry.  Double checked with
sh4-unknown-linux-gnu and i686-pc-linux-gnu builds.
Thanks for the patch!

Regards,
	kaz
diff mbox

Patch

diff --git a/gcc/configure b/gcc/configure
index 846c996..6fb11a7 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -23977,7 +23977,7 @@  foo:	.long	25
 	tls_first_minor=14
 	tls_as_opt="-m64 -Aesame --fatal-warnings"
 	;;
-  sh-*-* | sh[34]-*-*)
+  sh-*-* | sh[123456789lbe]*-*-*)
     conftest_s='
 	.section ".tdata","awT",@progbits
 foo:	.long	25
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 34c43d5..a6e078a 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -3325,7 +3325,7 @@  foo:	.long	25
 	tls_first_minor=14
 	tls_as_opt="-m64 -Aesame --fatal-warnings"
 	;;
-  sh-*-* | sh[34]-*-*)
+  sh-*-* | sh[123456789lbe]*-*-*)
     conftest_s='
 	.section ".tdata","awT",@progbits
 foo:	.long	25