Add symbols to linker script for page table generation

This commit is contained in:
Curle 2020-08-31 21:53:44 +01:00
parent 78fb7f061f
commit ee7f3c76f7
Signed by: TheCurle
GPG Key ID: 5942F13718443F79

View File

@ -14,10 +14,13 @@ SECTIONS
bootldr = .; . += 4096;
environment = .; . += 4096;
.text : {
_kernel_text_start = .;
KEEP(*(.text.boot)) *(.text .text.*)
_kernel_rodata_start = .;
*(.rodata .rodata.*)
_kernel_data_start = .;
*(.data .data.*)
} :boot
.bss (NOLOAD) : {