xiaoxiang781216 commented on code in PR #13146:
URL: https://github.com/apache/nuttx/pull/13146#discussion_r1730556499


##########
libs/libc/machine/arch_atomic.c:
##########
@@ -754,3 +754,16 @@ SYNC_VAL_CMP_SWAP(4, uint32_t)
 SYNC_VAL_CMP_SWAP(8, uint64_t)
 
 #endif /* __clang__ */
+
+#ifdef __ghs__
+
+/****************************************************************************
+ * Name: __sync_synchronize
+ ****************************************************************************/
+
+void weak_function __sync_synchronize(void)

Review Comment:
   not sure whether it happen on other arch since we just make Greenhill 
compiler work on cortex-m7 arch so far.



-- 
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-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to