This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 58c95f5d85 armv7-a/Toolchain.defs: Update LLVM arch type to thumbv7a
58c95f5d85 is described below

commit 58c95f5d85e87848184de312bcd44387f012ecdc
Author: Huang Qi <huang...@xiaomi.com>
AuthorDate: Fri Jan 10 17:26:59 2025 +0800

    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 <huang...@xiaomi.com>
---
 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

Reply via email to