s390: select CONFIG_ARCH_WANT_LD_ORPHAN_WARN
authorNathan Chancellor <nathan@kernel.org>
Thu, 8 Feb 2024 00:15:02 +0000 (17:15 -0700)
committerHeiko Carstens <hca@linux.ibm.com>
Wed, 14 Feb 2024 12:50:53 +0000 (13:50 +0100)
commitacb7c202baa76235ed478043809366e7de1741c2
tree94e6e255c8a2bf9fe70514c3d51f1430b52516cc
parentc0f98ea0e7eafb3ca5ea4a178de6d0ce36333ae7
s390: select CONFIG_ARCH_WANT_LD_ORPHAN_WARN

Now that all sections have been properly accounted for in the s390
linker scripts, select CONFIG_ARCH_WANT_LD_ORPHAN_WARN so that
'--orphan-handling' is added to LDFLAGS to catch any future sections
that are added without being described in linker scripts.

Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Tested-by: Justin Stitt <justinstitt@google.com>
Link: https://lore.kernel.org/r/20240207-s390-lld-and-orphan-warn-v1-10-8a665b3346ab@kernel.org
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/Kconfig