summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rwxr-xr-xgcc/configure18
-rw-r--r--gcc/configure.ac18
3 files changed, 41 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fc79821d872..dc65d88fea3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2013-01-10 David Edelsohn <dje.gcc@gmail.com>
+
+ * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix.
+ * configure: Regenerate.
+
2013-01-10 Richard Biener <rguenther@suse.de>
* builtins.c (expand_builtin_init_trampoline): Use
diff --git a/gcc/configure b/gcc/configure
index ecdbea403d6..f9cc8f41cf4 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -23245,6 +23245,24 @@ foo: .long 25
tls_first_minor=20
tls_as_opt='--fatal-warnings'
;;
+ powerpc-ibm-aix*)
+ conftest_s='
+ .extern __get_tpointer
+ .toc
+LC..1:
+ .tc a[TC],a[TL]@le
+ .csect .text[PR]
+.tlstest:
+ lwz 9,LC..1(2)
+ bla __get_tpointer
+ lwzx 3,9,3
+ .globl a
+ .csect a[TL],4
+a:
+ .space 4'
+ tls_first_major=0
+ tls_first_minor=0
+ ;;
powerpc-*-*)
conftest_s='
.section ".tdata","awT",@progbits
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 447a0ca3056..7cbc705dd1f 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -3010,6 +3010,24 @@ foo: .long 25
tls_first_minor=20
tls_as_opt='--fatal-warnings'
;;
+ powerpc-ibm-aix*)
+ conftest_s='
+ .extern __get_tpointer
+ .toc
+LC..1:
+ .tc a[TC],a[TL]@le
+ .csect .text[PR]
+.tlstest:
+ lwz 9,LC..1(2)
+ bla __get_tpointer
+ lwzx 3,9,3
+ .globl a
+ .csect a[TL],4
+a:
+ .space 4'
+ tls_first_major=0
+ tls_first_minor=0
+ ;;
powerpc-*-*)
conftest_s='
.section ".tdata","awT",@progbits
OpenPOWER on IntegriCloud