summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCosta Shulyupin <costa.shul@redhat.com>2025-01-31 17:54:30 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-20 15:24:09 +0100
commit1a09cd9b7bc76e9e1d753c77584079d302241c23 (patch)
tree890a9f4cfdeae2763798e7accaa68191387fa9fc /scripts
parentbe382372d55d65b5c7e5a523793ca5e403f8c595 (diff)
scripts/tags.sh: tag SYM_*START*() assembler symbols
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@redhat.com> Link: https://lore.kernel.org/r/20250131155439.2025038-1-costa.shul@redhat.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tags.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/tags.sh b/scripts/tags.sh
index 45eaf35f5bff..98680e9cd7be 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/'