[ARC] Fix case-sensitivity for extension instructions.
authorclaziss <claziss@synopsys.com>
Mon, 23 Jul 2018 09:09:43 +0000 (11:09 +0200)
committerClaudiu Zissulescu <claziss@gmail.com>
Mon, 23 Jul 2018 09:09:43 +0000 (11:09 +0200)
commitf02806be1ff3d25fdf4d9e06ced33c4b138458aa
tree86003c4f1031168ccd1a13494ef075bf39476dbb
parent898ade12ee835c3a55460ae4fe311f40a01cf586
[ARC] Fix case-sensitivity for extension instructions.

In ARC assembler, we accept case insensitive mnemonics, but this was
not the case for extension instruction, fix it and add a test.

gas/
Claudiu Zissulescu <claziss@synopsys.com>

* config/tc-arc.c (tokenize_extinsn): Convert to lower case the
name of extension instructions.
* testsuite/gas/arc/textinsn_case.d: New file.
* testsuite/gas/arc/textinsn_case.s: Likewise.
gas/ChangeLog
gas/config/tc-arc.c
gas/testsuite/gas/arc/textinsn_case.d [new file with mode: 0644]
gas/testsuite/gas/arc/textinsn_case.s [new file with mode: 0644]