Make sure __bss_start is aligned on an 8-byte boundary. This makes sure
authorkettenis <kettenis@openbsd.org>
Sun, 27 Jun 2021 21:39:55 +0000 (21:39 +0000)
committerkettenis <kettenis@openbsd.org>
Sun, 27 Jun 2021 21:39:55 +0000 (21:39 +0000)
commit8f9b2a9c085d9b3c9cd542c4ae072cd540cd99be
treeeda50ea8d1409b4fe608161c8f86914a698cf7c8
parentf17a319cefc154d8f4ce839008ca06e3d68078e8
Make sure __bss_start is aligned on an 8-byte boundary.  This makes sure
zeroing out .bss doesn't overrun and overwrite the ELF symbol table.

ok patrick@
sys/arch/arm64/conf/kern.ldscript
sys/arch/riscv64/conf/kern.ldscript