JuliOS/src/linker.ld
Julien CLEMENT fcf2f7f439
All checks were successful
continuous-integration/drone/push Build is passing
fix(paging): load back original P4 instead of temporary page frame in InactivePageTable::under
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-12-08 02:23:46 +01:00

55 lines
808 B
Plaintext

ENTRY(_start)
SECTIONS {
. = 1M;
.rodata :
{
/* ensure that the multiboot header is at the beginning */
KEEP(*(.multiboot_header))
*(.rodata .rodata.*)
. = ALIGN(4K);
}
. = ALIGN(4K);
.text :
{
*(.text .text.*)
. = ALIGN(4K);
}
.data :
{
*(.data .data.*)
. = ALIGN(4K);
}
.bss :
{
*(.bss .bss.*)
. = ALIGN(4K);
}
.got :
{
*(.got)
. = ALIGN(4K);
}
.got.plt :
{
*(.got.plt)
. = ALIGN(4K);
}
.data.rel.ro : ALIGN(4K) {
*(.data.rel.ro.local*) *(.data.rel.ro .data.rel.ro.*)
. = ALIGN(4K);
}
.gcc_except_table : ALIGN(4K) {
*(.gcc_except_table)
. = ALIGN(4K);
}
}