diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2001-03-16 02:11:05 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2001-03-16 02:11:05 +0000 |
commit | 9d211b29660e2a8a564dd84a72ed10e99371c98b (patch) | |
tree | e72e77e459f2ca93c485560ce2c39c4fa9faceec /gas | |
parent | 7033a786df18c19f95a766eea2bb97a8ef6598e7 (diff) | |
download | binutils-redhat-9d211b29660e2a8a564dd84a72ed10e99371c98b.tar.gz |
* config/tc-sh.c (parse_reg): Match capital MACH and MACL.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-sh.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index c67b49f790..583adcf004 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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 diff --git a/gas/config/tc-sh.c b/gas/config/tc-sh.c index 69dbf75167..b1a51e66ef 100644 --- a/gas/config/tc-sh.c +++ b/gas/config/tc-sh.c @@ -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; |