aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/emit-relocs-28.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-aarch64/emit-relocs-28.s')
-rw-r--r--ld/testsuite/ld-aarch64/emit-relocs-28.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ld-aarch64/emit-relocs-28.s b/ld/testsuite/ld-aarch64/emit-relocs-28.s
new file mode 100644
index 0000000..b13a0e5
--- /dev/null
+++ b/ld/testsuite/ld-aarch64/emit-relocs-28.s
@@ -0,0 +1,5 @@
+ .text
+ adrp x2, _GLOBAL_OFFSET_TABLE_
+ ldr x0, [x2, #:gotpage_lo14:globala]
+ ldr x0, [x2, #:gotpage_lo14:globalb]
+ ldr x0, [x2, #:gotpage_lo14:globalc]