aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-sh/tlslib.s
diff options
context:
space:
mode:
authorKaz Kojima <kkojima@rr.iij4u.or.jp>2002-10-11 14:44:55 +0000
committerKaz Kojima <kkojima@rr.iij4u.or.jp>2002-10-11 14:44:55 +0000
commit6c381eeb71e6f61062fb64795097e144d48fa798 (patch)
tree12b7b3e030baa928d152f3d6a3fa9eed99edb1a8 /ld/testsuite/ld-sh/tlslib.s
parent94a03f18b830422643115cfdae48aed9cdc5c485 (diff)
downloadgdb-6c381eeb71e6f61062fb64795097e144d48fa798.zip
gdb-6c381eeb71e6f61062fb64795097e144d48fa798.tar.gz
gdb-6c381eeb71e6f61062fb64795097e144d48fa798.tar.bz2
* ld-sh/rd-sh.exp: If the test matches *-dso.d, copy the output
of linker to the file tmpdir/*-dso.so. * ld-sh/tlsbin.s, ld-sh/tlsbinpic.s, ld-sh/tlslib.s: New. * ld-sh/tlsbin-0-dso.d: New. * ld-sh/tlsbin-1.d: New. * ld-sh/tlsbin-2.d: New. * ld-sh/tlsbin-3.d: New. * ld-sh/tlsbin-4.d: New. * ld-sh/tlspic1.s, ld-sh/tlspic2.s: New. * ld-sh/tlspic-1.d: New. * ld-sh/tlspic-2.d: New. * ld-sh/tlspic-3.d: New. * ld-sh/tlspic-4.d: New.
Diffstat (limited to 'ld/testsuite/ld-sh/tlslib.s')
-rw-r--r--ld/testsuite/ld-sh/tlslib.s20
1 files changed, 20 insertions, 0 deletions
diff --git a/ld/testsuite/ld-sh/tlslib.s b/ld/testsuite/ld-sh/tlslib.s
new file mode 100644
index 0000000..35b6c70
--- /dev/null
+++ b/ld/testsuite/ld-sh/tlslib.s
@@ -0,0 +1,20 @@
+ .section ".tdata", "awT", @progbits
+ .globl sG1, sG2, sG3, sG4, sG5, sG6, sG7, sG8
+sG1: .long 513
+sG2: .long 514
+sG3: .long 515
+sG4: .long 516
+sG5: .long 517
+sG6: .long 518
+sG7: .long 519
+sG8: .long 520
+
+ .text
+ .align 1
+ ! Dummy.
+ .globl __tls_get_addr
+ .type __tls_get_addr,@function
+__tls_get_addr:
+ rts
+ nop
+