[PATCH 1/1] rockchip: make_fit_atf: ignore empty PT_LOAD segment

Tom Rini trini at konsulko.com
Tue Sep 15 14:57:26 CEST 2020


On Tue, Sep 15, 2020 at 03:43:29AM +0200, Heinrich Schuchardt wrote:

> 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: Heinrich Schuchardt <xypron.glpk at gmx.de>

This also fixes the build issue I had.

Tested-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200915/dc729d3b/attachment.sig>


More information about the U-Boot mailing list