[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/25029] Invalid PE file caused by discarded .rdata section
From: |
nickc at redhat dot com |
Subject: |
[Bug ld/25029] Invalid PE file caused by discarded .rdata section |
Date: |
Mon, 14 Oct 2019 11:23:48 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25029
--- Comment #8 from Nick Clifton <nickc at redhat dot com> ---
Hi Florin,
(In reply to Florin Saftoiu from comment #7)
> SizeOfImage is actually 0x3000 with the section called .data and 0x4000 with
> the section called .rdata.
> So it seems that the bigger problem is the SizeOfImage and not the
> SizeOfHeaders.
Hmmm, there seems to be a problem here, because I am not seeing a
SizeOfImage value of 0x3000 even in the .data version of test_64:
% objdump -p test_64.ok.exe test_64.bad.exe | grep SizeOfImage
SizeOfImage 00004000
SizeOfImage 00004000
So maybe this is related to the toolchain being used. How did you
configure the binutils that you are using ? I have been testing
using a toolchain configured as --target=x86_64-pc-cygwin.
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/25029] Invalid PE file caused by discarded .rdata section, nickc at redhat dot com, 2019/10/10
- [Bug ld/25029] Invalid PE file caused by discarded .rdata section, address@hidden, 2019/10/11
- [Bug ld/25029] Invalid PE file caused by discarded .rdata section, address@hidden, 2019/10/11
- [Bug ld/25029] Invalid PE file caused by discarded .rdata section, nickc at redhat dot com, 2019/10/11
- [Bug ld/25029] Invalid PE file caused by discarded .rdata section, nickc at redhat dot com, 2019/10/11
- [Bug ld/25029] Invalid PE file caused by discarded .rdata section, address@hidden, 2019/10/12
- [Bug ld/25029] Invalid PE file caused by discarded .rdata section,
nickc at redhat dot com <=
- [Bug ld/25029] Invalid PE file caused by discarded .rdata section, address@hidden, 2019/10/14
- [Bug ld/25029] Invalid PE file caused by discarded .rdata section, nickc at redhat dot com, 2019/10/21