Messages in this thread | ![/](/images/icornerl.gif) | | From | Florian Weimer <> | Subject | Re: [PATCH 1/1] Replace macro "ARCH_HAVE_EXTRA_ELF_NOTES" with kconfig | Date | Mon, 22 Apr 2024 10:15:44 +0200 |
| |
* 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
| ![\](/images/icornerr.gif) |