summaryrefslogtreecommitdiff
path: root/test/link.ld
diff options
context:
space:
mode:
authorIan M. <ian@aptel.org>2026-09-11 03:45:03 +0000
committerIan M. <ian@aptel.org>2026-09-11 03:46:03 +0000
commit4f97daf67e0baaf64251b5643af5c9552c522156 (patch)
treea9a45abcf288fa538b03fb566d2ee5c069b2af4e /test/link.ld
initial commit
Signed-off-by: Ian M. <ian@aptel.org>
Diffstat (limited to 'test/link.ld')
-rw-r--r--test/link.ld27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/link.ld b/test/link.ld
new file mode 100644
index 0000000..2899d94
--- /dev/null
+++ b/test/link.ld
@@ -0,0 +1,27 @@
+/*
+ * Copyright (c) 2026, Apollo Telephone Laboratories.
+ * Provided under the BSD-3 clause.
+ */
+
+ENTRY(main)
+
+SECTIONS {
+ . = 0xFFFFFFFF80000000;
+
+ .text : {
+ *(.text .text.*)
+ }
+
+ .data : {
+ *(.data .data.*)
+ }
+
+ .rodata :{
+ *(.rodata .rodata.*)
+ }
+
+ .bss : {
+ *(COMMON)
+ *(.bss .bss.*)
+ }
+}