public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] elf.h: Add aarch64 bti/pac dynamic tag constants
@ 2020-09-07  7:22 Mark Wielaard
  0 siblings, 0 replies; only message in thread
From: Mark Wielaard @ 2020-09-07  7:22 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=721a853415e358ba887c9fc693899cb648ca79f3

commit 721a853415e358ba887c9fc693899cb648ca79f3
Author: Mark Wielaard <mark@klomp.org>
Date:   Fri Aug 28 18:44:16 2020 +0200

    elf.h: Add aarch64 bti/pac dynamic tag constants
    
    Constants double checked against binutils and the ELF for the Arm 64-bit
    Architecture (AArch64) Release 2020Q2 document.
    
    Only BTI PLT is used in glibc, there's no PAC PLT with glibc, and people
    are expected to use BIND_NOW.

Diff:
---
 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-07  7:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-07  7:22 [glibc] elf.h: Add aarch64 bti/pac dynamic tag constants Mark Wielaard

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).