[PATCH v1] scripts/tags.sh: tag SYM_*START*() assembler symbols

From: Costa Shulyupin
Date: Fri Jan 31 2025 - 10:56:42 EST


The `startup_64` symbol and many other assembler symbols are not tagged.

Add a generic rule to tag assembler symbols defined with macros like
SYM_*START*(symbol).

Signed-off-by: Costa Shulyupin <costa.shul@xxxxxxxxxx>
---
scripts/tags.sh | 1 +
1 file changed, 1 insertion(+)

diff --git a/scripts/tags.sh b/scripts/tags.sh
index 45eaf35f5bff8..98680e9cd7be3 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -146,6 +146,7 @@ dogtags()
# a ^[^#] is prepended by setup_regex unless an anchor is already present
regex_asm=(
'/^\(ENTRY\|_GLOBAL\)([[:space:]]*\([[:alnum:]_\\]*\)).*/\2/'
+ '/^SYM_[[:alnum:]_]*START[[:alnum:]_]*([[:space:]]*\([[:alnum:]_\\]*\)).*/\1/'
)
regex_c=(
'/^SYSCALL_DEFINE[0-9]([[:space:]]*\([[:alnum:]_]*\).*/sys_\1/'
--
2.47.0