diff options
author | Mitchell Horne <mhorne@FreeBSD.org> | 2020-05-08 22:21:56 +0000 |
---|---|---|
committer | Mitchell Horne <mhorne@FreeBSD.org> | 2020-05-08 22:21:56 +0000 |
commit | 4b88ccbc79cc67145f4c2111b5ebb5f0fd95bfba (patch) | |
tree | 4a61a4043d86dd1f00ded91a2e07145b48f38b71 | |
parent | 656442a718ec2e874ca390b6a8ae11d216bef4ed (diff) | |
download | src-4b88ccbc79cc67145f4c2111b5ebb5f0fd95bfba.tar.gz src-4b88ccbc79cc67145f4c2111b5ebb5f0fd95bfba.zip |
Sync relocation definitions
Add the most recent relocation types from the RISC-V ELF psABI spec.
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=360826
-rw-r--r-- | sys/sys/elf_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h index d6b0f71adbd9..c17f82e3b04b 100644 --- a/sys/sys/elf_common.h +++ b/sys/sys/elf_common.h @@ -1342,6 +1342,8 @@ typedef struct { #define R_RISCV_SET8 54 #define R_RISCV_SET16 55 #define R_RISCV_SET32 56 +#define R_RISCV_32_PCREL 57 +#define R_RISCV_IRELATIVE 58 #define R_SPARC_NONE 0 #define R_SPARC_8 1 |