1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:37:46 +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 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 = .;
} }
} }