[PATCH 4/6] RISC-V opcodes

Palmer Dabbelt palmer@dabbelt.com
Wed Oct 19 17:13:00 GMT 2016

On Sun, 16 Oct 2016 06:36:19 PDT (-0700), joseph@codesourcery.com wrote:
> 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).

OK, sorry -- I guess I'm never really sure about how licenses work.  Andrew and
I will either write a new riscv-opc.h by hand (probably based on the ARMv8 one,
as that looks like the newest and cleanest) or clean up and commit the scripts
to generate the header.

More information about the Binutils mailing list