mirror-linux/scripts/mod
Siddharth Nayyar 55fcb926b6 module: use kflagstab instead of *_gpl sections
Read kflagstab section for vmlinux and modules to determine whether
kernel symbols are GPL only.

This patch eliminates the need for fragmenting the ksymtab for infering
the value of GPL-only symbol flag, henceforth stop populating *_gpl
versions of the ksymtab and kcrctab in modpost.

Signed-off-by: Siddharth Nayyar <sidnayyar@google.com>
Reviewed-by: Petr Pavlu <petr.pavlu@suse.com>
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
2026-03-31 23:42:52 +00:00
..
.gitignore .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
Makefile Makefile: remove redundant tool coverage variables 2024-05-14 23:35:48 +09:00
devicetable-offsets.c mcb: Add missing modpost build support 2025-12-27 20:48:01 +01:00
empty.c
file2alias.c mcb: Add missing modpost build support 2025-12-27 20:48:01 +01:00
mk_elfconfig.c modpost: detect endianness on run-time 2024-09-01 20:33:32 +09:00
modpost.c module: use kflagstab instead of *_gpl sections 2026-03-31 23:42:52 +00:00
modpost.h modpost: Create modalias for builtin modules 2025-09-24 09:10:45 -07:00
sumversion.c modpost: use strstarts() to clean up parse_source_files() 2025-03-15 21:16:22 +09:00
symsearch.c modpost: replace the use of NOFAIL() with xmalloc() etc. 2024-09-01 20:34:48 +09:00