]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
modpost: Ignore unresolved section bounds symbols
authorJosh Poimboeuf <jpoimboe@kernel.org>
Wed, 17 Sep 2025 16:03:17 +0000 (09:03 -0700)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Tue, 14 Oct 2025 21:45:22 +0000 (14:45 -0700)
commit4109043bff31f95d3da9ace33eb3c1925fd62cbd
tree86753de2fc0cd097ef10dec51f2a03995f7eeb8a
parent6717e8f91db71641cb52855ed14c7900972ed0bc
modpost: Ignore unresolved section bounds symbols

In preparation for klp-build livepatch module creation tooling,
suppress warnings for unresolved references to linker-generated
__start_* and __stop_* section bounds symbols.

These symbols are expected to be undefined when modpost runs, as they're
created later by the linker.

Cc: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Petr Mladek <pmladek@suse.com>
Tested-by: Joe Lawrence <joe.lawrence@redhat.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
scripts/mod/modpost.c