1 #name
: NIOS2 relax_ujmp
3 #ld
: --relax
-Trelax_jmp
.ld
5 #objdump
: -dr
--prefix
-addresses
7 # Test relaxation of unconditional jumps
9 .*: +file format elf32
-littlenios2
11 Disassembly of section text2
:
12 00000000 <[^
>]*> br
00008000 <[^
>]*>
13 00000004 <[^
>]*> movhi at
,1
14 00000008 <[^
>]*> ori at
,at
,16
15 0000000c
<[^
>]*> jmp at
16 00000010 <[^
>]*> br
0000001c
<sym
>
21 Disassembly of section text1
:
22 00008000 <[^
>]*> br
00010000 <on_border
>
23 00008004 <[^
>]*> movhi at
,1
24 00008008 <[^
>]*> ori at
,at
,16
25 0000800c
<[^
>]*> jmp at
27 00010000 <on_border
> br
00010010 <in_range
>
31 00010010 <in_range
> nop