mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:27:35 +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
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…
Add table
Add a link
Reference in a new issue