[PATCH u-boot 26/39] ARM: fix LTO for imx28_xea

Bin Meng bmeng.cn at gmail.com
Wed Mar 10 06:31:42 CET 2021


On Sun, Mar 7, 2021 at 12:26 PM Marek Behún <marek.behun at nic.cz> 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>
> ---
>  arch/arm/cpu/arm926ejs/mxs/mxs.c      | 2 +-
>  arch/arm/cpu/arm926ejs/mxs/spl_boot.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list