diff options
Diffstat (limited to 'bfd/cpu-m68k.c')
-rw-r--r-- | bfd/cpu-m68k.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/cpu-m68k.c b/bfd/cpu-m68k.c index 009ff04..4c7b845 100644 --- a/bfd/cpu-m68k.c +++ b/bfd/cpu-m68k.c @@ -111,7 +111,7 @@ const bfd_arch_info_type bfd_m68k_arch = /* Table indexed by bfd_mach_arch number indicating which architectural features are supported. */ -static const unsigned m68k_arch_features[] = +static const unsigned m68k_arch_features[] = { 0, m68000|m68881|m68851, @@ -186,7 +186,7 @@ int bfd_m68k_features_to_mach (unsigned features) ix++) { unsigned this_extra, this_missing; - + if (m68k_arch_features[ix] == features) return ix; this_extra = bit_count (m68k_arch_features[ix] & ~features); @@ -195,7 +195,7 @@ int bfd_m68k_features_to_mach (unsigned features) extra = this_extra; superset = ix; } - + this_missing = bit_count (features & ~m68k_arch_features[ix]); if (this_missing < missing) { @@ -220,7 +220,7 @@ bfd_m68k_compatible (const bfd_arch_info_type *a, return b; if (!b->mach) return a; - + if (a->mach <= bfd_mach_m68060 && b->mach <= bfd_mach_m68060) /* Merge m68k machine. */ return a->mach > b->mach ? a : b; |