From 7377a1175c590ef1787e8f00edf6fd15ae389c97 Mon Sep 17 00:00:00 2001 From: Huang Qi Date: Sat, 28 Sep 2024 17:10:32 +0800 Subject: [PATCH] nxstyle: Add NativeSymbol to white list Add the new symbol `NativeSymbol` to the white list, and update the comments about the symbols that are from WAMR project. Signed-off-by: Huang Qi --- tools/nxstyle.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/nxstyle.c b/tools/nxstyle.c index 24312c1464eb6..d3fe74897fd42 100644 --- a/tools/nxstyle.c +++ b/tools/nxstyle.c @@ -227,8 +227,14 @@ static const char *g_white_suffix[] = static const char *g_white_content_list[] = { - /* Ref: wamr_custom_init.c */ + /* Ref: + * nuttx-apps/examples/wamr_module/module_hello.c + * nuttx-apps/interpreters/wamr/wamr_custom_init.c + * + * Them are from the WAMR project. + */ + "NativeSymbol", "RuntimeInitArgs", /* Ref: gnu_unwind_find_exidx.c */