aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2016-01-21 18:50:17 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2016-01-21 13:50:17 -0500
commit4b7a526411bc2d60a2dd102bdb56ef4e87a4c196 (patch)
tree6e4ba2e9e671383181b9b3362dd3dcbcb3c374d0 /gcc
parente271cba1f54897084deaf5368d1205a1f4efaea9 (diff)
downloadgcc-4b7a526411bc2d60a2dd102bdb56ef4e87a4c196.zip
gcc-4b7a526411bc2d60a2dd102bdb56ef4e87a4c196.tar.gz
gcc-4b7a526411bc2d60a2dd102bdb56ef4e87a4c196.tar.bz2
configure.ac (gcc_cv_as_powerpc_mfcrf, [...]): Detangle.
* configure.ac (gcc_cv_as_powerpc_mfcrf, gcc_cv_as_machine_directive): Detangle. From-SVN: r232697
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rwxr-xr-xgcc/configure13
-rw-r--r--gcc/configure.ac13
3 files changed, 23 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2b12ff9..07e2057 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2016-01-21 David Edelsohn <dje.gcc@gmail.com>
+
+ * configure.ac (gcc_cv_as_powerpc_mfcrf, gcc_cv_as_machine_directive):
+ Detangle.
+
2016-01-21 Pat Haugen <pthaugen@us.ibm.com>
* config/rs6000/aix71.h (ASM_CPU_SPEC): Add entry for Power9.
diff --git a/gcc/configure b/gcc/configure
index 73c1850..ff646e8 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -25904,10 +25904,8 @@ fi
;;
powerpc*-*-*)
+
case $target in
- *-*-aix*) conftest_s=' .machine "pwr5"
- .csect .text[PR]
- mfcr 3,128';;
*-*-darwin*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for .machine directive support" >&5
$as_echo_n "checking assembler for .machine directive support... " >&6; }
@@ -25940,7 +25938,14 @@ $as_echo "$gcc_cv_as_machine_directive" >&6; }
echo you can get it from: ftp://gcc.gnu.org/pub/gcc/infrastructure/cctools-528.5.dmg >&2
test x$build = x$target && exit 1
fi
- conftest_s=' .text
+ ;;
+ esac
+
+ case $target in
+ *-*-aix*) conftest_s=' .machine "pwr5"
+ .csect .text[PR]
+ mfcr 3,128';;
+ *-*-darwin*) conftest_s=' .text
mfcr r3,128';;
*) conftest_s=' .machine power4
.text
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 4727b2a..4dc7c10 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -4172,10 +4172,8 @@ value:'
;;
powerpc*-*-*)
+
case $target in
- *-*-aix*) conftest_s=' .machine "pwr5"
- .csect .text[[PR]]
- mfcr 3,128';;
*-*-darwin*)
gcc_GAS_CHECK_FEATURE([.machine directive support],
gcc_cv_as_machine_directive,,,
@@ -4185,7 +4183,14 @@ value:'
echo you can get it from: ftp://gcc.gnu.org/pub/gcc/infrastructure/cctools-528.5.dmg >&2
test x$build = x$target && exit 1
fi
- conftest_s=' .text
+ ;;
+ esac
+
+ case $target in
+ *-*-aix*) conftest_s=' .machine "pwr5"
+ .csect .text[[PR]]
+ mfcr 3,128';;
+ *-*-darwin*) conftest_s=' .text
mfcr r3,128';;
*) conftest_s=' .machine power4
.text