mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
35eeb78fa9
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.
14 lines
247 B
Makefile
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>
|