os/kernel/link.ld

16 lines
229 B
Text

SECTIONS {
. = 0xffffffff80000000;
.text ALIGN(0x1000) : {
*(.text*)
}
.rodata ALIGN(0x1000) : {
*(.rodata*)
}
.data ALIGN(0x1000) : {
*(.data*)
*(.got)
}
.bss ALIGN(0x1000) : {
*(.bss*)
}
}