Skip to content
Commit ebf5a79a authored by Ard Biesheuvel's avatar Ard Biesheuvel
Browse files

x86/efistub: Drop redundant clearing of BSS



As it turns out, clearing the BSS was not the right fix for the issue
that was ultimately fixed by commit decd347c ("x86/efistub:
Reinstate soft limit for initrd loading"), and given that the Windows
EFI loader becomes very unhappy when entered with garbage in BSS, this
is one thing that x86 PC EFI implementations can be expected to get
right.

So drop it from the pure PE entrypoint. The handover protocol entrypoint
still needs this - it is used by the flaky distro bootloaders that
barely implement PE/COFF at all.

Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent fb318ca0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment