mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +00:00
Kernel: Do not mark .ro_after_init
as NOLOAD
There is no particular reason why this section should be marked as `NOBITS` (as it might very well include initialized values), and it resolves 90% of the mismatches between the input and output sections, which LLD now warns about when linking.
This commit is contained in:
parent
07b950d8a6
commit
d72a3b5959
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ SECTIONS
|
|||
end_of_kernel_data = .;
|
||||
} :data
|
||||
|
||||
.ro_after_init ALIGN(4K) (NOLOAD) : AT(ADDR(.ro_after_init))
|
||||
.ro_after_init ALIGN(4K) : AT(ADDR(.ro_after_init))
|
||||
{
|
||||
start_of_ro_after_init = .;
|
||||
*(.ro_after_init);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue