summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gas/testsuite/gas/aarch64/reloc-data.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/gas/testsuite/gas/aarch64/reloc-data.s')
-rw-r--r--binutils-2.25/gas/testsuite/gas/aarch64/reloc-data.s29
1 files changed, 29 insertions, 0 deletions
diff --git a/binutils-2.25/gas/testsuite/gas/aarch64/reloc-data.s b/binutils-2.25/gas/testsuite/gas/aarch64/reloc-data.s
new file mode 100644
index 00000000..918bcf33
--- /dev/null
+++ b/binutils-2.25/gas/testsuite/gas/aarch64/reloc-data.s
@@ -0,0 +1,29 @@
+func:
+ ret
+
+.L1:
+ .balign 2
+ .hword local-.L1
+ .hword 0xffff
+ .balign 4
+ .word local-.L1
+ .word 0xffffffff
+ .balign 8
+ .xword local-.L1
+ .xword 0xffffffffffffffff
+ .xword local+0x12345600
+ .xword 0xffffffffffffffff
+
+ .balign 2
+ .hword global-.L1
+ .hword 0xffff
+ .balign 4
+ .word global-.L1
+ .word 0xffffffff
+ .balign 8
+ .xword global-.L1
+ .xword 0xffffffffffffffff
+ .xword global+0x12345678
+ .xword 0xffffffffffffffff
+
+local: