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=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 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