RE: [PATCH 3/3] hexagon: Select ARCH_WANT_LD_ORPHAN_WARN
From: Brian Cain
Date: Thu Jun 03 2021 - 13:00:18 EST
> -----Original Message-----
> From: Nathan Chancellor <nathan@xxxxxxxxxx>
> Sent: Thursday, May 20, 2021 8:13 PM
> To: Brian Cain <bcain@xxxxxxxxxxxxxx>; Andrew Morton <akpm@linux-
> foundation.org>
> Cc: Nick Desaulniers <ndesaulniers@xxxxxxxxxx>; linux-
> hexagon@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; clang-built-
> linux@xxxxxxxxxxxxxxxx; Nathan Chancellor <nathan@xxxxxxxxxx>
> Subject: [PATCH 3/3] hexagon: Select ARCH_WANT_LD_ORPHAN_WARN
>
> 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.
>
> Signed-off-by: Nathan Chancellor <nathan@xxxxxxxxxx>
> ---
> arch/hexagon/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/hexagon/Kconfig b/arch/hexagon/Kconfig
> index 44a409967af1..e5a852080730 100644
> --- a/arch/hexagon/Kconfig
> +++ b/arch/hexagon/Kconfig
> @@ -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.
> --
> 2.32.0.rc0
Acked-by: Brian Cain <bcain@xxxxxxxxxxxxxx>