hexagon: select ARCH_WANT_LD_ORPHAN_WARN
authorNathan Chancellor <nathan@kernel.org>
Thu, 8 Jul 2021 01:07:44 +0000 (18:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 8 Jul 2021 18:48:20 +0000 (11:48 -0700)
Now that we handle all of the sections in a Hexagon defconfig, select
ARCH_WANT_LD_ORPHAN_WARN so that unhandled sections are warned about by
default.

Link: https://lkml.kernel.org/r/20210521011239.1332345-4-nathan@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Acked-by: Brian Cain <bcain@codeaurora.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Oliver Glitta <glittao@gmail.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/hexagon/Kconfig

index 44a409967af1c4c0b2c393ca885495235ebb3a25..e5a852080730fb1804fcdd4b498e3052bdaeef76 100644 (file)
@@ -30,6 +30,7 @@ config HEXAGON
        select MODULES_USE_ELF_RELA
        select GENERIC_CPU_DEVICES
        select SET_FS
+       select ARCH_WANT_LD_ORPHAN_WARN
        help
          Qualcomm Hexagon is a processor architecture designed for high
          performance and low power across a wide variety of applications.