Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/riscv/include Add two new relocs for compressed bra...



details:   https://anonhg.NetBSD.org/src/rev/859bc7eba396
branches:  trunk
changeset: 337091:859bc7eba396
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Apr 01 21:59:01 2015 +0000

description:
Add two new relocs for compressed branches.

diffstat:

 sys/arch/riscv/include/elf_machdep.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r e3a230f3d3da -r 859bc7eba396 sys/arch/riscv/include/elf_machdep.h
--- a/sys/arch/riscv/include/elf_machdep.h      Wed Apr 01 21:55:33 2015 +0000
+++ b/sys/arch/riscv/include/elf_machdep.h      Wed Apr 01 21:59:01 2015 +0000
@@ -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



Home | Main Index | Thread Index | Old Index