1 #name: NIOS2 relax_section 2 #as: -relax-section 3 #ld: --relax -Trelax_jmp.ld 4 #source: relax_section.s 5 #objdump: -dr --prefix-addresses 6 7 # Test relaxation of section 8 9 .*: +file format elf32-littlenios2 10 11 Disassembly of section text1: 12 00008000 <[^>]*> bne r2,r3,00008010 <[^>]*> 13 00008004 <[^>]*> nextpc at 14 00008008 <[^>]*> addi at,at,32764 15 0000800c <[^>]*> jmp at 16 00008010 <[^>]*> bge r2,r3,00008024 <[^>]*> 17 00008014 <[^>]*> nextpc at 18 00008018 <[^>]*> addi at,at,32767 19 0000801c <[^>]*> addi at,at,9 20 00008020 <[^>]*> jmp at 21 00008024 <[^>]*> bne r2,r3,00008030 <in_range> 22 00008028 <[^>]*> nop 23 0000802c <[^>]*> nop 24 00008030 <in_range> nop 25 #... 26 00010000 <[^>]*> br 00008030 <in_range> 27 00010004 <just_out_of_range> nop 28 00010008 <[^>]*> nop 29 0001000c <[^>]*> nop 30 00010010 <[^>]*> nop 31 00010014 <[^>]*> nop 32 00010018 <[^>]*> nop 33 0001001c <[^>]*> nop 34 00010020 <farther_out_of_range> nop 35 #pass 36