summaryrefslogtreecommitdiff
path: root/atos/arch/rv64/jh7110/dev/link.ld
diff options
context:
space:
mode:
authorIan M. <ian@aptel.org>2026-09-18 02:22:24 +0000
committerIan M. <ian@aptel.org>2026-09-18 02:22:24 +0000
commitb93251d1661fe46fc4c02be7885675eaf3e90858 (patch)
treeb0b4ddfd52408da24c8a9f07aaffb31689ca283a /atos/arch/rv64/jh7110/dev/link.ld
initial commitmain
Signed-off-by: Ian M. <ian@aptel.org>
Diffstat (limited to 'atos/arch/rv64/jh7110/dev/link.ld')
-rw-r--r--atos/arch/rv64/jh7110/dev/link.ld32
1 files changed, 32 insertions, 0 deletions
diff --git a/atos/arch/rv64/jh7110/dev/link.ld b/atos/arch/rv64/jh7110/dev/link.ld
new file mode 100644
index 0000000..c425651
--- /dev/null
+++ b/atos/arch/rv64/jh7110/dev/link.ld
@@ -0,0 +1,32 @@
+/*
+ * Copyright (c) 2026, Apollo Telephone Laboratories.
+ * Provided under the BSD-3 clause.
+ */
+
+ENTRY(MdHartEntry)
+
+SECTIONS {
+ . = 0x42200000;
+
+ .text : {
+ *(.text .text.*)
+ }
+
+ . += CONSTANT(MAXPAGESIZE);
+
+ .rodata : {
+ *(.rodata .rodata.*)
+ }
+
+ . += CONSTANT(MAXPAGESIZE);
+
+ .data : {
+ *(.data .data.*)
+ }
+
+ . += CONSTANT(MAXPAGESIZE);
+
+ .bss : {
+ *(.bss .bss.*)
+ }
+}