]> sourceware.org Git - glibc.git/commitdiff
aarch64: add STO_AARCH64_VARIANT_PCS and DT_AARCH64_VARIANT_PCS
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 25 Apr 2019 14:35:35 +0000 (15:35 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 13 Jun 2019 08:44:44 +0000 (09:44 +0100)
STO_AARCH64_VARIANT_PCS is a non-visibility st_other flag for marking
symbols that reference functions that may follow a variant PCS with
different register usage convention from the base PCS.

DT_AARCH64_VARIANT_PCS is a dynamic tag that marks ELF modules that
have R_*_JUMP_SLOT relocations for symbols marked with
STO_AARCH64_VARIANT_PCS (i.e. have variant PCS calls via a PLT).

* elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
(DT_AARCH64_VARIANT_PCS): Define.

ChangeLog
elf/elf.h

index 2afedc1422993e1a658c1c511125b08265daff42..456b9ba8bbd6f055ca49e6a4ede014be7ddcc95d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2019-06-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
+       (DT_AARCH64_VARIANT_PCS): Define.
+
 2019-06-12  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
        * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
index bb13c870e277d9020bc4ae5a104b48644e6c6838..7c6d6094edbe3b09dd8eadbe0b635d315a3ac35a 100644 (file)
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -2864,6 +2864,13 @@ enum
 #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_VARIANT_PCS (DT_LOPROC + 5)
+#define DT_AARCH64_NUM         6
+
+/* AArch64 specific values for the st_other field.  */
+#define STO_AARCH64_VARIANT_PCS 0x80
+
 /* ARM relocs.  */
 
 #define R_ARM_NONE             0       /* No reloc */
This page took 0.079505 seconds and 5 git commands to generate.