aboutsummaryrefslogtreecommitdiff
path: root/libitm/configure.tgt
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2012-01-05 13:36:35 -0800
committerRichard Henderson <rth@gcc.gnu.org>2012-01-05 13:36:35 -0800
commita32e5e9357929bae073f5533cdadbbb040c7e76c (patch)
treec1ee3b684ebedf7a0bc9f6437940dce7f8b87d8a /libitm/configure.tgt
parent003e0ad60130a4ba700a7b65e58ffcf0f051076c (diff)
downloadgcc-a32e5e9357929bae073f5533cdadbbb040c7e76c.zip
gcc-a32e5e9357929bae073f5533cdadbbb040c7e76c.tar.gz
gcc-a32e5e9357929bae073f5533cdadbbb040c7e76c.tar.bz2
libitm: PowerPC support.
* configure.tgt: Support powerpc-linux and powerpc-darwin. * config/linux/powerpc/futex_bits.h: New file. * config/powerpc/cacheline.h: New file. * config/powerpc/sjlj.S: New file. * config/powerpc/target.h: New file. * config/generic/asmcfi.h (cfi_offset): New. (cfi_restore, cfi_undefined): New. From-SVN: r182930
Diffstat (limited to 'libitm/configure.tgt')
-rw-r--r--libitm/configure.tgt10
1 files changed, 8 insertions, 2 deletions
diff --git a/libitm/configure.tgt b/libitm/configure.tgt
index 8d43cd4..e20349a 100644
--- a/libitm/configure.tgt
+++ b/libitm/configure.tgt
@@ -1,5 +1,5 @@
# -*- shell-script -*-
-# Copyright (C) 2011 Free Software Foundation, Inc.
+# Copyright (C) 2011, 2012 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -46,7 +46,8 @@ fi
# Map the target cpu to an ARCH sub-directory. At the same time,
# work out any special compilation flags as necessary.
case "${target_cpu}" in
- alpha*) ARCH=alpha ;;
+ alpha*) ARCH=alpha ;;
+ rs6000 | powerpc*) ARCH=powerpc ;;
arm*) ARCH=arm ;;
@@ -94,6 +95,11 @@ case "${target}" in
fi
;;
+ powerpc*-*-aix* | rs6000-*-aix*)
+ # The system ought to be supported, but sjlj.S has not been ported.
+ UNSUPPORTED=1
+ ;;
+
*-*-gnu* | *-*-k*bsd*-gnu \
| *-*-netbsd* | *-*-freebsd* | *-*-openbsd* \
| *-*-solaris2* | *-*-sysv4* | *-*-irix6* | *-*-osf* | *-*-hpux11* \