]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - ld/testsuite/ld-x86-64/tlsld1.s
Imported binutils-2.20
[msp430-binutils.git] / ld / testsuite / ld-x86-64 / tlsld1.s
diff --git a/ld/testsuite/ld-x86-64/tlsld1.s b/ld/testsuite/ld-x86-64/tlsld1.s
new file mode 100644 (file)
index 0000000..6dcdd69
--- /dev/null
@@ -0,0 +1,12 @@
+       .text
+       .globl _start
+_start:
+       leaq    foo@TLSLD(%rip), %rdi
+       call    __tls_get_addr
+       .globl foo
+       .section        .tdata,"awT",@progbits
+       .align 4
+       .type   foo, @object
+       .size   foo, 4
+foo:
+       .long   100