Author: emaste
Date: Thu Sep 24 19:53:24 2015
New Revision: 288187
URL: https://svnweb.freebsd.org/changeset/base/288187

Log:
  MFC r275903: Add AArch64 64-bit relocation values.

Modified:
  stable/10/sys/sys/elf_common.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/sys/elf_common.h
==============================================================================
--- stable/10/sys/sys/elf_common.h      Thu Sep 24 19:42:32 2015        
(r288186)
+++ stable/10/sys/sys/elf_common.h      Thu Sep 24 19:53:24 2015        
(r288187)
@@ -649,6 +649,18 @@ typedef struct {
 #define        R_386_TLS_TPOFF32       37      /* GOT entry of -ve static TLS 
offset */
 #define        R_386_IRELATIVE         42      /* PLT entry resolved 
indirectly at runtime */
 
+#define        R_AARCH64_ABS64         257     /* Absolute offset */
+#define        R_AARCH64_ABS32         258     /* Absolute, 32-bit overflow 
check */
+#define        R_AARCH64_ABS16         259     /* Absolute, 16-bit overflow 
check */
+#define        R_AARCH64_PREL64        260     /* PC relative */
+#define        R_AARCH64_PREL32        261     /* PC relative, 32-bit overflow 
check */
+#define        R_AARCH64_PREL16        262     /* PC relative, 16-bit overflow 
check */
+#define        R_AARCH64_COPY          1024    /* Copy data from shared object 
*/
+#define        R_AARCH64_GLOB_DAT      1025    /* Set GOT entry to data 
address */
+#define        R_AARCH64_JUMP_SLOT     1026    /* Set GOT entry to code 
address */
+#define        R_AARCH64_RELATIVE      1027    /* Add load address of shared 
object */
+#define        R_AARCH64_TLSDESC       1031    /* Identify the TLS descriptor 
*/
+
 #define        R_ARM_NONE              0       /* No relocation. */
 #define        R_ARM_PC24              1
 #define        R_ARM_ABS32             2
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to