mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:07:44 +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
|
||||
{
|
||||
. = 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 = .;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue