aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure.ac
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>2004-11-27 22:06:26 -0800
committerPer Bothner <bothner@gcc.gnu.org>2004-11-27 22:06:26 -0800
commit8af4d362c20fa06c560a3c0f3b281ffa5297e044 (patch)
tree84dbcc893bc8416dd120ae69e69403e7722bff33 /gcc/configure.ac
parentc48cb4399477d53ff3af7c5809aa1e8a0dc05be9 (diff)
downloadgcc-8af4d362c20fa06c560a3c0f3b281ffa5297e044.zip
gcc-8af4d362c20fa06c560a3c0f3b281ffa5297e044.tar.gz
gcc-8af4d362c20fa06c560a3c0f3b281ffa5297e044.tar.bz2
re PR bootstrap/18142 ("Unknown pseudo-op: .machine" compiling darwin-crt2.c)
PR bootstrap/18142 Re-applied following, with two modifications: add a URL for the fixed cctools; only exit if $build = $target. 2004-10-18 Kelley Cook <kcook@gcc.gnu.org> * configure.ac (powerpc-*-darwin*): Require assembler to support .machine directive. * configure: Regenerate. From-SVN: r91406
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r--gcc/configure.ac11
1 files changed, 10 insertions, 1 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac
index c7e49c0..7edb522 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -2706,7 +2706,16 @@ foo: nop
case $target in
*-*-aix*) conftest_s=' .csect .text[[PR]]
mfcr 3,128';;
- *-*-darwin*) conftest_s=' .text
+ *-*-darwin*)
+ gcc_GAS_CHECK_FEATURE([.machine directive support],
+ gcc_cv_as_machine_directive,,,
+ [ .machine ppc7400])
+ if test x$gcc_cv_as_machine_directive != xyes; then
+ echo "*** This target requires an assembler supporting \".machine\"" >&2
+ 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
mfcr r3,128';;
*) conftest_s=' .machine power4
.text