summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/aarch64/reloc-prel_g1.d
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/aarch64/reloc-prel_g1.d')
-rw-r--r--gas/testsuite/gas/aarch64/reloc-prel_g1.d13
1 files changed, 13 insertions, 0 deletions
diff --git a/gas/testsuite/gas/aarch64/reloc-prel_g1.d b/gas/testsuite/gas/aarch64/reloc-prel_g1.d
new file mode 100644
index 00000000000..1a161f8ea80
--- /dev/null
+++ b/gas/testsuite/gas/aarch64/reloc-prel_g1.d
@@ -0,0 +1,13 @@
+#objdump: -dr
+
+.*: file format .*
+
+Disassembly of section \.text:
+
+0000000000000000 <.*>:
+ 0: 8a000000 and x0, x0, x0
+ 4: 92400000 and x0, x0, #0x1
+ 8: d2a00004 movz x4, #0x0, lsl #16
+ 8: R_AARCH64_MOVW_PREL_G1 tempy
+ c: d2a00011 movz x17, #0x0, lsl #16
+ c: R_AARCH64_MOVW_PREL_G1 tempy2