mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:27:45 +00:00
Kernel: Move end_of_kernel_image after the .ksyms section
Without this we won't be able to detect whether .ksyms overlaps the end of the page table we set up for the kernel image.
This commit is contained in:
parent
acf8f2a2a3
commit
cbdb488578
5 changed files with 38 additions and 5 deletions
|
@ -93,10 +93,13 @@ SECTIONS
|
|||
*(.heap)
|
||||
} :bss
|
||||
|
||||
end_of_kernel_image = .;
|
||||
|
||||
.ksyms ALIGN(4K) : AT (ADDR(.ksyms) - KERNEL_VIRTUAL_BASE)
|
||||
{
|
||||
start_of_kernel_ksyms = .;
|
||||
*(.kernel_symbols)
|
||||
end_of_kernel_ksyms = .;
|
||||
} :ksyms
|
||||
|
||||
end_of_kernel_image = .;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue