summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/Inputs/i386-static-tls-model2.s
blob: 2c01cee42ddfd112e719ded6a9c009480d57ea0f (plain)
1
2
3
4
5
6
7
8
9
.section ".tdata", "awT", @progbits
.globl var
var:

.section .foo, "aw"
.global _start
_start: 
 movl %gs:0, %eax
 addl var@gotntpoff(%ebx), %eax # R_386_TLS_GOTIE
OpenPOWER on IntegriCloud