aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2019-12-29 21:46:00 +0000
committerMark Johnston <markj@FreeBSD.org>2019-12-29 21:46:00 +0000
commit78347412c0e7af3d263b16d71ebc79795e8eacd4 (patch)
tree68644d1163afd3c092ecc7970b21e8ce80874593
parent86c06ff8864bc0e2233980c741b689714000850d (diff)
downloadsrc-78347412c0e7af3d263b16d71ebc79795e8eacd4.tar.gz
src-78347412c0e7af3d263b16d71ebc79795e8eacd4.zip
Add ARMv8 static relocation types used for control flow instructions.
MFC after: 1 week Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=356186
-rw-r--r--sys/sys/elf_common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h
index 499a5025007a..3e32d92f77e6 100644
--- a/sys/sys/elf_common.h
+++ b/sys/sys/elf_common.h
@@ -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 */