Files
u-boot/arch/arm/include/asm
Jerome Forissier 6fe50e3950 arm: asm/system.h: mrc and mcr need .arm if __thumb2__ is not set
The mcr and msr instructions are available in Thumb mode only if
Thumb2 is supported. Therefore, if __thumb2__ is not set, make
sure we switch to ARM mode by inserting a .arm directive in the
inline assembly.

Fixes LTO link errors with kirkwood platforms, triggered by a later
commit:

 tools/buildman/buildman -o /tmp/build -eP sheevaplug
 [...]
 {standard input}:24085: Error: selected processor does not support `mrc p15,0,r3,c1,c0,0' in Thumb mode

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
2025-04-14 08:59:39 -06:00
..
2024-12-07 09:07:04 -03:00
2024-12-07 09:07:04 -03:00
2022-07-08 17:57:33 -04:00
2018-09-25 21:49:18 -04:00
2023-08-17 16:39:20 -04:00
2021-09-24 14:30:46 -04:00
2024-07-15 12:12:16 -06:00
2020-01-24 11:19:52 -05:00
2022-03-02 13:59:29 -05:00
2022-01-19 18:11:34 +01:00
2023-01-31 15:46:39 +01:00
2025-03-10 07:41:16 +01:00
2022-04-01 16:56:53 -04:00
2023-05-31 14:05:34 -04:00
2021-09-30 08:08:56 -04:00