parthitce commented on code in PR #21456:
URL: https://github.com/apache/nuttx/pull/21456#discussion_r4495765624
##########
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:
Including macro.h in compiler.h broke CI in #21498: OpenSBI, the GD32 NMSIS
headers and CPython define their own STRINGIFY. So compiler.h now uses a small
local stringify, and the board changes are dropped.
--
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]