On Tue, Aug 20, 2019 at 04:59:50PM +0100, Richard Henderson wrote: > On 8/20/19 8:39 AM, Peter Maydell wrote: > > On Sat, 3 Aug 2019 at 22:08, Richard Henderson > > <richard.hender...@linaro.org> wrote: > >> > >> These are all of the defines required to parse > >> GNU_PROPERTY_AARCH64_FEATURE_1_AND, copied from binutils. > >> Other missing defines related to other GNU program headers > >> and notes are elided for now. > >> > >> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> > > > > What's the authoritative source for these definitions? I > > tried looking in glibc, binutils and the kernel without > > any luck. > > Presumably the true "authoritative" source is an ARM document, but I don't > have > that handy. > > For binutils, the defines are in include/elf/common.h: > > https://sourceware.org/git/?p=binutils-gdb.git;a=blob_plain;f=include/elf/common.h;hb=HEAD > > The upstream kernel is also lacking the defines, as they're part of the ARM > patch set that is still in flight. The defines are still not present in glibc > as of today.
The AArch64 spec is here: https://developer.arm.com/docs/ihi0056/latest/elf-for-the-arm-64-bit-architecture-aarch64-abi-2019q2-documentation Cheers ---Dave