1 #name: NIOS2 R_NIOS2_PCREL16
2 #source: pcrel16.s
3 #source: pcrel16_label.s
4 #ld:
5 #objdump: -dr --prefix-addresses
6 
7 # Test the relative branch relocations.
8 .*: +file format elf32-littlenios2
9 
10 Disassembly of section .text:
11 
12 [0-9a-f]+ <[^>]*> br	[0-9a-f]+ <ext_label>
13 [0-9a-f]+ <[^>]*> br	[0-9a-f]+ <ext_label\+0x10>
14 [0-9a-f]+ <[^>]*> nop
15 [0-9a-f]+ <[^>]*> nop
16