https://sourceware.org/bugzilla/show_bug.cgi?id=25029
--- Comment #7 from Florin Saftoiu <florin.saft...@soft-to-you.com> --- Hi Nick, SizeOfImage is actually 0x3000 with the section called .data and 0x4000 with the section called .rdata. Here's the output from objdump.exe -p test_64_data.exe : ... SizeOfImage 00003000 SizeOfHeaders 00000400 ... test_64_data.exe does NOT work. Here's the output from objdump.exe -p test_64_rdata.exe : ... SizeOfImage 00004000 SizeOfHeaders 00000200 ... test_64_rdata.exe does work. I've manually edited test_64_data.exe and got the following results : - SizeOfImage 0x3000, SizeOfHeaders 0x200 => does NOT work - SizeOfImage 0x4000, SizeOfHeaders 0x400 => works - SizeOfImage 0x4000, SizeOfHeaders 0x200 => works So it seems that the bigger problem is the SizeOfImage and not the SizeOfHeaders. Best regards, Florin -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils