asan: score: global-buffer-overflow
authorAlan Modra <amodra@gmail.com>
Sun, 15 Dec 2019 23:30:39 +0000 (10:00 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 16 Dec 2019 07:04:29 +0000 (17:34 +1030)
commit84e098cdea4eb6a5ddc525a2145ffe66475fa2af
tree569550d423ddb6dd4ebaaeadf3e2ae77478b726f
parent36bd8ea7f06126d3e73d9644325c4bbfbd5c89f4
asan: score: global-buffer-overflow

I'm flying blind here, not having an s+core s3 insn set reference,
but this seems reasonably obvious from what is done by the assembler.
s3_do16_rpop does some mixing of imm and reg values to place in the
rpop reg field, but I'm not going to try to fix the disassembly
there.

* score-dis.c (print_insn_score16): Move rpush/rpop imm field
value adjustment so that it doesn't affect reg field too.
opcodes/ChangeLog
opcodes/score-dis.c