diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2007-08-24 19:39:19 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2007-08-24 19:39:19 +0000 |
commit | dd1093aa2c82bcd88a4d16cb7fa7884733583f5e (patch) | |
tree | 2396ba330b67e198fdead4adfb18e5651ce5f98f /ld/testsuite/ld-x86-64/tlsie2.s | |
parent | 495bde8ec4ea55e74afc44cc1ae01d98d0c4a28f (diff) | |
download | gdb-dd1093aa2c82bcd88a4d16cb7fa7884733583f5e.zip gdb-dd1093aa2c82bcd88a4d16cb7fa7884733583f5e.tar.gz gdb-dd1093aa2c82bcd88a4d16cb7fa7884733583f5e.tar.bz2 |
2007-08-24 H.J. Lu <hongjiu.lu@intel.com>
* 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.
Diffstat (limited to 'ld/testsuite/ld-x86-64/tlsie2.s')
-rw-r--r-- | ld/testsuite/ld-x86-64/tlsie2.s | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/tlsie2.s b/ld/testsuite/ld-x86-64/tlsie2.s new file mode 100644 index 0000000..c9b9bfb --- /dev/null +++ b/ld/testsuite/ld-x86-64/tlsie2.s @@ -0,0 +1,12 @@ + .text + .globl _start +_start: + leaq foo@GOTTPOFF(%rip), %rax + movq (%rax), %rax + .globl foo + .section .tdata,"awT",@progbits + .align 4 + .type foo, @object + .size foo, 4 +foo: + .long 100 |