X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-i386%2Ftlsgd1.s;fp=ld%2Ftestsuite%2Fld-i386%2Ftlsgd1.s;h=552ca0945882958cd2fcf09ef06f0c40e1bebd91;hp=0000000000000000000000000000000000000000;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/ld/testsuite/ld-i386/tlsgd1.s b/ld/testsuite/ld-i386/tlsgd1.s new file mode 100644 index 0000000..552ca09 --- /dev/null +++ b/ld/testsuite/ld-i386/tlsgd1.s @@ -0,0 +1,15 @@ + .text + .globl _start +_start: + leal foo@TLSGD(,%ebx,1), %eax + call ___tls_get_addr + leal foo@TLSGD(%ebx), %eax + call ___tls_get_addr + nop + .globl foo + .section .tdata,"awT",@progbits + .align 4 + .type foo, @object + .size foo, 4 +foo: + .long 100