summaryrefslogtreecommitdiff
path: root/data.S
diff options
context:
space:
mode:
Diffstat (limited to 'data.S')
-rw-r--r--data.S7
1 files changed, 7 insertions, 0 deletions
diff --git a/data.S b/data.S
new file mode 100644
index 0000000..47f05b3
--- /dev/null
+++ b/data.S
@@ -0,0 +1,7 @@
+# Define "data" symbol to mark beginning of data segment.
+# Must be linked before any other data on ld command line.
+.data
+.globl data
+data:
+ .word 1
+