lkml.org 
[lkml]   [2021]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 3/3] hexagon: Select ARCH_WANT_LD_ORPHAN_WARN
On Thu, May 20, 2021 at 6:13 PM Nathan Chancellor <nathan@kernel.org> 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@google.com>

>
> Signed-off-by: Nathan Chancellor <nathan@kernel.org>
> ---
> 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

\
 
 \ /
  Last update: 2021-06-01 21:21    [W:0.101 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site