]> git.baikalelectronics.ru Git - uboot.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)
commit26e5635a0ac609c678e156bd3ee41f2f64599238
tree4ead221d15856cebdcab2adf66fb6611e5c6b3ac
parent7a7d6399f605b4ae64e091d3383c6622a2a85613
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