From: Tom Rini Date: Tue, 15 Sep 2020 08:57:26 -0400 Subject: [PATCH 1/1] rockchip: make_fit_atf: ignore empty PT_LOAD segment In-Reply-To: <20200915014329.111483-1-xypron.glpk@gmx.de> References: <20200915014329.111483-1-xypron.glpk@gmx.de> Message-ID: <20200915125726.GF5110@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 This also fixes the build issue I had. Tested-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: