This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 4/6] RISC-V opcodes
- From: Palmer Dabbelt <palmer at dabbelt dot com>
- To: joseph at codesourcery dot com
- Cc: nickc at redhat dot com
- Cc: binutils at sourceware dot org
- Cc: Andrew Waterman <andrew at sifive dot com>
- Date: Wed, 19 Oct 2016 10:13:42 -0700 (PDT)
- Subject: Re: [PATCH 4/6] RISC-V opcodes
- Authentication-results: sourceware.org; auth=none
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.