From: Florian Weimer <fweimer@redhat.com>
To: Mark Wielaard via Libc-alpha <libc-alpha@sourceware.org>
Cc: Mark Wielaard <mjw@redhat.com>, Mark Wielaard <mark@klomp.org>
Subject: Re: [PATCH] elf.h: Add aarch64 bti/pac dynamic tag constants
Date: Fri, 28 Aug 2020 20:03:21 +0200 [thread overview]
Message-ID: <87sgc6ps0m.fsf@oldenburg2.str.redhat.com> (raw)
In-Reply-To: <20200828165513.25649-1-mjw@redhat.com> (Mark Wielaard via Libc-alpha's message of "Fri, 28 Aug 2020 18:55:13 +0200")
* Mark Wielaard via Libc-alpha:
> From: Mark Wielaard <mark@klomp.org>
>
> Constants double checked against binutils and the ELF for the Arm 64-bit
> Architecture (AArch64) Release 2020Q2 document.
> ---
> elf/elf.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/elf/elf.h b/elf/elf.h
> index 197b557d15..ff9f1dadd5 100644
> --- a/elf/elf.h
> +++ b/elf/elf.h
> @@ -2875,6 +2875,8 @@ enum
> #define R_AARCH64_IRELATIVE 1032 /* STT_GNU_IFUNC relocation. */
>
> /* AArch64 specific values for the Dyn d_tag field. */
> +#define DT_AARCH64_BTI_PLT (DT_LOPROC + 1)
> +#define DT_AARCH64_PAC_PLT (DT_LOPROC + 3)
> #define DT_AARCH64_VARIANT_PCS (DT_LOPROC + 5)
> #define DT_AARCH64_NUM 6
I think DT_AARCH64_PAC_PLT isn't really used, so maybe mentioned that in
the commit message? There's no PAC PLT with glibc, and people are
expected to use BIND_NOW.
(I hope I remember this correctly.)
Thanks,
Florian
next prev parent reply other threads:[~2020-08-28 18:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-28 16:55 Mark Wielaard
2020-08-28 18:03 ` Florian Weimer [this message]
2020-08-28 18:47 ` Mark Wielaard
2020-08-28 19:04 ` Florian Weimer
2020-09-02 11:28 ` Mark Wielaard
2020-09-06 20:21 ` Szabolcs Nagy
2020-09-07 7:22 ` Mark Wielaard
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=87sgc6ps0m.fsf@oldenburg2.str.redhat.com \
--to=fweimer@redhat.com \
--cc=libc-alpha@sourceware.org \
--cc=mark@klomp.org \
--cc=mjw@redhat.com \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).