1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:57:44 +00:00

Kernel: Reindent linker script

This commit is contained in:
Andreas Kling 2020-01-16 09:46:09 +01:00
parent 0f3880ec4a
commit a9b24ebbe8

View file

@ -2,40 +2,40 @@ ENTRY(start)
SECTIONS
{
. = 0x100000;
. = 0x100000;
.text BLOCK(4K) : ALIGN(4K)
{
.text BLOCK(4K) : ALIGN(4K)
{
Arch/i386/Boot/boot.ao
*(.multiboot)
*(.page_tables)
*(.multiboot)
*(.page_tables)
start_of_kernel_text = .;
*(.text)
*(.text.startup)
*(.text)
*(.text.startup)
end_of_kernel_text = .;
}
}
.rodata BLOCK(4K) : ALIGN(4K)
{
start_ctors = .;
*(.ctors)
end_ctors = .;
.rodata BLOCK(4K) : ALIGN(4K)
{
start_ctors = .;
*(.ctors)
end_ctors = .;
*(.rodata)
}
*(.rodata)
}
.data BLOCK(4K) : ALIGN(4K)
{
.data BLOCK(4K) : ALIGN(4K)
{
start_of_kernel_data = .;
*(.data)
*(.data)
end_of_kernel_data = .;
}
}
.bss BLOCK(4K) : ALIGN(4K)
{
.bss BLOCK(4K) : ALIGN(4K)
{
start_of_kernel_bss = .;
*(COMMON)
*(.bss)
*(COMMON)
*(.bss)
end_of_kernel_bss = .;
}
}
}