[Top][All Lists]

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

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

From: jon.turney at dronecode dot org.uk
Subject: [Bug binutils/20193] Invalid executable after adding debuglink to an executable produced after merging PE resource sections
Date: Thu, 02 Jun 2016 17:03:14 +0000


--- Comment #1 from Jon TURNEY <jon.turney at dronecode dot org.uk> ---
I don't understand why only certain sizes of resource section seem to trigger 
this problem, but a couple of observations:

I guess that the fact that the merged resource section can be smaller than the
sum of the sizes, and thus can move under a page-size boundary has something to
do with this bug.

The size of the resources in the DataDirectory is not updated by

Since rsrc_process_section() takes place after
bfd_coff_compute_section_file_positions(), allowing the .rsrc section to shrink
seems problematic (I'm not sure how this interacts with the "page align the
.rsrc section" patch in #16807)

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]