parthitce commented on code in PR #21456:
URL: https://github.com/apache/nuttx/pull/21456#discussion_r4484497314


##########
include/nuttx/compiler.h:
##########
@@ -199,6 +199,14 @@
 #    define CONFIG_HAVE_BUILTIN_FFSLL 1
 #  endif
 
+  /* An __asm__ label names the symbol with __USER_LABEL_PREFIX__ ("_" on
+   * RH850 and RX, empty on most targets).
+   */
+
+#  define asm_symbol_str_(x) #x
+#  define asm_symbol_str(x)  asm_symbol_str_(x)
+#  define asm_symbol(fn)     asm_symbol_str(__USER_LABEL_PREFIX__) #fn

Review Comment:
   Addressed in https://github.com/apache/nuttx/pull/21498 



-- 
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