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-10-27 17:24:13 -06:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2024-05-20 13:35:03 -06:00
2021-09-24 07:48:06 -04:00
2024-08-26 14:06:08 -06:00
2023-08-17 16:39:20 -04:00
2024-05-20 13:35:03 -06:00
2025-03-10 09:22:35 +01:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2025-04-14 08:59:39 -06:00
2021-09-30 09:08:16 -04:00
2024-05-20 13:35:03 -06:00
2025-03-13 10:36:10 -06:00
2025-01-17 20:31:26 +01:00
2025-01-17 20:31:26 +01:00
2025-03-13 10:36:10 -06:00
2023-02-07 14:33:48 -05:00
2020-01-17 17:53:40 -05:00
2021-09-30 09:08:16 -04:00
2024-10-11 11:44:47 -06:00
2025-01-17 20:31:26 +01:00
2025-01-17 20:31:26 +01:00
2024-03-19 18:40:46 -04:00
2024-10-27 17:24:13 -06:00
2024-10-27 17:24:13 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2023-04-06 19:10:08 -04:00
2018-05-07 09:34:12 -04:00
2024-10-27 18:44:13 -06:00
2021-09-24 07:48:06 -04:00
2022-09-02 13:40:42 -04:00
2021-09-24 07:48:06 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2024-05-20 13:35:03 -06:00
2018-07-19 16:31:36 -04:00
2018-07-19 16:31:36 -04:00
2022-10-31 11:01:31 -04:00
2025-02-10 16:37:22 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-10-03 11:52:16 -06:00
2023-11-10 12:52:28 -05:00
2018-05-07 09:34:12 -04:00
2022-09-02 13:40:42 -04:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:47 -06:00
2018-05-07 09:34:12 -04:00
2022-06-06 12:09:19 -04:00
2024-10-11 11:44:47 -06:00
2025-02-19 18:49:36 -06:00
2024-02-29 09:24:22 -05:00
2024-10-11 11:44:47 -06:00