summaryrefslogtreecommitdiff
path: root/atos/arch/rv64/jh7110/dev/link.ld
diff options
context:
space:
mode:
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.*)
+ }
+}