1 #name
: MIPS JAL to global symbol overflow
0
2 #source
: jal
-global
-overflow
.s
3 #ld
: -Ttext
0x20000000 -e
0x20000000
4 #objdump
: -dr
--prefix
-addresses
--show
-raw
-insn
6 .*: +file format
.*mips
.*
8 Disassembly of section \
.text
:
10 [0-9a
-f
]+ <[^
>]*> 0c001000 jal
20004000 <bar
>
11 [0-9a
-f
]+ <[^
>]*> 00000027 nor zero
,zero
,zero
12 [0-9a
-f
]+ <[^
>]*> 0c000800 jal
20002000 <foo
>
13 [0-9a
-f
]+ <[^
>]*> 00000027 nor zero
,zero
,zero
15 [0-9a
-f
]+ <[^
>]*> 0c000800 jal
20002000 <foo
>
16 [0-9a
-f
]+ <[^
>]*> 00000027 nor zero
,zero
,zero
17 [0-9a
-f
]+ <[^
>]*> 0c001000 jal
20004000 <bar
>
18 [0-9a
-f
]+ <[^
>]*> 00000027 nor zero
,zero
,zero