[PATCH 1/1] Replace macro "ARCH_HAVE_EXTRA_ELF_NOTES" with kconfig
Florian Weimer
fweimer at redhat.com
Mon Apr 22 18:15:44 AEST 2024
* Vignesh Balasubramanian:
> diff --git a/include/linux/elf.h b/include/linux/elf.h
> index c9a46c4e183b..5c402788da19 100644
> --- a/include/linux/elf.h
> +++ b/include/linux/elf.h
> @@ -65,7 +65,7 @@ extern Elf64_Dyn _DYNAMIC [];
> struct file;
> struct coredump_params;
>
> -#ifndef ARCH_HAVE_EXTRA_ELF_NOTES
> +#ifndef CONFIG_ARCH_HAVE_EXTRA_ELF_NOTES
You could add
#pragma GCC poison ARCH_HAVE_EXTRA_ELF_NOTES
to a central header, to let GCC and Clang flag uses that have not been
converted.
Thanks,
Florian
More information about the Linuxppc-dev
mailing list