VisionFive2 Linux kernel

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

More than 9999 Commits   32 Branches   54 Tags
author: Nathan Chancellor <natechancellor@gmail.com> 2020-11-19 13:46:56 -0700 committer: Masahiro Yamada <masahiroy@kernel.org> 2020-12-01 22:45:36 +0900 commit: 59612b24f78a0b61fe078ec9dff2e48e9cec52c0 parent: b8a9092330da2030496ff357272f342eb970d51b
Commit Summary:
kbuild: Hoist '--orphan-handling' into Kconfig
Diffstat:
1 file changed, 5 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index c9446911cf41..92c58b45abb8 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1348,6 +1348,11 @@ config LD_DEAD_CODE_DATA_ELIMINATION
 	  present. This option is not well tested yet, so use at your
 	  own risk.
 
+config LD_ORPHAN_WARN
+	def_bool y
+	depends on ARCH_WANT_LD_ORPHAN_WARN
+	depends on $(ld-option,--orphan-handling=warn)
+
 config SYSCTL
 	bool