[PATCH] Update check for <asm/elf.h>

Joseph S. Myers joseph@codesourcery.com
Tue Nov 6 16:18:00 GMT 2012


On Tue, 30 Oct 2012, Carlos O'Donell wrote:

> On Tue, Oct 30, 2012 at 5:06 PM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> > 3.7 renamed the inclusion guard of <asm/elf.h>.
> >
> > Andreas.
> >
> >         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Also check for
> >         _UAPI_ASM_POWERPC_ELF_H.
> 
> Do any other arches need this?
> 
> It doesn't look like it. I also looked for similar inclusion guard checks
> and found none but the one in the file you've just fixed.

Bug 14809 has been filed for such an architecture-independent issue....

FWIW, I think fixes for such issues should be backported to 2.16 and 2.15 
branches for the benefit of anyone using new kernel headers with older 
glibc.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list