diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2000-11-16 20:48:09 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@codesourcery.com> | 2000-11-16 20:48:09 +0000 |
commit | 71f6b58639da628af9accaef2b58249c5a60679a (patch) | |
tree | 557a0870099a03523129d43c0d604519cae9fb6b /bfd/cpu-arm.c | |
parent | 98591c73cf73c16f5bd8709d69700f6970336633 (diff) | |
download | gdb-71f6b58639da628af9accaef2b58249c5a60679a.zip gdb-71f6b58639da628af9accaef2b58249c5a60679a.tar.gz gdb-71f6b58639da628af9accaef2b58249c5a60679a.tar.bz2 |
2000-11-16 Kazu Hirata <kazu@hxi.com>
* cpu-a29k.c: Fix formatting.
* cpu-alpha.c: Likewise.
* cpu-arm.c: Likewise.
* cpu-avr.c: Likewise.
* cpu-d10v.c: Likewise.
* cpu-h8500.c: Likewise.
* cpu-hppa.c: Likewise.
* cpu-i370.c: Likewise.
* cpu-i386.c: Likewise.
* cpu-i960.c: Likewise.
* cpu-ia64-opc.c: Likewise.
* cpu-ia64.c: Likewise.
* cpu-m32r.c: Likewise.
* cpu-m68hc11.c: Likewise.
* cpu-m68hc12.c: Likewise.
* cpu-m68k.c: Likewise.
* cpu-m88k.c: Likewise.
* cpu-mips.c: Likewise.
* cpu-ns32k.c: Likewise.
* cpu-pj.c: Likewise.
* cpu-powerpc.c: Likewise.
* cpu-sh.c: Likewise.
* cpu-sparc.c: Likewise.
* cpu-tic54x.c: Likewise.
* cpu-v850.c: Likewise.
* cpu-vax.c: Likewise.
* cpu-w65.c: Likewise.
* cpu-we32k.c: Likewise.
* cpu-z8k.c: Likewise.
Diffstat (limited to 'bfd/cpu-arm.c')
-rw-r--r-- | bfd/cpu-arm.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/bfd/cpu-arm.c b/bfd/cpu-arm.c index bda9c44..7b351f5 100644 --- a/bfd/cpu-arm.c +++ b/bfd/cpu-arm.c @@ -47,7 +47,7 @@ compatible (a,b) it can be polymorphed into the other */ if (a->the_default) return b; - + if (b->the_default) return a; @@ -95,7 +95,7 @@ processors[] = { bfd_mach_arm_4, "strongarm1100" }, }; -static boolean +static boolean scan (info, string) const struct bfd_arch_info * info; const char * string; @@ -119,16 +119,15 @@ scan (info, string) /* Finally check for the default architecture */ if (strcasecmp (string, "arm") == 0) return info->the_default; - + return false; } - #define N(number, print, default, next) \ { 32, 32, 8, bfd_arch_arm, number, "arm", print, 4, default, compatible, scan, next } static const bfd_arch_info_type arch_info_struct[] = -{ +{ N( bfd_mach_arm_2, "armv2", false, & arch_info_struct[1] ), N( bfd_mach_arm_2a, "armv2a", false, & arch_info_struct[2] ), N( bfd_mach_arm_3, "armv3", false, & arch_info_struct[3] ), |