Add new option to objcopy: --verilog-data-width. Use this option to set the size...
authorJamey Hicks <jamey.hicks@gmail.com>
Tue, 14 May 2019 09:40:04 +0000 (10:40 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 14 May 2019 09:42:25 +0000 (10:42 +0100)
commit37d0d09177dc02e0002ab8b90d9b7bc402af9240
tree637533c2e254a181fb4fdceced99cf406e952936
parent3076e59490428c9719765f9b007d6d0d0238f006
Add new option to objcopy: --verilog-data-width.  Use this option to set the size of byte bundles generated in verilog format files.

PR 19921
binutils* objcopy.c: Add new option --verilog-data-width.  Use it to set
the value of VerilogDataWidth.
* doc/binutils.texi: Document the new option.
* testsuite/binutils-all/objcopy.exp: Run tests of new option.
* testsuite/binutils-all/verilog-1.hex: New file.
* testsuite/binutils-all/verilog-2.hex: New file.
* testsuite/binutils-all/verilog-4.hex: New file.
* testsuite/binutils-all/verilog-8.hex: New file.
* NEWS: Mention the new feature.

bfd * verilog.c: (VerilogDataWidth): New variable.
(verilog_write_record): Emit bytes in VerilogDataWidth bundles.
bfd/ChangeLog
bfd/verilog.c
binutils/ChangeLog
binutils/NEWS
binutils/doc/binutils.texi
binutils/objcopy.c
binutils/testsuite/binutils-all/objcopy.exp
binutils/testsuite/binutils-all/verilog-1.hex [new file with mode: 0644]
binutils/testsuite/binutils-all/verilog-2.hex [new file with mode: 0644]
binutils/testsuite/binutils-all/verilog-4.hex [new file with mode: 0644]
binutils/testsuite/binutils-all/verilog-8.hex [new file with mode: 0644]