Fix problems parsing RISCV architecture extenstions in the assembler.
authorAndrew Waterman <andrew@sifive.com>
Fri, 28 Jul 2017 09:02:57 +0000 (10:02 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 28 Jul 2017 09:02:57 +0000 (10:02 +0100)
commita808670465869100d4178a572da8a1503d727f3b
treedb21e0ade037d1b071a16dd282c08cd787b42194
parent242f30e67cbc2aba8314ba3bf702efb1aaceaad6
Fix problems parsing RISCV architecture extenstions in the assembler.

* config/tc-riscv.c (riscv_set_arch): Handle the Q subset like
all other subsets.
Obviate use-after-free.
gas/ChangeLog
gas/config/tc-riscv.c