repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
testsuite: adapt to new --debug command line option
[binutils-gdb.git]
/
ld
/
testsuite
/
ld-mips-elf
/
pic-reloc-6.s
blob
5cf5e81e4d0267ba2731e0ead565e74a3e096fd0
1
.text
2
.globl foo
3
.globl global_tls
4
.ent foo
5
foo
:
6
$LCL
:
7
li
$
2
, %
hi
(
$LCL
)
8
addiu $
2
, %
lo
(
$LCL
)
9
li
$
2
, %
hi
(
bar
)
10
addiu $
2
, %
lo
(
bar
)
11
li
$a0
,%
tprel_hi
(
local_tls
)
12
lw $a1
,%
tprel_lo
(
local_tls
)(
$a0
)
13
li
$a0
,%
tprel_hi
(
global_tls
)
14
lw $a1
,%
tprel_lo
(
global_tls
)(
$a0
)
15
.end foo
16
.type local_tls,%object
17
.type global_tls,%object
18
.section .tbss,
"awT"
,@nobits
19
local_tls
:
20
.word
21
global_tls
:
22
.word