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

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

commit dc5b9b882aed7b831db0831de83da57a0c5c81aa
Author: Junbo Zheng <[email protected]>
AuthorDate: Fri Jun 26 11:29:36 2026 +0800

    arm/armv7-m: remove duplicate .globl for up_saveusercontext
    
    The up_saveusercontext symbol was declared with .globl twice in a
    row. The .globl directive is idempotent, so the duplicate line has
    no effect on the generated object; drop it to match the single
    declaration used by the other .S files in this directory.
    
    Signed-off-by: Junbo Zheng <[email protected]>
---
 arch/arm/src/armv7-m/arm_saveusercontext.S | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/src/armv7-m/arm_saveusercontext.S 
b/arch/arm/src/armv7-m/arm_saveusercontext.S
index 52e2af3e31a..e8415e15345 100644
--- a/arch/arm/src/armv7-m/arm_saveusercontext.S
+++ b/arch/arm/src/armv7-m/arm_saveusercontext.S
@@ -57,7 +57,6 @@
  ****************************************************************************/
 
        .globl  up_saveusercontext
-       .globl  up_saveusercontext
 #ifdef __ghs__
        .type   up_saveusercontext, $function
 #else

Reply via email to