[PATCH 1/1] common: always compile fixup_cmdtable()

Tom Rini trini at konsulko.com
Mon Jan 18 14:01:07 CET 2021


On Thu, Nov 26, 2020 at 08:46:37PM +0100, Heinrich Schuchardt wrote:

> With our optimization settings the linker eliminates unused functions.
> 
> But for debugging it is better to compile with -Og or -O0. With -O0
> compiling the sandbox fails due to the missing function fixup_cmdtable()
> called by dm_reloc() and others.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
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/20210118/266d0c93/attachment.sig>


More information about the U-Boot mailing list