aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/tls-gdesc-nlazy.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-arm/tls-gdesc-nlazy.s')
-rw-r--r--ld/testsuite/ld-arm/tls-gdesc-nlazy.s17
1 files changed, 17 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/tls-gdesc-nlazy.s b/ld/testsuite/ld-arm/tls-gdesc-nlazy.s
new file mode 100644
index 0000000..2cd8109
--- /dev/null
+++ b/ld/testsuite/ld-arm/tls-gdesc-nlazy.s
@@ -0,0 +1,17 @@
+ .text
+ .globl foo
+ .type foo, %function
+foo:
+ nop
+.L2:
+ blx lib_gd2(tlscall)
+ mov pc, lr
+
+.Lpool:
+ .word lib_gd2(tlsdesc) + (. - .L2)
+
+ .section .tdata,"awT"
+ .global lib_gd2
+lib_gd2:
+ .space 4
+