luxos/link.ld
Tiberiu Chibici e3b3584734 [????] BUILD 0.1.1.??? DATE 9/0?/2011 AT ?:?? ??
====================================================
Mainly changed: Tasking
+ Implemented multitasking
2021-09-14 18:54:59 +03:00

37 lines
612 B
Plaintext

ENTRY(start)
OUTPUT_FORMAT("elf32-i386")
OUTPUT(kernel.bin)
SECTIONS
{
. = 0x100000;
.__mbHeader :
{
*(.__mbHeader)
}
.text : /* AT(ADDR(.text) - 0xC0000000) */
{
_code = .;
*(.text)
*(.rodata*)
}
.data ALIGN(0x1000) : /* AT(ADDR(.data) - 0xC0000000) */
{
_data = .;
*(.data)
}
.bss ALIGN(0x1000) : /* AT(ADDR(.bss) - 0xC0000000) */
{
_bss = .;
*(COMMON)
*(.bss)
}
. = ALIGN(0x1000);
_end = .;
}