svn commit: r356186 - head/sys/sys

Mark Johnston markj at FreeBSD.org
Sun Dec 29 21:46:01 UTC 2019


Author: markj
Date: Sun Dec 29 21:46:00 2019
New Revision: 356186
URL: https://svnweb.freebsd.org/changeset/base/356186

Log:
  Add ARMv8 static relocation types used for control flow instructions.
  
  MFC after:	1 week
  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	Sun Dec 29 21:16:03 2019	(r356185)
+++ head/sys/sys/elf_common.h	Sun Dec 29 21:46:00 2019	(r356186)
@@ -999,6 +999,10 @@ typedef struct {
 #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_TSTBR14	279	/* TBZ/TBNZ immediate */
+#define	R_AARCH64_CONDBR19	280	/* Conditional branch immediate */
+#define	R_AARCH64_JUMP26	282	/* Branch immediate */
+#define	R_AARCH64_CALL26	283	/* Call immediate */
 #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 */


More information about the svn-src-all mailing list