Trying to setup the mmu

This commit is contained in:
Scott Shawcroft
2021-09-22 15:19:02 -07:00
parent 2499c9382d
commit 829f92d00f
6 changed files with 132 additions and 17 deletions

View File

@@ -1,12 +1,20 @@
SECTIONS
{
. = 0x80000; /* Kernel load address for AArch64 */
.text : { KEEP(*(.text.boot)) *(.text .text.* .gnu.linkonce.t*) }
.rodata : { *(.rodata .rodata.* .gnu.linkonce.r*) }
.text : {
KEEP(*(.text.boot))
*(.text .text.* .gnu.linkonce.t*)
}
.rodata : {
. = ALIGN(4096);
*(.rodata .rodata.* .gnu.linkonce.r*)
}
PROVIDE(_data = .);
.data : { *(.data .data.* .gnu.linkonce.d*) }
.data : {
. = ALIGN(4096);
*(.data .data.* .gnu.linkonce.d*)
}
.bss (NOLOAD) : {
. = ALIGN(16);
__bss_start = .;
*(.bss .bss.*)
*(COMMON)