Fix the V850 assembler's generation of relocations for the st.b instruction.
authorNick Clifton <nickc@redhat.com>
Thu, 2 Sep 2021 11:16:10 +0000 (12:16 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 2 Sep 2021 11:16:10 +0000 (12:16 +0100)
commit718aefcf55cc5a9de3f73d9a37259f8f792b1cef
treead9614678c1ee7c55ffc1c57e146816471569d94
parentb03b65e2aa3243bc0224ba3f933a3e94f1eed8a1
Fix the V850 assembler's generation of relocations for the st.b instruction.

PR 28292
gas * config/tc-v850.c (handle_lo16): Also accept
BFD_RELOC_V850_LO16_SPLIT_OFFSET.
* testsuite/gas/v850/split-lo16.s: Add extra line.
* testsuite/gas/v850/split-lo16.d: Update expected disassembly.

opcodes * v850-opc.c (D16): Use BFD_RELOC_V850_LO16_SPLIT_OFFSET in place
of BFD_RELOC_16.
gas/ChangeLog
gas/config/tc-v850.c
gas/testsuite/gas/v850/split-lo16.d
gas/testsuite/gas/v850/split-lo16.s
opcodes/ChangeLog
opcodes/v850-opc.c