summaryrefslogtreecommitdiff
path: root/test/ELF/linkerscript/Inputs/data-commands.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/linkerscript/Inputs/data-commands.s')
-rw-r--r--test/ELF/linkerscript/Inputs/data-commands.s35
1 files changed, 35 insertions, 0 deletions
diff --git a/test/ELF/linkerscript/Inputs/data-commands.s b/test/ELF/linkerscript/Inputs/data-commands.s
new file mode 100644
index 0000000000000..d5d78cfd9beb6
--- /dev/null
+++ b/test/ELF/linkerscript/Inputs/data-commands.s
@@ -0,0 +1,35 @@
+.global a
+a = 0x11
+
+.global b
+b = 0x1122
+
+.global c
+c = 0x11223344
+
+.global d
+d = 0x1122334455667788
+
+.section .foo.1, "a"
+ .byte 0xFF
+
+.section .foo.2, "a"
+ .byte 0xFF
+
+.section .foo.3, "a"
+ .byte 0xFF
+
+.section .foo.4, "a"
+ .byte 0xFF
+
+.section .bar.1, "a"
+ .byte 0xFF
+
+.section .bar.2, "a"
+ .byte 0xFF
+
+.section .bar.3, "a"
+ .byte 0xFF
+
+.section .bar.4, "a"
+ .byte 0xFF