| Index: bfd/cpu-m68k.c
|
| diff --git a/bfd/cpu-m68k.c b/bfd/cpu-m68k.c
|
| index 009ff043d94187588a98e42690de43d1d42c035b..4c7b845147925cd1e20e0d898b0f64dbad446b82 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;
|
|
|