urt: Add user run-time library groundwork

Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
2026-07-15 07:52:57 +00:00
parent 322985d8a3
commit a45f1df00d
8 changed files with 144 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
/*
* Copyright (c) 2026, Chloe M.
* Provided under the BSD-3 clause.
*
* Description: User linker script
* Author: Chloe M.
*/
ENTRY(_start)
SECTIONS {
/* User programs live here */
. = 0x9000;
.text : {
*(.text .text.*)
}
.data : {
*(.data .data.*)
}
.bss : {
*(.bss .bss.*)
*(COMMON)
}
.rodata : {
*(.rodata .rodata.*)
}
/DISCARD/ : {
*(.eh_frame .eh_frame.*)
*(.note .note.*)
}
}