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

--- Comment #2 from Andre Vieira <avieira at gcc dot gnu.org> ---
Further investigations showed that things started to go wrong when the LOAD
header in question is given an offset of where the previous header left off,
which is normally fine, but this is severely under the 'Align' value of the new
header (0x200000). With the change described in this RFC:
https://sourceware.org/pipermail/binutils/2024-December/137912.html

the header seems to be copied correctly and the resulting binary executes fine.
Doubt this is the right approach, but maybe it gives someone an idea on how to
fix this properly?

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

Reply via email to