This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 1/2] Add DT_AARCH64_BTI_PLT and DT_AARCH64_PAC_PLT to elf.h.
- From: Szabolcs Nagy <Szabolcs dot Nagy at arm dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Cc: nd <nd at arm dot com>, Sudakshina Das <Sudi dot Das at arm dot com>
- Date: Thu, 20 Jun 2019 17:08:06 +0000
- Subject: [PATCH 1/2] Add DT_AARCH64_BTI_PLT and DT_AARCH64_PAC_PLT to elf.h.
- References: <5ec73433-43c3-5e7a-62cb-a3b203cf41c5@arm.com>
These are new AArch64 specific ELF dynamic tags.
2019-06-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
* elf/elf.h (DT_AARCH64_PAC_PLT): Define.
(DT_AARCH64_BTI_PLT): Define.
diff --git a/elf/elf.h b/elf/elf.h
index 7c6d6094ed..275f8bed47 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -2863,10 +2863,12 @@ enum
#define R_AARCH64_TLS_TPREL 1030 /* TP-relative offset, 64 bit. */
#define R_AARCH64_TLSDESC 1031 /* TLS Descriptor. */
#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
/* AArch64 specific values for the st_other field. */
#define STO_AARCH64_VARIANT_PCS 0x80