diff options
author | Nick Clifton <nickc@redhat.com> | 2022-12-01 13:09:26 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2022-12-01 13:09:26 +0000 |
commit | 6ef35c04dffe685ece08212201c4c032baf8aa86 (patch) | |
tree | 3eba01220e92f2f24152d4ad94f4be8c45c9f53b /bfd/ChangeLog | |
parent | 7505bb034c7c8a3d9ecf34e22777114c8bc4a93e (diff) | |
download | gdb-6ef35c04dffe685ece08212201c4c032baf8aa86.zip gdb-6ef35c04dffe685ece08212201c4c032baf8aa86.tar.gz gdb-6ef35c04dffe685ece08212201c4c032baf8aa86.tar.bz2 |
Fix verilog output when the width is > 1.
PR 25202
bfd * bfd.c (VerilogDataEndianness): New variable.
(verilog_write_record): Use VerilogDataEndianness, if set, to
choose the endianness of the output.
(verilog_write_section): Adjust the address by the data width.
binutils* objcopy.c (copy_object): Set VerilogDataEndianness to the
endianness of the input file.
(copy_main): Verifiy the value set by the --verilog-data-width
option.
* testsuite/binutils-all/objcopy.exp: Add tests of the new behaviour.
* testsuite/binutils-all/verilog-I4.hex: New file.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 24aa783..eee5d42 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,11 @@ +2022-12-01 Nick Clifton <nickc@redhat.com> + + PR 25202 + * bfd.c (VerilogDataEndianness): New variable. + (verilog_write_record): Use VerilogDataEndianness, if set, to + choose the endianness of the output. + (verilog_write_section): Adjust the address by the data width. + 2022-11-21 Nick Clifton <nickc@redhat.com> PR 29764 |