HomeFreeBSD

[efi] Fix off-by-one error in ARM .bss zeroing code in loader's _start

Description

[efi] Fix off-by-one error in ARM .bss zeroing code in loader's _start

__bss_end should not be included in .bss zeroing code. Otherwise first 4
bytes of the section that follows .bss (in loader's case it's .sdata) are
overwritten by zero.

Reviewed by: andrew
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D9108

Details

Provenance
gonzoAuthored on
Reviewer
andrew
Differential Revision
D9108: Fix UEFI support for ARM
Parents
rS311887: Fix build without IEEE80211_DEBUG.
Branches
Unknown
Tags
Unknown