Re: [PATCH u-boot v4 22/36] ARM: fix LTO build for some thumb-interwork cases

2021-05-24 Thread Tom Rini
On Thu, May 20, 2021 at 01:24:11PM +0200, Marek Behún wrote:

> Fix LTO build for some thumb-interwork usecases (such as for
> da850evm_defconfig), where inline assmebly such as
>   mrc p15,0,r2,c1,c0,0
> causes the compiler to fail during LTO linking with
>   Error: selected processor does not support `mrc p15,0,r2,c1,c0,0'
>  in Thumb mode
> 
> Signed-off-by: Marek Behún 
> Reviewed-by: Simon Glass 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Re: [PATCH u-boot v4 22/36] ARM: fix LTO build for some thumb-interwork cases

2021-05-20 Thread Simon Glass
On Thu, 20 May 2021 at 05:25, Marek Behún  wrote:
>
> Fix LTO build for some thumb-interwork usecases (such as for
> da850evm_defconfig), where inline assmebly such as

assembly

>   mrc p15,0,r2,c1,c0,0
> causes the compiler to fail during LTO linking with
>   Error: selected processor does not support `mrc p15,0,r2,c1,c0,0'
>  in Thumb mode
>
> Signed-off-by: Marek Behún 
> ---
>  arch/arm/cpu/arm926ejs/Makefile | 2 ++
>  arch/arm/lib/Makefile   | 1 +
>  2 files changed, 3 insertions(+)

Reviewed-by: Simon Glass