Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-nios2/pcrel16.d
2023-03-06 14:48:14 +01:00

15 lines
355 B
Makefile

#name: NIOS2 R_NIOS2_PCREL16
#source: pcrel16.s
#source: pcrel16_label.s
#ld:
#objdump: -dr --prefix-addresses
# Test the relative branch relocations.
.*: +file format elf32-littlenios2
Disassembly of section .text:
[0-9a-f]+ <[^>]*> br [0-9a-f]+ <ext_label>
[0-9a-f]+ <[^>]*> br [0-9a-f]+ <ext_label\+0x10>
[0-9a-f]+ <[^>]*> nop
[0-9a-f]+ <[^>]*> nop