[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v7 4/6] include/elf: Add defines related to GNU
From: |
Dave Martin |
Subject: |
Re: [Qemu-devel] [PATCH v7 4/6] include/elf: Add defines related to GNU property notes for AArch64 |
Date: |
Tue, 20 Aug 2019 17:03:29 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
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
> > <address@hidden> 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 <address@hidden>
> >
> > 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
- [Qemu-devel] [PATCH v7 0/6] target/arm: Implement ARMv8.5-BTI for linux-user, Richard Henderson, 2019/08/03
- [Qemu-devel] [PATCH v7 3/6] linux-user: Set PAGE_TARGET_1 for TARGET_PROT_BTI, Richard Henderson, 2019/08/03
- [Qemu-devel] [PATCH v7 2/6] linux-user: Validate mmap/mprotect prot value, Richard Henderson, 2019/08/03
- [Qemu-devel] [PATCH v7 5/6] linux-user: Parse NT_GNU_PROPERTY_TYPE_0 notes, Richard Henderson, 2019/08/03
- [Qemu-devel] [PATCH v7 6/6] tests/tcg/aarch64: Add bti smoke test, Richard Henderson, 2019/08/03
- Re: [Qemu-devel] [PATCH v7 0/6] target/arm: Implement ARMv8.5-BTI for linux-user, no-reply, 2019/08/03