Re: [PATCH 3/3] hexagon: Select ARCH_WANT_LD_ORPHAN_WARN
From: Nick Desaulniers
Date: Tue Jun 01 2021 - 15:21:02 EST
On Thu, May 20, 2021 at 6:13 PM Nathan Chancellor <nathan@xxxxxxxxxx> wrote:
>
> 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.
Great to see another arch using this build-safety feature!
Reviewed-by: Nick Desaulniers <ndesaulniers@xxxxxxxxxx>
>
> 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
>
--
Thanks,
~Nick Desaulniers