RISC-V: Print symbol address for jalr w/ zero offset.
authorJim Wilson <jimw@sifive.com>
Sat, 6 Jan 2018 01:51:23 +0000 (17:51 -0800)
committerJim Wilson <jimw@sifive.com>
Sat, 6 Jan 2018 01:51:23 +0000 (17:51 -0800)
commit35eeb78fa9535df6a273c053d8f102e046261b89
tree74a18745c631ab06e4cd6b0619a099d97893a8ed
parent77a502c03a347f0eb31e53e94cab528190c5bd1f
RISC-V: Print symbol address for jalr w/ zero offset.

ld/
* testsuite/ld-riscv-elf/disas-jalr.d: New.
* testsuite/ld-riscv-elf/disas-jalr.s: New.
* testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new testcase.

opcodes/
* riscv-dis.c (print_insn_args) <'s'>: Call maybe_print_address for a
jalr.
ld/ChangeLog
ld/testsuite/ld-riscv-elf/disas-jalr.d [new file with mode: 0644]
ld/testsuite/ld-riscv-elf/disas-jalr.s [new file with mode: 0644]
ld/testsuite/ld-riscv-elf/ld-riscv-elf.exp
opcodes/ChangeLog
opcodes/riscv-dis.c