[Bug libc/15794] move AT_* constants definition from elf.h into sysdeps (bits) directory

adconrad at 0c3 dot net sourceware-bugzilla@sourceware.org
Mon Nov 25 21:34:00 GMT 2013


https://sourceware.org/bugzilla/show_bug.cgi?id=15794

--- Comment #10 from Adam Conrad <adconrad at 0c3 dot net> ---
(In reply to Carlos O'Donell from comment #9)
> (c) Have elf.h include bits/auxv-base.h (not bits/auxv.h) to provide the
> os-independent auxv constants. This should prevent some source breakage and
> allow the continued use of AT_NULL to AT_ENTRY Which appear to be the only
> set of truly os-independent AT_* constants.

This would fix the one gcc issue I found with elf.h no longer including these
definitions.  I can scrub binutils, but given that it defines a lot of these
bits independently anyway, I imagine it'll be in good shape too.

Random userspace packages might explode here and there, but these will all be
build failures, not runtime, and we can easily weed them out in an archive
rebuild test in Debian or Ubuntu and push patches upstream for the rather tiny
set of sources that I expect will be affected by suddenly needing sys/auxv.h.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Glibc-bugs mailing list