mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:17:35 +00:00
Kernel: Reindent linker script
This commit is contained in:
parent
0f3880ec4a
commit
a9b24ebbe8
1 changed files with 24 additions and 24 deletions
|
@ -2,40 +2,40 @@ ENTRY(start)
|
||||||
|
|
||||||
SECTIONS
|
SECTIONS
|
||||||
{
|
{
|
||||||
. = 0x100000;
|
. = 0x100000;
|
||||||
|
|
||||||
.text BLOCK(4K) : ALIGN(4K)
|
.text BLOCK(4K) : ALIGN(4K)
|
||||||
{
|
{
|
||||||
Arch/i386/Boot/boot.ao
|
Arch/i386/Boot/boot.ao
|
||||||
*(.multiboot)
|
*(.multiboot)
|
||||||
*(.page_tables)
|
*(.page_tables)
|
||||||
start_of_kernel_text = .;
|
start_of_kernel_text = .;
|
||||||
*(.text)
|
*(.text)
|
||||||
*(.text.startup)
|
*(.text.startup)
|
||||||
end_of_kernel_text = .;
|
end_of_kernel_text = .;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rodata BLOCK(4K) : ALIGN(4K)
|
.rodata BLOCK(4K) : ALIGN(4K)
|
||||||
{
|
{
|
||||||
start_ctors = .;
|
start_ctors = .;
|
||||||
*(.ctors)
|
*(.ctors)
|
||||||
end_ctors = .;
|
end_ctors = .;
|
||||||
|
|
||||||
*(.rodata)
|
*(.rodata)
|
||||||
}
|
}
|
||||||
|
|
||||||
.data BLOCK(4K) : ALIGN(4K)
|
.data BLOCK(4K) : ALIGN(4K)
|
||||||
{
|
{
|
||||||
start_of_kernel_data = .;
|
start_of_kernel_data = .;
|
||||||
*(.data)
|
*(.data)
|
||||||
end_of_kernel_data = .;
|
end_of_kernel_data = .;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bss BLOCK(4K) : ALIGN(4K)
|
.bss BLOCK(4K) : ALIGN(4K)
|
||||||
{
|
{
|
||||||
start_of_kernel_bss = .;
|
start_of_kernel_bss = .;
|
||||||
*(COMMON)
|
*(COMMON)
|
||||||
*(.bss)
|
*(.bss)
|
||||||
end_of_kernel_bss = .;
|
end_of_kernel_bss = .;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue