This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] opcodes: Add ARCH_riscv to the ARCH_all list.


On 02/22/2018 07:27 AM, Shea Levy wrote:
---
  opcodes/disassemble.c | 1 +
  1 file changed, 1 insertion(+)

diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c
index ae48f5367b..78f0995463 100644
--- a/opcodes/disassemble.c
+++ b/opcodes/disassemble.c
@@ -76,6 +76,7 @@
  #define ARCH_pj
  #define ARCH_powerpc
  #define ARCH_pru
+#define ARCH_riscv
  #define ARCH_rs6000
  #define ARCH_rl78
  #define ARCH_rx

I manually verified that this is necessary for an --enable-targets=all configured tree to support disassembly of RISC-V instructions, tested it with a binutils/gas/ld make check, and committed the patch.

Normally we would need a copyright assignment, but this is trivial and obvious so I assumed it would not be necessary. If you want to do further binutils work, you should consider a copyright assignment. Or maybe just submit bug reports instead of patches so we don't need an assignment.

Jim


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]