From dd1093aa2c82bcd88a4d16cb7fa7884733583f5e Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 24 Aug 2007 19:39:19 +0000 Subject: 2007-08-24 H.J. Lu * ld-i386/i386.exp (i386tests): Add a test for TLS IE->LE transition. Run tlsie2, tlsie3, tlsie4 and tlsie5. * ld-i386/tlsie1.dd: New file. * ld-i386/tlsie1.s: Likewise. * ld-i386/tlsie2.d: Likewise. * ld-i386/tlsie2.s: Likewise. * ld-i386/tlsie3.d: Likewise. * ld-i386/tlsie3.s: Likewise. * ld-i386/tlsie4.d: Likewise. * ld-i386/tlsie4.s: Likewise. * ld-i386/tlsie5.d: Likewise. * ld-i386/tlsie5.s: Likewise. * ld-x86-64/tlsgd2.d: Likewise. * ld-x86-64/tlsgd2.s: Likewise. * ld-x86-64/tlsgd3.d: Likewise. * ld-x86-64/tlsgd3.s: Likewise. * ld-x86-64/tlsie1.dd: Likewise. * ld-x86-64/tlsie1.s: Likewise. * ld-x86-64/tlsie2.d: Likewise. * ld-x86-64/tlsie2.s: Likewise. * ld-x86-64/tlsie3.d: Likewise. * ld-x86-64/tlsie3.s: Likewise. * ld-x86-64/x86-64.exp (x86_64tests): Add a test for TLS LD->LE transition. Run tlsgd2, tlsgd3, tlsie2 and tlsie3. --- ld/testsuite/ld-x86-64/tlsie1.s | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 ld/testsuite/ld-x86-64/tlsie1.s (limited to 'ld/testsuite/ld-x86-64/tlsie1.s') diff --git a/ld/testsuite/ld-x86-64/tlsie1.s b/ld/testsuite/ld-x86-64/tlsie1.s new file mode 100644 index 0000000..c7722b1 --- /dev/null +++ b/ld/testsuite/ld-x86-64/tlsie1.s @@ -0,0 +1,14 @@ + .text + .globl _start +_start: + movq foo@GOTTPOFF(%rip), %rax + addq foo@GOTTPOFF(%rip), %rax + movq foo@GOTTPOFF(%rip), %r12 + addq foo@GOTTPOFF(%rip), %r12 + .globl foo + .section .tdata,"awT",@progbits + .align 4 + .type foo, @object + .size foo, 4 +foo: + .long 100 -- cgit v1.1