aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure.ac
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@gcc.gnu.org>2010-10-25 10:08:01 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2010-10-25 10:08:01 +0000
commit7fa2619a2ff66d8c8100554d33ad1ebb046c295e (patch)
tree943c4c5a0d199bc62428368dbaf2063eca79b9e0 /gcc/configure.ac
parent7d9d5bb6c925e42901e65a81eff677d086dddbdc (diff)
downloadgcc-7fa2619a2ff66d8c8100554d33ad1ebb046c295e.zip
gcc-7fa2619a2ff66d8c8100554d33ad1ebb046c295e.tar.gz
gcc-7fa2619a2ff66d8c8100554d33ad1ebb046c295e.tar.bz2
configure.ac: Use $cpu_type instead of $target to define the nop.
* configure.ac: Use $cpu_type instead of $target to define the nop. * configure: Regenerate. From-SVN: r165913
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r--gcc/configure.ac12
1 files changed, 5 insertions, 7 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac
index a3cbe97..4df68fc 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -3764,17 +3764,15 @@ esac
# add some instruction here to (also) show we expect this might work.
# ??? Once 2.11 is released, probably need to add first known working
# version to the per-target configury.
-case "$target" in
- i?86*-*-* | mips*-*-* | alpha*-*-* | powerpc*-*-* | sparc*-*-* | m68*-*-* \
- | x86_64*-*-* | hppa*-*-* | arm*-*-* | avr*-*-* \
- | xstormy16*-*-* | cris-*-* | crisv32-*-* | xtensa*-*-* | bfin-*-* | score*-*-* \
- | spu-*-* | fido*-*-* | m32c-*-* | microblaze-*-*)
+case "$cpu_type" in
+ alpha | arm | avr | bfin | cris | i386 | m32c | m68k | microblaze | mips \
+ | pa | rs6000 | score | sparc | spu | xstormy16 | xtensa)
insn="nop"
;;
- ia64*-*-* | s390*-*-*)
+ ia64 | s390)
insn="nop 0"
;;
- mmix-*-*)
+ mmix)
insn="swym 0"
;;
esac