mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-09 17:33:24 +08:00

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.
7 lines
80 B
Plaintext
7 lines
80 B
Plaintext
@00000000
|
|
(01020304|04030201) 00000000.*
|
|
@000000..
|
|
(02000000|00000002).*
|
|
#pass
|
|
|