Module Name: src Committed By: matt Date: Wed Apr 1 21:59:01 UTC 2015
Modified Files: src/sys/arch/riscv/include: elf_machdep.h Log Message: Add two new relocs for compressed branches. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/riscv/include/elf_machdep.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/riscv/include/elf_machdep.h diff -u src/sys/arch/riscv/include/elf_machdep.h:1.3 src/sys/arch/riscv/include/elf_machdep.h:1.4 --- src/sys/arch/riscv/include/elf_machdep.h:1.3 Fri Mar 27 23:26:14 2015 +++ src/sys/arch/riscv/include/elf_machdep.h Wed Apr 1 21:59:01 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: elf_machdep.h,v 1.3 2015/03/27 23:26:14 matt Exp $ */ +/* $NetBSD: elf_machdep.h,v 1.4 2015/04/01 21:59:01 matt Exp $ */ /*- * Copyright (c) 2014 The NetBSD Foundation, Inc. @@ -97,6 +97,8 @@ #define R_RISCV_GNU_VTINHERIT 41 // A & 0xffff #define R_RISCV_GNU_VTENTRY 42 #define R_RISCV_ALIGN 43 +#define R_RISCV_RVC_BRANCH 44 +#define R_RISCV_RVC_JUMP 45 /* These are aliases we can use R_TYPESZ */ #define R_RISCV_ADDR32 R_RISCV_32