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

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

commit 3d865e98951dfbe931b0390d59160b09dea4ff04
Author: hujun5 <[email protected]>
AuthorDate: Mon Nov 23 11:03:39 2026 +0800

    armv8-r: Provide the generic system vector symbol
    
    QEMU IRQ initialization references the common _vector_start symbol, while 
ARMv8-R exports separate system and hypervisor vector table names.  Once the 
QEMU IRQ object supplies up_irqinitialize(), the missing generic symbol causes 
an undefined reference at link time.
    
    Export _vector_start as an alias of _sys_vector_start so common chip code 
can use the architecture-neutral symbol without losing the explicit ARMv8-R 
system and hypervisor names.
    
    Signed-off-by: hujun5 <[email protected]>
---
 arch/arm/src/armv8-r/arm_vectortab.S | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/src/armv8-r/arm_vectortab.S 
b/arch/arm/src/armv8-r/arm_vectortab.S
index 01b8145bc6c..e49653306bf 100644
--- a/arch/arm/src/armv8-r/arm_vectortab.S
+++ b/arch/arm/src/armv8-r/arm_vectortab.S
@@ -45,6 +45,7 @@
 #endif
        .arm
 
+       .globl          _vector_start
        .globl          _sys_vector_start
        .globl          _sys_vector_end
 
@@ -61,6 +62,7 @@
 
        .section        .sys_vectors, "ax"
 
+_vector_start:
 _sys_vector_start:
        ldr             pc, .Lresethandler              /* 0x00: Reset */
        ldr             pc, .Lundefinedhandler          /* 0x04: Undefined 
instruction */

Reply via email to