projects
/
external
/
binutils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
MIPS/LD: Reject tprel_hi and tprel_lo relocations in shared library
[external/binutils.git]
/
ld
/
testsuite
/
ld-mips-elf
/
pic-reloc-6.s
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