summaryrefslogtreecommitdiff
path: root/libitm/configure.tgt
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-01-05 21:36:35 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-01-05 21:36:35 +0000
commitc1f23ce13f9037b5ab4633a0b721730533d6b6cd (patch)
treec1ee3b684ebedf7a0bc9f6437940dce7f8b87d8a /libitm/configure.tgt
parent9749851b819c64f8fa2713afaff318648fa8474c (diff)
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182930 138bc75d-0d04-0410-961f-82ee72b054a4
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 8d43cd410d43..e20349a1f848 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* \