This commit is contained in:
2026-03-20 19:19:16 +01:00
parent 778b3ed80c
commit aed9c39283
8 changed files with 244 additions and 144 deletions

12
link.ld
View File

@@ -4,9 +4,13 @@ SECTIONS {
.text ALIGN(4) : {
KEEP(*(.text._start))
*(.text .text.*)
. = ALIGN(4K);
__text_end = .;
}
.vector_table ALIGN(2K) : {
KEEP(*(.vector_t))
}
. = ALIGN(4K);
__text_end = .;
.rodata : {
*(.rodata .rodata.*)
@@ -26,10 +30,6 @@ SECTIONS {
__share_end = .;
.vector_table ALIGN(2K) : {
KEEP(*(.vector_table))
}
# EL2 Stack
.stack ALIGN(16): {
__stack_start = .;