binutils-gdb/ld/testsuite/ld-riscv-elf/disas-jalr.d
Jim Wilson 35eeb78fa9 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.
2018-01-05 17:51:23 -08:00

14 lines
247 B
Makefile

#name: jalr zero-offset symbols
#source: disas-jalr.s
#ld: --no-relax
#objdump: -d
.*:[ ]+file format .*
Disassembly of section \.text:
.* <_start>:
#...
.*:[ ]+fffff097[ ]+auipc[ ]+ra,0xfffff
.*:[ ]+000080e7[ ]+jalr[ ]+ra # .* <_start>