From 6c381eeb71e6f61062fb64795097e144d48fa798 Mon Sep 17 00:00:00 2001 From: Kaz Kojima Date: Fri, 11 Oct 2002 14:44:55 +0000 Subject: * 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. --- ld/testsuite/ld-sh/tlslib.s | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ld/testsuite/ld-sh/tlslib.s (limited to 'ld/testsuite/ld-sh/tlslib.s') 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 + -- cgit v1.1