]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: fix LTO build for some thumb-interwork cases
authorMarek Behún <marek.behun@nic.cz>
Thu, 20 May 2021 11:24:11 +0000 (13:24 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 24 May 2021 18:21:30 +0000 (14:21 -0400)
commite5fc9037dd3391a63cf6f6f7da015507ae12158d
tree4ead221d15856cebdcab2adf66fb6611e5c6b3ac
parent86c5e21013d5efd895de9905a19893b4403e4642
ARM: fix LTO build for some thumb-interwork cases

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 <marek.behun@nic.cz>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/cpu/arm926ejs/Makefile
arch/arm/lib/Makefile