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 <huangqi3@xiaomi.com>
This commit is contained in:
Huang Qi 2025-01-10 17:26:59 +08:00 committed by Xiang Xiao
parent f179cb81b5
commit 58c95f5d85

View file

@ -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