aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog9
-rwxr-xr-xgcc/configure12
-rw-r--r--gcc/configure.ac12
3 files changed, 17 insertions, 16 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f51500c..dd70023 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,7 +1,12 @@
+2010-10-25 Eric Botcazou <ebotcazou@adacore.com>
+
+ * configure.ac: Use $cpu_type instead of $target to define the nop.
+ * configure: Regenerate.
+
2010-10-25 Jie Zhang <jie@codesourcery.com>
- * combine.c (try_combine): If insns need to be kept around,
- check that they can be copied in the merged instruction.
+ * combine.c (try_combine): If insns need to be kept around, check that
+ they can be copied in the merged instruction.
2010-10-24 Eric Botcazou <ebotcazou@adacore.com>
diff --git a/gcc/configure b/gcc/configure
index 6f48325..40a21bb 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -24505,17 +24505,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
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