[PATCH 4/6] RISC-V opcodes

Joseph Myers joseph@codesourcery.com
Sun Oct 16 13:36:00 GMT 2016


On Sat, 15 Oct 2016, Palmer Dabbelt wrote:

> > If this file is generated by a tool, then that tool (and input files it
> > requires) should be part of the submission too.  Either that, or else
> > these generated files should be changed to be considered to be the
> > originals, and no generator mentioned or needed.
> 
> It's autogenerated by riscv-opcodes
> 
>   https://github.com/riscv/riscv-opcodes

The GPL requires that binutils includes the source code - the preferred 
form of the code for making changes to it.  Thus, if the preferred form of 
the code for making changes to that file is in riscv-opcodes, the relevant 
riscv-opcodes code must be included in the binutils sources.  This is just 
like various CGEN input files are included in the binutils sources (and 
some past release tarballs had to be recreated a while back when it was 
found they were missing some such input files and so not legally 
distributable).

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Binutils mailing list