Skip to content

Commit

Permalink
armv7-a/Toolchain.defs: Update LLVM arch type to thumbv7a
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
no1wudi committed Jan 10, 2025
1 parent 6dbdfb3 commit f1d7bbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/src/armv7-a/Toolchain.defs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f1d7bbb

Please sign in to comment.