[U-Boot] [PATCH] Makefile: Fix linking with modern binutils

Alan Modra amodra at gmail.com
Thu Dec 8 05:52:44 CET 2016


On Thu, Dec 08, 2016 at 02:22:51PM +1100, Joel Stanley wrote:
> error, we are technically creating invalid ELF files without this
> option.

I don't think you were creating invalid ELF files, just unusual ones.

Anyway, passing --no-dynamic-linker is a good idea.  That tells ld
that the PIE or shared lib that you're creating does not need loaded
program headers.

-- 
Alan Modra
Australia Development Lab, IBM


More information about the U-Boot mailing list