1#name: NIOS2 relax_call26_shared
2#ld: --relax -Trelax_call26_shared.ld
3#source: relax_call26.s
4#objdump: -dr --prefix-addresses
5# Test relaxation of call26 relocations via linker stubs
6
7.*: +file format elf32-littlenios2
8
9Disassembly of section text0:
1000000000 <_start> call	00000010 <func0>
1100000004 <[^>]*> call	00000014 <func1>
1200000008 <[^>]*> call	00000030 <[^>]*>
130000000c <[^>]*> jmpi	00000024 <[^>]*>
1400000010 <func0> ret
1500000014 <func1> nop
1600000018 <[^>]*> nop
170000001c <[^>]*> call	00000030 <[^>]*>
1800000020 <[^>]*> ret
1900000024 <[^>]*> movhi	at,16384
2000000028 <[^>]*> addi	at,at,16
210000002c <[^>]*> jmp	at
2200000030 <[^>]*> movhi	at,16384
2300000034 <[^>]*> addi	at,at,0
2400000038 <[^>]*> jmp	at
25
26Disassembly of section text2:
2740000000 <func2a> nop
2840000004 <[^>]*> nop
2940000008 <[^>]*> nop
304000000c <[^>]*> ret
3140000010 <func2b> nop
32