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
Notes: sideshowbarker 2024-07-18 02:14:31 +09:00

View File

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