* config/tc-sh.c (parse_reg): Match capital MACH and MACL.
authorAlexandre Oliva <aoliva@redhat.com>
Fri, 16 Mar 2001 02:11:05 +0000 (02:11 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Fri, 16 Mar 2001 02:11:05 +0000 (02:11 +0000)
gas/ChangeLog
gas/config/tc-sh.c

index c67b49f..583adcf 100644 (file)
@@ -1,3 +1,7 @@
+2001-03-15  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/tc-sh.c (parse_reg): Match capital MACH and MACL.
+
 2001-03-15  DJ Delorie  <dj@redhat.com>
 
        * stabs.c (s_stab_generic): Don't corrupt the notes obstack by
index 69dbf75..b1a51e6 100644 (file)
@@ -694,12 +694,12 @@ parse_reg (src, mode, reg)
   if (l0 == 'm' && l1 == 'a' && tolower (src[2]) == 'c'
       && ! IDENT_CHAR ((unsigned char) src[4]))
     {
-      if (src[3] == 'l')
+      if (tolower (src[3]) == 'l')
        {
          *mode = A_MACL;
          return 4;
        }
-      if (src[3] == 'h')
+      if (tolower (src[3]) == 'h')
        {
          *mode = A_MACH;
          return 4;