Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 May 2020 22:21:56 +0000 (UTC)
From:      Mitchell Horne <mhorne@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r360826 - head/sys/sys
Message-ID:  <202005082221.048MLu4f093843@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005082221.048MLu4f093843>