aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/tlslib32.s
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2003-02-18 06:11:32 +0000
committerAlan Modra <amodra@gmail.com>2003-02-18 06:11:32 +0000
commit2a050fb5ce6197869f31d028dc49495ce3e3b0a0 (patch)
tree8c2d07f20a12ef01b6e2abab860ddfba2a05928c /ld/testsuite/ld-powerpc/tlslib32.s
parent7619e7c7dee0bdcf5f9a02750d2d6d589c4787c3 (diff)
downloadgdb-2a050fb5ce6197869f31d028dc49495ce3e3b0a0.zip
gdb-2a050fb5ce6197869f31d028dc49495ce3e3b0a0.tar.gz
gdb-2a050fb5ce6197869f31d028dc49495ce3e3b0a0.tar.bz2
New tests.
Diffstat (limited to 'ld/testsuite/ld-powerpc/tlslib32.s')
-rw-r--r--ld/testsuite/ld-powerpc/tlslib32.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-powerpc/tlslib32.s b/ld/testsuite/ld-powerpc/tlslib32.s
new file mode 100644
index 0000000..98cd3e9
--- /dev/null
+++ b/ld/testsuite/ld-powerpc/tlslib32.s
@@ -0,0 +1,14 @@
+ .global __tls_get_addr,gd,ld
+ .type __tls_get_addr,@function
+
+ .section ".tbss","awT",@nobits
+ .align 2
+gd: .space 4
+
+ .section ".tdata","awT",@progbits
+ .align 2
+ld: .long 0xc0ffee
+
+ .text
+__tls_get_addr:
+ blr