From: Dave Martin <Dave.Martin@arm.com>
To: Richard Henderson <richard.henderson@linaro.org>
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
qemu-arm <qemu-arm@nongnu.org>,
"Alex Bennée" <alex.bennee@linaro.org>,
"QEMU Developers" <qemu-devel@nongnu.org>
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 [thread overview]
Message-ID: <20190820160320.GA27757@arm.com> (raw)
In-Reply-To: <7c739082-c1d5-ad03-0020-9776cf08694a@linaro.org>
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.henderson@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.henderson@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
next prev parent reply other threads:[~2019-08-20 16:09 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-03 21:07 [Qemu-devel] [PATCH v7 0/6] target/arm: Implement ARMv8.5-BTI for linux-user Richard Henderson
2019-08-03 21:07 ` [Qemu-devel] [PATCH v7 1/6] linux-user/aarch64: Reset btype for signals Richard Henderson
2019-08-03 21:07 ` [Qemu-devel] [PATCH v7 2/6] linux-user: Validate mmap/mprotect prot value Richard Henderson
2019-08-20 15:24 ` Peter Maydell
2019-08-03 21:08 ` [Qemu-devel] [PATCH v7 3/6] linux-user: Set PAGE_TARGET_1 for TARGET_PROT_BTI Richard Henderson
2019-08-03 21:08 ` [Qemu-devel] [PATCH v7 4/6] include/elf: Add defines related to GNU property notes for AArch64 Richard Henderson
2019-08-20 15:39 ` Peter Maydell
2019-08-20 15:59 ` Richard Henderson
2019-08-20 16:03 ` Dave Martin [this message]
2019-08-20 16:07 ` Peter Maydell
2019-08-20 15:59 ` Dave P Martin
2019-08-03 21:08 ` [Qemu-devel] [PATCH v7 5/6] linux-user: Parse NT_GNU_PROPERTY_TYPE_0 notes Richard Henderson
2019-08-03 21:08 ` [Qemu-devel] [PATCH v7 6/6] tests/tcg/aarch64: Add bti smoke test Richard Henderson
2019-08-20 15:31 ` Peter Maydell
2019-08-20 16:34 ` Richard Henderson
2019-08-03 21:24 ` [Qemu-devel] [PATCH v7 0/6] target/arm: Implement ARMv8.5-BTI for linux-user no-reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190820160320.GA27757@arm.com \
--to=dave.martin@arm.com \
--cc=alex.bennee@linaro.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).