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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to