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


##########
arch/arm64/src/common/arm64_fatal.c:
##########
@@ -73,6 +83,21 @@ struct fatal_handle_info
 static int default_debug_handler(uint64_t *regs, uint64_t far, uint64_t esr);
 static int default_fatal_handler(uint64_t *regs, uint64_t far, uint64_t esr);
 
+/****************************************************************************
+ * External Definitions
+ ****************************************************************************/
+
+#ifdef CONFIG_BUILD_KERNEL
+/* The code of memcpy() and memset() (libs/libc/machine/arm64).  They are
+ * not there if the C versions are in use.
+ */
+
+extern const char arm64_memcpy_start[] weak_data;

Review Comment:
   can we find a general solution?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to