Allow stripping of the m before m5... so that it can match coldfire cpus.
This commit is contained in:
parent
88c7c7f72e
commit
a6b968105e
|
@ -7420,12 +7420,12 @@ m68k_lookup_cpu (const char *arg, const struct m68k_cpu *table,
|
|||
}
|
||||
}
|
||||
|
||||
/* Remove 'm' or 'mc' prefix from 68k variants. */
|
||||
/* Remove 'm' or 'mc' prefix from 68k or coldfire variants. */
|
||||
if (allow_m)
|
||||
{
|
||||
if (arg[0] == 'm')
|
||||
{
|
||||
if (arg[1] == '6')
|
||||
if (arg[1] == '6' || arg[1] == '5')
|
||||
arg += 1;
|
||||
else if (arg[1] == 'c' && arg[2] == '6')
|
||||
arg += 2;
|
||||
|
|
Loading…
Reference in New Issue