Module Name: src
Committed By: matt
Date: Fri Jul 19 15:57:18 UTC 2013
Modified Files:
src/external/gpl3/binutils/dist/gas/config: tc-m68k.c
Log Message:
Allow stripping of the m before m5... so that it can match coldfire cpus.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/binutils/dist/gas/config/tc-m68k.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/binutils/dist/gas/config/tc-m68k.c
diff -u src/external/gpl3/binutils/dist/gas/config/tc-m68k.c:1.3 src/external/gpl3/binutils/dist/gas/config/tc-m68k.c:1.4
--- src/external/gpl3/binutils/dist/gas/config/tc-m68k.c:1.3 Sun Sep 25 04:32:37 2011
+++ src/external/gpl3/binutils/dist/gas/config/tc-m68k.c Fri Jul 19 15:57:18 2013
@@ -7420,12 +7420,12 @@ m68k_lookup_cpu (const char *arg, const
}
}
- /* 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;