On Thu, 26 Nov 2020 at 12:46, Heinrich Schuchardt <xypron.g...@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.g...@gmx.de> > --- > common/command.c | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) >
Reviewed-by: Simon Glass <s...@chromium.org>