aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2004-02-05 17:09:05 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2004-02-05 12:09:05 -0500
commit6b37db3cae575604151c87caffdb558d5b41f8de (patch)
tree269ab4d7c2b797cb62dccd375b67bc9c0bd7988b
parent2f69c594130c1b4f086e399d5148b9b3f802c5a0 (diff)
downloadgcc-6b37db3cae575604151c87caffdb558d5b41f8de.zip
gcc-6b37db3cae575604151c87caffdb558d5b41f8de.tar.gz
gcc-6b37db3cae575604151c87caffdb558d5b41f8de.tar.bz2
configure.ac (gcc_cv_as_powerpc_mfcrf): Correct test for mfcr.
* configure.ac (gcc_cv_as_powerpc_mfcrf): Correct test for mfcr. * configure: Regenerate. From-SVN: r77325
-rw-r--r--gcc/ChangeLog5
-rwxr-xr-xgcc/configure10
-rw-r--r--gcc/configure.ac10
3 files changed, 17 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6220d26..4419728 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-05 David Edelsohn <edelsohn@gnu.org>
+
+ * configure.ac (gcc_cv_as_powerpc_mfcrf): Correct test for mfcr.
+ * configure: Regenerate.
+
2004-02-05 Jonathan Wakely <redi@gcc.gnu.org>
* doc/install.texi: Update description of --gxx-include-dir to
diff --git a/gcc/configure b/gcc/configure
index a1001bd..74cdd7c 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -10900,11 +10900,13 @@ fi
powerpc*-*-*)
case $target in
- *-*-aix) conftest_s=' .csect .textPR';;
- *) conftest_s=' .text';;
+ *-*-aix*) conftest_s=' .csect .text[PR]
+ mfcr 3,128';;
+ *-*-darwin*) conftest_s=' .text
+ mfcr r3,128';;
+ *) conftest_s=' .text
+ mfcr 3,128';;
esac
- conftest_s="$conftest_s
- mfcr 3,128"
echo "$as_me:$LINENO: checking assembler for mfcr field support" >&5
echo $ECHO_N "checking assembler for mfcr field support... $ECHO_C" >&6
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 33549b0..304bfe9 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -2438,11 +2438,13 @@ changequote([,])dnl
powerpc*-*-*)
case $target in
- *-*-aix) conftest_s=' .csect .text[PR]';;
- *) conftest_s=' .text';;
+ *-*-aix*) conftest_s=' .csect .text[[PR]]
+ mfcr 3,128';;
+ *-*-darwin*) conftest_s=' .text
+ mfcr r3,128';;
+ *) conftest_s=' .text
+ mfcr 3,128';;
esac
- conftest_s="$conftest_s
- mfcr 3,128"
gcc_GAS_CHECK_FEATURE([mfcr field support],
gcc_cv_as_powerpc_mfcrf, [2,14,0],,