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 9 Disassembly of section text0: 10 00000000 <_start> call 00000010 <func0> 11 00000004 <[^>]*> call 00000014 <func1> 12 00000008 <[^>]*> call 00000030 <[^>]*> 13 0000000c <[^>]*> jmpi 00000024 <[^>]*> 14 00000010 <func0> ret 15 00000014 <func1> nop 16 00000018 <[^>]*> nop 17 0000001c <[^>]*> call 00000030 <[^>]*> 18 00000020 <[^>]*> ret 19 00000024 <[^>]*> movhi at,16384 20 00000028 <[^>]*> addi at,at,16 21 0000002c <[^>]*> jmp at 22 00000030 <[^>]*> movhi at,16384 23 00000034 <[^>]*> addi at,at,0 24 00000038 <[^>]*> jmp at 25 26 Disassembly of section text2: 27 40000000 <func2a> nop 28 40000004 <[^>]*> nop 29 40000008 <[^>]*> nop 30 4000000c <[^>]*> ret 31 40000010 <func2b> nop 32