summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/tlsie1.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-i386/tlsie1.s')
-rw-r--r--ld/testsuite/ld-i386/tlsie1.s16
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/tlsie1.s b/ld/testsuite/ld-i386/tlsie1.s
new file mode 100644
index 0000000..d4ad569
--- /dev/null
+++ b/ld/testsuite/ld-i386/tlsie1.s
@@ -0,0 +1,16 @@
+ .text
+ .globl _start
+_start:
+ addl foo@gotntpoff(%ebx), %ecx
+ addl foo@indntpoff, %ecx
+ movl foo@gotntpoff(%ebx), %eax
+ movl foo@gotntpoff(%ebx), %ecx
+ movl foo@indntpoff, %eax
+ movl foo@indntpoff, %ecx
+ .globl foo
+ .section .tdata,"awT",@progbits
+ .align 4
+ .type foo, @object
+ .size foo, 4
+foo:
+ .long 100