[PATCH u-boot v4 23/36] ARM: fix LTO for imx28_xea

Tom Rini trini at konsulko.com
Tue May 25 02:56:24 CEST 2021


On Thu, May 20, 2021 at 01:24:12PM +0200, Marek Behún wrote:

> When imx28_xea_defconfig is built with LTO, the compiler complains about
> the two different declarations of _start:
>    include/asm-generic/sections.h    as  extern void _start(void);
>    arch/arm/cpu/arm926ejs/mxs/mxs.c  as  extern uint32_t _start;
> 
> Fix this.
> 
> Signed-off-by: Marek Behún <marek.behun at nic.cz>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

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/20210524/a4ecd518/attachment.sig>


More information about the U-Boot mailing list