bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/25202] objcopy --verilog-data-width doesn't respect target


From: nickc at redhat dot com
Subject: [Bug binutils/25202] objcopy --verilog-data-width doesn't respect target's endianness
Date: Mon, 21 Nov 2022 12:12:31 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=25202

--- Comment #17 from Nick Clifton <nickc at redhat dot com> ---
(Sorry for the delay in replying - I have been distracted by other work).

I think that we can avoid the alignment problem by insisting that for
widths greater than one, the section(s) being converted must already be 
aligned and padded to multiples of that width.

Hence, please could you try out the third iteration of the patch, which
should generate the correct address for widths > 1, and which will refuse
to convert unaligned sections.  I was not sure what to do about sections
which are not padded to the required alignment, so I have left the code
in its current form.  The code will just stop generating bytes when it
reaches the end of the section being converted and it will not generate
any padding bytes.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]