1 #name
: NIOS2 relax_section
3 #ld
: --relax
-Trelax_jmp
.ld
4 #source
: relax_section
.s
5 #objdump
: -dr
--prefix
-addresses
7 # Test relaxation of section
9 .*: +file format elf32
-littlenios2
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
>
24 00008030 <in_range
> nop
26 00010000 <[^
>]*> br
00008030 <in_range
>
27 00010004 <just_out_of_range
> nop
34 00010020 <farther_out_of_range
> nop