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 | 19c0258a7f4097f2e855b3cf1a8f5cf36416803a (patch) | |
tree | e64c35a9c81650a9bca5ed4e514c5b1c7fa385fb /gas/config/tc-sh.c | |
parent | 06b0287c2064e94493d2ee87f7bb1199e3552c12 (diff) | |
download | gdb-19c0258a7f4097f2e855b3cf1a8f5cf36416803a.zip gdb-19c0258a7f4097f2e855b3cf1a8f5cf36416803a.tar.gz gdb-19c0258a7f4097f2e855b3cf1a8f5cf36416803a.tar.bz2 |
* config/tc-sh.c (parse_reg): Match capital MACH and MACL.
Diffstat (limited to 'gas/config/tc-sh.c')
-rw-r--r-- | gas/config/tc-sh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-sh.c b/gas/config/tc-sh.c index 69dbf75..b1a51e6 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; |