[PATCH v2] Make elf.h header self contained.
Érico Nogueira
ericonr@disroot.org
Wed Oct 28 17:05:16 GMT 2020
On Wed Oct 28, 2020 at 9:16 AM -03, Florian Weimer wrote:
> * Érico Nogueira via Libc-alpha:
>
> > From: Érico Rolim <ericonr@disroot.org>
> >
> > The elf/elf.h header is shared, verbatim, by the elfutils project.
> > However, elfutils can be used on systems with libcs other than glibc,
> > making the presence of __BEGIN_DECLS, __END_DECLS and <features.h> in
> > the file something that downstream distros may have to add patches for.
> >
> > Furthermore, this file doesn't declare anything with language linkage,
> > so `extern "C" {}` blocks aren't necessary; it also doesn't have any
> > conditional definitions based on feature test macros, making inclusion
> > of features.h unnecessary.
>
> I've pushed this for you after checking that the glibcs stage of
> build-many-glibcs.py still passes.
>
> Thanks,
> Florian
> --
> Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
> Commercial register: Amtsgericht Muenchen, HRB 153243,
> Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael
> O'Neill
Thank you!
Érico
More information about the Libc-alpha
mailing list