You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/09/22 13:49:36 UTC
[GitHub] [incubator-nuttx] anchao commented on a diff in pull request #7165: arch/arm: redefine the linker symbols as armlink style
anchao commented on code in PR #7165:
URL: https://github.com/apache/incubator-nuttx/pull/7165#discussion_r977681559
##########
arch/arm/include/arch.h:
##########
@@ -104,6 +104,26 @@ do { \
# endif
#endif /* CONFIG_ARCH_ADDRENV */
+/* Redefine the linker symbols as armlink style */
+
+#ifdef CONFIG_ARM_TOOLCHAIN_ARMCLANG
+# define _stext Image$$text$$Base
+# define _etext Image$$text$$Limit
+# define _eronly Image$$eronly$$Base
+# define _sdata Image$$data$$Base
+# define _edata Image$$data$$RW$$Limit
+# define _sbss Image$$bss$$Base
+# define _ebss Image$$bss$$ZI$$Limit
+# define _stdata Image$$tdata$$Base
+# define _etdata Image$$tdata$$Limit
+# define _stbss Image$$tbss$$Base
+# define _etbss Image$$tbss$$Limit
Review Comment:
Done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org