You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/09/26 17:04:34 UTC

[incubator-nuttx] branch master updated: arm/armv7-r: redefine the linker symbols as armlink style

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

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


The following commit(s) were added to refs/heads/master by this push:
     new aa51629bd2 arm/armv7-r: redefine the linker symbols as armlink style
aa51629bd2 is described below

commit aa51629bd2bf0fda45599b97d0686d8976438159
Author: chao an <an...@xiaomi.com>
AuthorDate: Mon Sep 26 22:00:56 2022 +0800

    arm/armv7-r: redefine the linker symbols as armlink style
    
    Fix build break:
    
    Error: L6218E: Undefined symbol _sbss (referred from arm_head.o).
    Error: L6218E: Undefined symbol _ebss (referred from arm_head.o).
    Error: L6218E: Undefined symbol _eronly (referred from arm_head.o).
    Error: L6218E: Undefined symbol _sdata (referred from arm_head.o).
    Error: L6218E: Undefined symbol _edata (referred from arm_head.o).
    
    Signed-off-by: chao an <an...@xiaomi.com>
---
 arch/arm/src/armv7-r/arm_head.S | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/src/armv7-r/arm_head.S b/arch/arm/src/armv7-r/arm_head.S
index d5744dd145..a881845437 100644
--- a/arch/arm/src/armv7-r/arm_head.S
+++ b/arch/arm/src/armv7-r/arm_head.S
@@ -27,6 +27,7 @@
 #include "arm.h"
 #include "cp15.h"
 #include "sctlr.h"
+#include "arm_internal.h"
 
 	.file	"arm_head.S"