aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/tlsexetoc.t
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-powerpc/tlsexetoc.t')
-rw-r--r--ld/testsuite/ld-powerpc/tlsexetoc.t13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-powerpc/tlsexetoc.t b/ld/testsuite/ld-powerpc/tlsexetoc.t
new file mode 100644
index 0000000..f17b6c6
--- /dev/null
+++ b/ld/testsuite/ld-powerpc/tlsexetoc.t
@@ -0,0 +1,13 @@
+#source: tlstoc.s
+#as: -a64
+#ld: -melf64ppc tmpdir/libtlslib.so
+#objdump: -sj.tdata
+#target: powerpc64*-*-*
+
+.*: +file format elf64-powerpc
+
+Contents of section \.tdata:
+ 10010390 12345678 9abcdef0 23456789 abcdef01 .*
+ 100103a0 3456789a bcdef012 456789ab cdef0123 .*
+ 100103b0 56789abc def01234 6789abcd ef012345 .*
+ 100103c0 789abcde f0123456 .*