aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/Inputs/i386-static-tls-model2.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/Inputs/i386-static-tls-model2.s')
-rw-r--r--test/ELF/Inputs/i386-static-tls-model2.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/ELF/Inputs/i386-static-tls-model2.s b/test/ELF/Inputs/i386-static-tls-model2.s
new file mode 100644
index 000000000..2c01cee42
--- /dev/null
+++ b/test/ELF/Inputs/i386-static-tls-model2.s
@@ -0,0 +1,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