Skip to content
Commit 5b861eea authored by Heinrich Schuchardt's avatar Heinrich Schuchardt Committed by Kever Yang
Browse files

rockchip: make_fit_atf: ignore empty PT_LOAD segment

The linker sometimes creates PT_LOAD segments with length (p_filesz) zero
as described in https://man7.org/linux/man-pages/man5/elf.5.html

. This
leads to build failures. We should ignore empty segments.

Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
Tested-by: default avatarTom Rini <trini@konsulko.com>
Reviewed-by: default avatarKever Yang <kever.yang@rock-chips.com>
parent 454b792a
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