summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSiddharth Nayyar <sidnayyar@google.com>2026-03-26 21:25:07 +0000
committerSami Tolvanen <samitolvanen@google.com>2026-03-31 23:42:52 +0000
commitf18540256b70c9e1f0e26e2c38f3d43a131926d9 (patch)
tree69d5c747baf635df10fdc21fa22060a492f925d1 /scripts
parentb4760ff2a5e4351c59d185967735f59c0b0bd7f6 (diff)
module: remove *_gpl sections from vmlinux and modules
These sections are not used anymore and can be removed from vmlinux and modules during linking. Signed-off-by: Siddharth Nayyar <sidnayyar@google.com> Reviewed-by: Petr Pavlu <petr.pavlu@suse.com> Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/module.lds.S2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/module.lds.S b/scripts/module.lds.S
index 3ecfb3ea1cc8..2dc4c8c3e667 100644
--- a/scripts/module.lds.S
+++ b/scripts/module.lds.S
@@ -20,9 +20,7 @@ SECTIONS {
}
__ksymtab 0 : ALIGN(8) { *(SORT(___ksymtab+*)) }
- __ksymtab_gpl 0 : ALIGN(8) { *(SORT(___ksymtab_gpl+*)) }
__kcrctab 0 : ALIGN(4) { *(SORT(___kcrctab+*)) }
- __kcrctab_gpl 0 : ALIGN(4) { *(SORT(___kcrctab_gpl+*)) }
__kflagstab 0 : ALIGN(1) { *(SORT(___kflagstab+*)) }
.ctors 0 : ALIGN(8) { *(SORT(.ctors.*)) *(.ctors) }