VisionFive2 Linux kernel

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

More than 9999 Commits   32 Branches   54 Tags
author: Yonghong Song <yhs@fb.com> 2021-04-01 16:27:23 -0700 committer: Masahiro Yamada <masahiroy@kernel.org> 2021-04-25 05:25:42 +0900 commit: 1fdd7433a98a2f5511f49ad3f3b82bdd6f77265c parent: 6e74bc4c84546ddbf67ed0f4d45284c9bb153846
Commit Summary:
kbuild: add an elfnote for whether vmlinux is built with lto
Diffstat:
1 file changed, 2 insertions, 0 deletions
diff --git a/init/version.c b/init/version.c
index 92afc782b043..1a356f5493e8 100644
--- a/init/version.c
+++ b/init/version.c
@@ -9,6 +9,7 @@
 
 #include <generated/compile.h>
 #include <linux/build-salt.h>
+#include <linux/elfnote-lto.h>
 #include <linux/export.h>
 #include <linux/uts.h>
 #include <linux/utsname.h>
@@ -45,3 +46,4 @@ const char linux_proc_banner[] =
 	" (" LINUX_COMPILER ") %s\n";
 
 BUILD_SALT;
+BUILD_LTO_INFO;