bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/25029] Invalid PE file caused by discarded .rdata section


From: address@hidden
Subject: [Bug ld/25029] Invalid PE file caused by discarded .rdata section
Date: Thu, 14 Nov 2019 22:11:37 +0000

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

--- Comment #13 from Florin Saftoiu <address@hidden> ---
Hi Nick,

I've tested with both patches applied and the executable is valid and works as
expected. SizeOfHeaders is 0x200 and SizeOfImage is 0x4000 as expected. So I
guess the patches are OK.

Weird about the order of the sections though, I'm guessing it could cause other
problems, since it's the offset of the last section in the ld script that
determines the size of the image.

Let me know if I can help further.

Best regards,
Florin

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