diff options
author | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2010-10-25 10:08:01 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2010-10-25 10:08:01 +0000 |
commit | 7fa2619a2ff66d8c8100554d33ad1ebb046c295e (patch) | |
tree | 943c4c5a0d199bc62428368dbaf2063eca79b9e0 /gcc | |
parent | 7d9d5bb6c925e42901e65a81eff677d086dddbdc (diff) | |
download | gcc-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')
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rwxr-xr-x | gcc/configure | 12 | ||||
-rw-r--r-- | gcc/configure.ac | 12 |
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 |