Skip to content

Commit 58c95f5

Browse files
no1wudixiaoxiang781216
authored andcommitted
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 <[email protected]>
1 parent f179cb8 commit 58c95f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/src/armv7-a/Toolchain.defs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ else ifeq ($(CONFIG_ARCH_CORTEXA9),y)
3535
endif
3636

3737
ifeq ($(CONFIG_ARM_THUMB),y)
38-
LLVM_ARCHTYPE := thumbv7
38+
LLVM_ARCHTYPE := thumbv7a
3939
else
4040
LLVM_ARCHTYPE := armv7a
4141
endif

0 commit comments

Comments
 (0)