VisionFive2 Linux kernel

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

More than 9999 Commits   33 Branches   57 Tags
author: Jakub Kicinski <kuba@kernel.org> 2021-04-09 20:46:01 -0700 committer: Jakub Kicinski <kuba@kernel.org> 2021-04-09 20:48:35 -0700 commit: 8859a44ea0df92bccdc942ef15781ebbfe0ad9f3 parent: 6c5e6b4ccc1bb9ac56579a9aed25d517d2318be6
Commit Summary:
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Diffstat:
1 file changed, 2 insertions, 0 deletions
diff --git a/scripts/module.lds.S b/scripts/module.lds.S
index 168cd27e6122..2c52535f9b56 100644
--- a/scripts/module.lds.S
+++ b/scripts/module.lds.S
@@ -20,6 +20,7 @@ SECTIONS {
 
 	__patchable_function_entries : { *(__patchable_function_entries) }
 
+#ifdef CONFIG_LTO_CLANG
 	/*
 	 * With CONFIG_LTO_CLANG, LLD always enables -fdata-sections and
 	 * -ffunction-sections, which increases the size of the final module.
@@ -41,6 +42,7 @@ SECTIONS {
 	}
 
 	.text : { *(.text .text.[0-9a-zA-Z_]*) }
+#endif
 }
 
 /* bring in arch-specific sections */