svn commit: r360826 - head/sys/sys

Mitchell Horne mhorne at FreeBSD.org
Fri May 8 22:21:56 UTC 2020


Author: mhorne
Date: Fri May  8 22:21:56 2020
New Revision: 360826
URL: https://svnweb.freebsd.org/changeset/base/360826

Log:
  Sync relocation definitions
  
  Add the most recent relocation types from the RISC-V ELF psABI spec.
  
  MFC after:	3 days

Modified:
  head/sys/sys/elf_common.h

Modified: head/sys/sys/elf_common.h
==============================================================================
--- head/sys/sys/elf_common.h	Fri May  8 22:14:39 2020	(r360825)
+++ head/sys/sys/elf_common.h	Fri May  8 22:21:56 2020	(r360826)
@@ -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


More information about the svn-src-head mailing list