mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-07 11:31:04 -04:00
34 lines
521 B
Plaintext
34 lines
521 B
Plaintext
ENTRY(_Z11kernel_mainv)
|
|
|
|
SECTIONS
|
|
{
|
|
/* This is where the bootloader will load the code */
|
|
. = 0x100000;
|
|
|
|
/* 4K of code */
|
|
.text : ALIGN(0x1000)
|
|
{
|
|
*(.start)
|
|
*(.text)
|
|
*(.text.*)
|
|
}
|
|
|
|
/* 4K of Read-only data */
|
|
.rodata : ALIGN(0x1000)
|
|
{
|
|
*(.rodata)
|
|
}
|
|
|
|
/* 4K of Read-write initialized data. */
|
|
.data : ALIGN(0x1000)
|
|
{
|
|
*(.data)
|
|
}
|
|
|
|
/* 4K of Read-write uninitialized data. */
|
|
.bss : ALIGN(0x1000)
|
|
{
|
|
*(.bss)
|
|
}
|
|
}
|