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

efi/zboot: arm64: Grab code size from ELF symbol in payload



Instead of relying on a dodgy dd hack to copy the image code size from
the uncompressed image's PE header to the end of the compressed image,
let's grab the code size from the symbol that is injected into the ELF
object by the Kbuild rules that generate the compressed payload.

Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
Acked-by: Mark Rutland's avatarMark Rutland <mark.rutland@arm.com>
parent 45dd403d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment