repo.or.cz
/
binutils
/
dougsmingw.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
gas:
[binutils/dougsmingw.git]
/
ld
/
testsuite
/
ld-mips-elf
/
pic-and-nonpic-3b.s
blob
571c774cdf7d578f2f2e08b8e512a122bfe14b0f
1
.abicalls
2
.option pic0
3
.global __start
4
.ent __start
5
__start
:
6
jal foo
7
j ext
8
.end __start
9
10
.global ext
11
.ent ext
12
ext
:
13
lui $gp
,%
hi
(
__gnu_local_gp
)
14
addiu $gp
,
$gp
,%
lo
(
__gnu_local_gp
)
15
lw $
2
,%
got
(
local
)(
$gp
)
16
addiu $
2
,
$
2
,%
lo
(
local
)
17
lw $
25
,%
call16
(
bar
)(
$gp
)
18
jr $
25
19
.end ext
20
21
.data
22
local
:
.word 1