mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:57:35 +00:00
Kernel: Rounding size of bss to be a multiple of 8 for aarch64 linker.ld
This fixes a bug where the bss was not completely zeroed out. This bug showed up when running the aarch64 Kernel baremetal on a Raspberry Pi.
This commit is contained in:
parent
22aea9f659
commit
c92e68da38
1 changed files with 1 additions and 1 deletions
|
@ -78,4 +78,4 @@ SECTIONS
|
|||
page_tables_phys_end = .;
|
||||
}
|
||||
|
||||
size_of_bss_divided_by_8 = (end_of_bss - start_of_bss) / 8;
|
||||
size_of_bss_divided_by_8 = (end_of_bss - start_of_bss + 7) / 8;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue