1 #name: NIOS2 relax_call26_multi 2 #ld: --relax -Trelax_call26_multi.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 0000002c <func1> 12 00000008 <[^>]*> call 00000020 <[^>]*> 13 0000000c <[^>]*> jmpi 00000014 <[^>]*> 14 00000010 <func0> ret 15 00000014 <[^>]*> movhi at,16384 16 00000018 <[^>]*> addi at,at,16 17 0000001c <[^>]*> jmp at 18 00000020 <[^>]*> movhi at,16384 19 00000024 <[^>]*> addi at,at,0 20 00000028 <[^>]*> jmp at 21 22 Disassembly of section text1: 23 0000002c <func1> nop 24 00000030 <[^>]*> nop 25 00000034 <[^>]*> call 0000003c <[^>]*> 26 00000038 <[^>]*> ret 27 0000003c <[^>]*> movhi at,16384 28 00000040 <[^>]*> addi at,at,0 29 00000044 <[^>]*> jmp at 30 31 Disassembly of section text2: 32 40000000 <func2a> nop 33 40000004 <[^>]*> nop 34 40000008 <[^>]*> nop 35 4000000c <[^>]*> ret 36 40000010 <func2b> nop 37