mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:57:34 +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)
|
*(.init_array)
|
||||||
end_ctors = .;
|
end_ctors = .;
|
||||||
|
|
||||||
*(.rodata*)
|
*(.srodata* .rodata*)
|
||||||
} :data
|
} :data
|
||||||
|
|
||||||
.data ALIGN(4K) :
|
.data ALIGN(4K) :
|
||||||
{
|
{
|
||||||
start_of_kernel_data = .;
|
start_of_kernel_data = .;
|
||||||
*(.data*)
|
*(.sdata* .data*)
|
||||||
end_of_kernel_data = .;
|
end_of_kernel_data = .;
|
||||||
} :data
|
} :data
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ SECTIONS
|
||||||
.bss ALIGN(4K) (NOLOAD) :
|
.bss ALIGN(4K) (NOLOAD) :
|
||||||
{
|
{
|
||||||
start_of_bss = .;
|
start_of_bss = .;
|
||||||
*(.bss)
|
*(.sbss* .bss*)
|
||||||
end_of_bss = .;
|
end_of_bss = .;
|
||||||
|
|
||||||
. = ALIGN(4K);
|
. = ALIGN(4K);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue