aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-sh/tlstpoff-2.d
diff options
context:
space:
mode:
authorKaz Kojima <kkojima@rr.iij4u.or.jp>2003-02-10 22:19:26 +0000
committerKaz Kojima <kkojima@rr.iij4u.or.jp>2003-02-10 22:19:26 +0000
commit0f85b45c31150741744c3cbe57865a9aae91c75c (patch)
tree1427c29b00d914ea6c0823bf7a6b4bc742a59a1e /ld/testsuite/ld-sh/tlstpoff-2.d
parentc95b8a7acedca8d6f3dcc368d116ca8b7339f13a (diff)
downloadgdb-0f85b45c31150741744c3cbe57865a9aae91c75c.zip
gdb-0f85b45c31150741744c3cbe57865a9aae91c75c.tar.gz
gdb-0f85b45c31150741744c3cbe57865a9aae91c75c.tar.bz2
* ld-sh/tlstpoff-1.d: New.
* ld-sh/tlstpoff-2.d: New. * ld-sh/tlstpoff1.s: New. * ld-sh/tlstpoff2.s: New.
Diffstat (limited to 'ld/testsuite/ld-sh/tlstpoff-2.d')
-rw-r--r--ld/testsuite/ld-sh/tlstpoff-2.d12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-sh/tlstpoff-2.d b/ld/testsuite/ld-sh/tlstpoff-2.d
new file mode 100644
index 0000000..ee928fd
--- /dev/null
+++ b/ld/testsuite/ld-sh/tlstpoff-2.d
@@ -0,0 +1,12 @@
+#source: tlstpoff1.s
+#source: tlstpoff2.s
+#as: -little
+#ld: -EL -e foo
+#readelf: -r
+#target: sh*-*-linux* sh*-*-netbsd*
+
+Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 2 entries:
+ Offset +Info +Type +Sym\.Value +Sym\. Name \+ Addend
+0+[0-9a-f]+ 00000097 R_SH_TLS_TPOFF32 +0+04
+0+[0-9a-f]+ 00000097 R_SH_TLS_TPOFF32 +0+04
+