VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Reiner Huober <reiner.huober@nokia.com> 2021-07-06 15:02:52 +0200 committer: Jessica Yu <jeyu@kernel.org> 2021-07-19 14:51:40 +0200 commit: 4c5afb74d9450edc2e2e37243b469cc278b120d4 parent: e73f0f0ee7541171d89f2e2491130c7771ba58d3
Commit Summary:
module: combine constructors in module linker script
Diffstat:
1 file changed, 1 insertion, 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)) }