Re: [PATCH] binfmt_elf: Extract .note.gnu.property from an ELF file

From: Matthew Wilcox
Date: Wed May 01 2019 - 17:37:37 EST


On Wed, May 01, 2019 at 02:12:17PM -0700, Yu-cheng Yu wrote:
> +++ b/fs/Kconfig.binfmt
> @@ -35,6 +35,10 @@ config COMPAT_BINFMT_ELF
> config ARCH_BINFMT_ELF_STATE
> bool
>
> +config ARCH_USE_GNU_PROPERTY
> + bool
> + depends on 64BIT

I don't think this is right. I think you should get rid of the depends line
and instead select the symbol from each of argh64 and x86 Kconfig files.