mirror of
https://github.com/gbowne1/ClassicOS.git
synced 2025-10-13 13:15:07 -07:00
27 lines
343 B
Plaintext
27 lines
343 B
Plaintext
ENTRY(kmain)
|
|
|
|
SECTIONS {
|
|
. = 1M;
|
|
|
|
.text : {
|
|
*(.text*)
|
|
}
|
|
|
|
.rodata : { *(.rodata*) }
|
|
.data : { *(.data*) }
|
|
.bss : {
|
|
*(.bss*)
|
|
*(COMMON)
|
|
}
|
|
|
|
.stack (NOLOAD) : {
|
|
. = ALIGN(4);
|
|
. = . + 0x1000;
|
|
}
|
|
|
|
.heap (NOLOAD) : {
|
|
. = ALIGN(4);
|
|
. = . + 0x10000;
|
|
}
|
|
}
|