From 58c95f5d85e87848184de312bcd44387f012ecdc Mon Sep 17 00:00:00 2001 From: Huang Qi Date: Fri, 10 Jan 2025 17:26:59 +0800 Subject: [PATCH] armv7-a/Toolchain.defs: Update LLVM arch type to thumbv7a Changed the LLVM architecture type from thumbv7 to thumbv7a in Toolchain.defs to better match the ARMv7-A architecture specification. This change ensures proper code generation and optimization for Cortex-A series processors when using the Thumb instruction set. Signed-off-by: Huang Qi --- arch/arm/src/armv7-a/Toolchain.defs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/armv7-a/Toolchain.defs b/arch/arm/src/armv7-a/Toolchain.defs index 31fce70b92..38ea1511ce 100644 --- a/arch/arm/src/armv7-a/Toolchain.defs +++ b/arch/arm/src/armv7-a/Toolchain.defs @@ -35,7 +35,7 @@ else ifeq ($(CONFIG_ARCH_CORTEXA9),y) endif ifeq ($(CONFIG_ARM_THUMB),y) - LLVM_ARCHTYPE := thumbv7 + LLVM_ARCHTYPE := thumbv7a else LLVM_ARCHTYPE := armv7a endif