Re: [PATCH 20/24] alpha: select ARCH_WANT_LD_ORPHAN_WARN

From: Magnus Lindholm

Date: Thu Sep 03 2026 - 01:34:22 EST


Hi Matt,

On Tue, Sep 1, 2026 at 5:51 PM Matt Turner <mattst88@xxxxxxxxx> wrote:
>
> With .eh_frame and the relocation sections now placed explicitly, an
> Alpha kernel links with no orphan sections left, so ask the linker to
> warn if new ones appear.
>
> Assisted-by: Claude:claude-opus-5
> Signed-off-by: Matt Turner <mattst88@xxxxxxxxx>

Build tested this for Alpla, looks good to me.

Tested-by: Magnus Lindholm <linmag7@xxxxxxxxx>
Reviewed-by: Magnus Lindholm <linmag7@xxxxxxxxx>

> ---
> arch/alpha/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git ./arch/alpha/Kconfig ./arch/alpha/Kconfig
> index 4c60c442207c..827b224f2f8a 100644
> --- ./arch/alpha/Kconfig
> +++ ./arch/alpha/Kconfig
> @@ -38,6 +38,7 @@ config ALPHA
> select AUTO_IRQ_AFFINITY if SMP
> select GENERIC_IRQ_SHOW
> select ARCH_WANT_IPC_PARSE_VERSION
> + select ARCH_WANT_LD_ORPHAN_WARN
> select ARCH_HAVE_NMI_SAFE_CMPXCHG
> select AUDIT_ARCH
> select EDAC_SUPPORT
> --
> 2.54.0
>