2019-04-01 22:43:07 +03:00
|
|
|
ENTRY(start)
|
2018-10-16 12:01:38 +03:00
|
|
|
|
|
|
|
SECTIONS
|
|
|
|
{
|
2020-01-16 11:46:09 +03:00
|
|
|
. = 0x100000;
|
2018-10-16 12:01:38 +03:00
|
|
|
|
2020-01-16 11:46:09 +03:00
|
|
|
.text BLOCK(4K) : ALIGN(4K)
|
|
|
|
{
|
2019-10-20 09:15:39 +03:00
|
|
|
Arch/i386/Boot/boot.ao
|
2020-01-16 11:46:09 +03:00
|
|
|
*(.multiboot)
|
|
|
|
*(.page_tables)
|
2020-01-06 15:53:30 +03:00
|
|
|
start_of_kernel_text = .;
|
2020-01-16 11:46:09 +03:00
|
|
|
*(.text)
|
|
|
|
*(.text.startup)
|
2020-01-06 15:53:30 +03:00
|
|
|
end_of_kernel_text = .;
|
2020-01-16 11:46:09 +03:00
|
|
|
}
|
2018-10-16 12:01:38 +03:00
|
|
|
|
2020-01-16 11:46:09 +03:00
|
|
|
.rodata BLOCK(4K) : ALIGN(4K)
|
|
|
|
{
|
|
|
|
start_ctors = .;
|
|
|
|
*(.ctors)
|
|
|
|
end_ctors = .;
|
2019-10-31 21:01:13 +03:00
|
|
|
|
2020-01-16 11:46:09 +03:00
|
|
|
*(.rodata)
|
|
|
|
}
|
2018-10-16 12:01:38 +03:00
|
|
|
|
2020-01-16 11:46:09 +03:00
|
|
|
.data BLOCK(4K) : ALIGN(4K)
|
|
|
|
{
|
2020-01-06 15:53:30 +03:00
|
|
|
start_of_kernel_data = .;
|
2020-01-16 11:46:09 +03:00
|
|
|
*(.data)
|
2020-01-06 15:53:30 +03:00
|
|
|
end_of_kernel_data = .;
|
2020-01-16 11:46:09 +03:00
|
|
|
}
|
2018-10-16 12:01:38 +03:00
|
|
|
|
2020-01-16 11:46:09 +03:00
|
|
|
.bss BLOCK(4K) : ALIGN(4K)
|
|
|
|
{
|
2020-01-06 15:53:30 +03:00
|
|
|
start_of_kernel_bss = .;
|
2020-01-16 11:46:09 +03:00
|
|
|
*(COMMON)
|
|
|
|
*(.bss)
|
2020-01-06 15:53:30 +03:00
|
|
|
end_of_kernel_bss = .;
|
2020-01-16 11:46:09 +03:00
|
|
|
}
|
2018-10-16 12:01:38 +03:00
|
|
|
}
|