summaryrefslogtreecommitdiff
path: root/scripts/module.lds.S
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2021-09-09 02:06:48 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2021-09-09 02:06:48 +0300
commit6dcaf9fb623fb87b08e3896cdf6116744bf00668 (patch)
tree398699d58f584716b923dc69f04fda0fb47a7f2f /scripts/module.lds.S
parent1511e5d64a51292a84d38e4146304393ebe4d080 (diff)
parentced75a2f5da71de5775fda44250e27d7b8024355 (diff)
downloadlinux-6dcaf9fb623fb87b08e3896cdf6116744bf00668.tar.xz
Merge tag 'modules-for-v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux
Pull module updates from Jessica Yu: "The only main change I have for this round of updates is the modules MAINTAINERS update. As I find myself with less time to devote to upstream these days, Luis has kindly agreed to help maintain the module loader, to eventually transition to being the primary maintainer. Since Luis is already very involved upstream with experience maintaining various areas of the kernel including the kmod usermode helper, I think he is a great fit for this area of the kernel. Summary: - Add Luis Chamberlain as modules maintainer - Fix for .ctors sections in module linker script" * tag 'modules-for-v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux: MAINTAINERS: Add Luis Chamberlain as modules maintainer module: combine constructors in module linker script
Diffstat (limited to 'scripts/module.lds.S')
-rw-r--r--scripts/module.lds.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/module.lds.S b/scripts/module.lds.S
index 04c5685c25cf..1d0e1e4dc3d2 100644
--- a/scripts/module.lds.S
+++ b/scripts/module.lds.S
@@ -24,6 +24,7 @@ SECTIONS {
__kcrctab 0 : { *(SORT(___kcrctab+*)) }
__kcrctab_gpl 0 : { *(SORT(___kcrctab_gpl+*)) }
+ .ctors 0 : ALIGN(8) { *(SORT(.ctors.*)) *(.ctors) }
.init_array 0 : ALIGN(8) { *(SORT(.init_array.*)) *(.init_array) }
__jump_table 0 : ALIGN(8) { KEEP(*(__jump_table)) }