1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:17:44 +00:00

Kernel: Support split data sections

This feature is used by Clang when performing LTO. With this change,
these split sections now go in the right place.
This commit is contained in:
Daniel Bertalan 2021-09-11 09:56:12 +02:00 committed by Linus Groh
parent a8fefd89cd
commit 28c088cd91

View file

@ -87,7 +87,7 @@ SECTIONS
start_of_kernel_bss = .; start_of_kernel_bss = .;
*(page_tables) *(page_tables)
*(COMMON) *(COMMON)
*(.bss) *(.bss*)
end_of_kernel_bss = .; end_of_kernel_bss = .;
. = ALIGN(4K); . = ALIGN(4K);