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

Simon Glass sjg at chromium.org
Mon Nov 30 21:12:26 CET 2020


On Thu, 26 Nov 2020 at 12:46, Heinrich Schuchardt <xypron.glpk at gmx.de> 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>
> ---
>  common/command.c | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list