mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
Kernel/riscv64: Add missing input sections to linker script
The linker would otherwise put those sections after `end_of_kernel_image`.
This commit is contained in:
parent
49b7539290
commit
fa39a57474
Notes:
sideshowbarker
2024-07-17 23:00:03 +09:00
Author: https://github.com/spholz Commit: https://github.com/SerenityOS/serenity/commit/fa39a57474 Pull-request: https://github.com/SerenityOS/serenity/pull/22023
1 changed files with 3 additions and 3 deletions
|
@ -56,13 +56,13 @@ SECTIONS
|
|||
*(.init_array)
|
||||
end_ctors = .;
|
||||
|
||||
*(.rodata*)
|
||||
*(.srodata* .rodata*)
|
||||
} :data
|
||||
|
||||
.data ALIGN(4K) :
|
||||
{
|
||||
start_of_kernel_data = .;
|
||||
*(.data*)
|
||||
*(.sdata* .data*)
|
||||
end_of_kernel_data = .;
|
||||
} :data
|
||||
|
||||
|
@ -76,7 +76,7 @@ SECTIONS
|
|||
.bss ALIGN(4K) (NOLOAD) :
|
||||
{
|
||||
start_of_bss = .;
|
||||
*(.bss)
|
||||
*(.sbss* .bss*)
|
||||
end_of_bss = .;
|
||||
|
||||
. = ALIGN(4K);
|
||||
|
|
Loading…
Reference in a new issue