Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/binutils/dist/gas/config Allow stripping of th...



details:   https://anonhg.NetBSD.org/src/rev/72611515310e
branches:  trunk
changeset: 788782:72611515310e
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Jul 19 15:57:18 2013 +0000

description:
Allow stripping of the m before m5... so that it can match coldfire cpus.

diffstat:

 external/gpl3/binutils/dist/gas/config/tc-m68k.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 8fd38e885eba -r 72611515310e external/gpl3/binutils/dist/gas/config/tc-m68k.c
--- a/external/gpl3/binutils/dist/gas/config/tc-m68k.c  Fri Jul 19 15:55:57 2013 +0000
+++ b/external/gpl3/binutils/dist/gas/config/tc-m68k.c  Fri Jul 19 15:57:18 2013 +0000
@@ -7420,12 +7420,12 @@
        }
     }
   
-  /* 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;



Home | Main Index | Thread Index | Old Index