Patchwork powerpc64le configure fix

login
register
mail settings
Submitter Alan Modra
Date May 9, 2013, 7:27 a.m.
Message ID <20130509072753.GZ5221@bubble.grove.modra.org>
Download mbox | patch
Permalink /patch/242712/
State New
Headers show

Comments

Alan Modra - May 9, 2013, 7:27 a.m.
Another tweak for little-endian powerpc.  Committed revision 198734.

	* configure.ac (HAVE_AS_TLS): Enable tests for powerpcle and
	powerpc64le.
	* configure: Regenerate.
Edmar Wienskoski - May 9, 2013, 6:33 p.m.
Alan,

The first hunk will match powerpc64 as well.
Edmar

On Thu, May 9, 2013 at 2:27 AM, Alan Modra <amodra@gmail.com> wrote:
> Another tweak for little-endian powerpc.  Committed revision 198734.
>
>         * configure.ac (HAVE_AS_TLS): Enable tests for powerpcle and
>         powerpc64le.
>         * configure: Regenerate.
>
> Index: gcc/configure.ac
> ===================================================================
> --- gcc/configure.ac    (revision 198662)
> +++ gcc/configure.ac    (working copy)
> @@ -3045,7 +3045,7 @@
>         tls_first_major=0
>         tls_first_minor=0
>         ;;
> -  powerpc-*-*)
> +  powerpc*-*-*)
>      conftest_s='
>         .section ".tdata","awT",@progbits
>         .align 2
> @@ -3071,7 +3071,7 @@
>         tls_first_minor=14
>         tls_as_opt="-a32 --fatal-warnings"
>         ;;
> -  powerpc64-*-*)
> +  powerpc64*-*-*)
>      conftest_s='
>         .section ".tdata","awT",@progbits
>         .align 3
>
> --
> Alan Modra
> Australia Development Lab, IBM

Patch

Index: gcc/configure.ac
===================================================================
--- gcc/configure.ac	(revision 198662)
+++ gcc/configure.ac	(working copy)
@@ -3045,7 +3045,7 @@ 
 	tls_first_major=0
 	tls_first_minor=0
 	;;
-  powerpc-*-*)
+  powerpc*-*-*)
     conftest_s='
 	.section ".tdata","awT",@progbits
 	.align 2
@@ -3071,7 +3071,7 @@ 
 	tls_first_minor=14
 	tls_as_opt="-a32 --fatal-warnings"
 	;;
-  powerpc64-*-*)
+  powerpc64*-*-*)
     conftest_s='
 	.section ".tdata","awT",@progbits
 	.align 3