aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/tlsie3.s
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-08-24 19:39:19 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-08-24 19:39:19 +0000
commitdd1093aa2c82bcd88a4d16cb7fa7884733583f5e (patch)
tree2396ba330b67e198fdead4adfb18e5651ce5f98f /ld/testsuite/ld-i386/tlsie3.s
parent495bde8ec4ea55e74afc44cc1ae01d98d0c4a28f (diff)
downloadgdb-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-i386/tlsie3.s')
-rw-r--r--ld/testsuite/ld-i386/tlsie3.s12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/tlsie3.s b/ld/testsuite/ld-i386/tlsie3.s
new file mode 100644
index 0000000..865156d
--- /dev/null
+++ b/ld/testsuite/ld-i386/tlsie3.s
@@ -0,0 +1,12 @@
+ .text
+ .globl _start
+_start:
+ leal foo@gotntpoff(%ebx), %ecx
+ movl (%ecx), %ecx
+ .globl foo
+ .section .tdata,"awT",@progbits
+ .align 4
+ .type foo, @object
+ .size foo, 4
+foo:
+ .long 100