From: Tom Rini Date: Mon, 18 Jan 2021 08:01:07 -0500 Subject: [PATCH 1/1] common: always compile fixup_cmdtable() In-Reply-To: <20201126194637.59863-1-xypron.glpk@gmx.de> References: <20201126194637.59863-1-xypron.glpk@gmx.de> Message-ID: <20210118130107.GS9782@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 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 > Reviewed-by: Simon Glass 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: