summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/emit-relocs-118.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-aarch64/emit-relocs-118.s')
-rw-r--r--ld/testsuite/ld-aarch64/emit-relocs-118.s12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-aarch64/emit-relocs-118.s b/ld/testsuite/ld-aarch64/emit-relocs-118.s
new file mode 100644
index 00000000000..0fe7593f9c3
--- /dev/null
+++ b/ld/testsuite/ld-aarch64/emit-relocs-118.s
@@ -0,0 +1,12 @@
+ .global v1
+ .global v2
+ .section .tdata,"awT",%progbits
+v1:
+ .word 0xdeaddead
+ .word 0xdeaddead
+v2:
+ .word 0xcafecafe
+ .word 0xcafecafe
+
+ .text
+ ldr x0, [x9, #:tprel_lo12:v2]