1
Fork 0
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:
Timon Kruiper 2022-08-06 10:14:07 +02:00 committed by Linus Groh
parent 22aea9f659
commit c92e68da38

View file

@ -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;