aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/tlsexe.d
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2003-02-04 14:52:11 +0000
committerAlan Modra <amodra@gmail.com>2003-02-04 14:52:11 +0000
commit266fb683100e69fad79f5bb7ed260de5e2eff655 (patch)
treec0a80c9c99ab46f4863613abc2744070bc305a78 /ld/testsuite/ld-powerpc/tlsexe.d
parente0468e59ad8adedb96443dc4ea280a7b4cd35463 (diff)
downloadgdb-266fb683100e69fad79f5bb7ed260de5e2eff655.zip
gdb-266fb683100e69fad79f5bb7ed260de5e2eff655.tar.gz
gdb-266fb683100e69fad79f5bb7ed260de5e2eff655.tar.bz2
new ppc64 tls tests
Diffstat (limited to 'ld/testsuite/ld-powerpc/tlsexe.d')
-rw-r--r--ld/testsuite/ld-powerpc/tlsexe.d49
1 files changed, 49 insertions, 0 deletions
diff --git a/ld/testsuite/ld-powerpc/tlsexe.d b/ld/testsuite/ld-powerpc/tlsexe.d
new file mode 100644
index 0000000..4d5618f
--- /dev/null
+++ b/ld/testsuite/ld-powerpc/tlsexe.d
@@ -0,0 +1,49 @@
+#source: tls.s
+#as: -a64
+#ld: -melf64ppc tmpdir/libtlslib.so
+#objdump: -dr
+#target: powerpc64*-*-*
+
+.*: +file format elf64-powerpc
+
+Disassembly of section \.text:
+
+0+10000378 <_start>:
+ 10000378: e8 62 80 10 ld r3,-32752\(r2\)
+ 1000037c: 60 00 00 00 nop
+ 10000380: 7c 63 6a 14 add r3,r3,r13
+ 10000384: e8 62 80 18 ld r3,-32744\(r2\)
+ 10000388: 60 00 00 00 nop
+ 1000038c: 7c 63 6a 14 add r3,r3,r13
+ 10000390: 3c 6d 00 00 addis r3,r13,0
+ 10000394: 60 00 00 00 nop
+ 10000398: 38 63 90 38 addi r3,r3,-28616
+ 1000039c: 3c 6d 00 00 addis r3,r13,0
+ 100003a0: 60 00 00 00 nop
+ 100003a4: 38 63 10 00 addi r3,r3,4096
+ 100003a8: 39 23 80 40 addi r9,r3,-32704
+ 100003ac: 3d 23 00 00 addis r9,r3,0
+ 100003b0: 81 49 80 48 lwz r10,-32696\(r9\)
+ 100003b4: e9 22 80 20 ld r9,-32736\(r2\)
+ 100003b8: 7d 49 18 2a ldx r10,r9,r3
+ 100003bc: 3d 2d 00 00 addis r9,r13,0
+ 100003c0: a1 49 90 58 lhz r10,-28584\(r9\)
+ 100003c4: 89 4d 90 60 lbz r10,-28576\(r13\)
+ 100003c8: 3d 2d 00 00 addis r9,r13,0
+ 100003cc: 99 49 90 68 stb r10,-28568\(r9\)
+ 100003d0: 3c 6d 00 00 addis r3,r13,0
+ 100003d4: 60 00 00 00 nop
+ 100003d8: 38 63 90 00 addi r3,r3,-28672
+ 100003dc: 3c 6d 00 00 addis r3,r13,0
+ 100003e0: 60 00 00 00 nop
+ 100003e4: 38 63 10 00 addi r3,r3,4096
+ 100003e8: f9 43 80 08 std r10,-32760\(r3\)
+ 100003ec: 3d 23 00 00 addis r9,r3,0
+ 100003f0: 91 49 80 10 stw r10,-32752\(r9\)
+ 100003f4: e9 22 80 08 ld r9,-32760\(r2\)
+ 100003f8: 7d 49 19 2a stdx r10,r9,r3
+ 100003fc: 3d 2d 00 00 addis r9,r13,0
+ 10000400: b1 49 90 58 sth r10,-28584\(r9\)
+ 10000404: e9 4d 90 2a lwa r10,-28632\(r13\)
+ 10000408: 3d 2d 00 00 addis r9,r13,0
+ 1000040c: a9 49 90 30 lha r10,-28624\(r9\)