Author: andrew
Date: Thu Dec 18 14:31:30 2014
New Revision: 275903
URL: https://svnweb.freebsd.org/changeset/base/275903

Log:
  Add AArch64 64-bit relocation values. These will be needed by rtld when
  we import it along with utilities in elftoolchain.
  
  Differential Revision:        https://reviews.freebsd.org/D1330
  Reviewed by:  emaste
  Sponsored by: The FreeBSD Foundation

Modified:
  head/sys/sys/elf_common.h

Modified: head/sys/sys/elf_common.h
==============================================================================
--- head/sys/sys/elf_common.h   Thu Dec 18 13:46:32 2014        (r275902)
+++ head/sys/sys/elf_common.h   Thu Dec 18 14:31:30 2014        (r275903)
@@ -641,6 +641,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-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to