bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/20193] Invalid executable after adding debuglink to an exe


From: nickc at redhat dot com
Subject: [Bug binutils/20193] Invalid executable after adding debuglink to an executable produced after merging PE resource sections
Date: Wed, 23 Nov 2016 09:39:47 +0000

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

--- Comment #12 from Nick Clifton <nickc at redhat dot com> ---
Hi Jon,

> This occurs because rsrc_process_section(), which now updates the .rsrc 
> section
> VirtSize, is happening after compute_section_file_positions(), so the VMAs
> aren't computed correctly if the .rsrc section shrinks under a page boundary.
> 
> So, another fix is needed here.  I'm trying to puzzle out where to move
> rsrc_process_section() to, but if you have any pointers, that would be most
> helpful.

Hmm, tricky.  The start of coffcode.h:coff_write_object_contents() would be my 
first choice, but I have no idea what sort pf problems you might encounter...

Cheers
  Nick

-- 
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]