mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:57:45 +00:00
Kernel/aarch64: Subtract KERNEL_MAPPING_BASE from driver_init section
This subtraction is necessary to ensure that the section has the correct
address. Also, without this change, the Kernel ELF binary would explode
in size. This was forgotten in a0dd6ec6b1
.
This commit is contained in:
parent
614ff9c46e
commit
d170186163
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ SECTIONS
|
|||
*(.text*)
|
||||
} :text
|
||||
|
||||
.driver_init ALIGN(4K) : AT (ADDR(.driver_init))
|
||||
.driver_init ALIGN(4K) : AT (ADDR(.driver_init) - KERNEL_MAPPING_BASE)
|
||||
{
|
||||
driver_init_table_start = .;
|
||||
*(.driver_init)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue