35 lines
368 B
Plaintext
35 lines
368 B
Plaintext
ENTRY(kernel_loader)
|
|
|
|
. = 0x00100000;
|
|
|
|
SECTIONS {
|
|
|
|
.boot ALIGN (0x1000):
|
|
{
|
|
*(.multiboot)
|
|
}
|
|
|
|
.text ALIGN (0x1000):
|
|
{
|
|
*(.text)
|
|
}
|
|
|
|
.rodata ALIGN (0x1000):
|
|
{
|
|
*(.rodata*)
|
|
}
|
|
|
|
.data ALIGN (0x1000):
|
|
{
|
|
*(.data)
|
|
}
|
|
|
|
.bss ALIGN (0x1000):
|
|
{
|
|
*(COMMON)
|
|
*(.bss)
|
|
}
|
|
|
|
}
|
|
|
|
end = .; |