[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, 21 Oct 2019 10:15:21 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25029
--- Comment #10 from Nick Clifton <nickc at redhat dot com> ---
Hi Florin,
> The target seems to be x86_64-w64-mingw32
Darn - I get the same results (ie SizeOfImage == 0x4000 always) with this
configuration too.
> Are your results before or after applying your proposed patch ?
Both - I tried with and without the patch applied.
Maybe it is a host alignment issue. Are you able to run the linker
under a debugger ? If so, please could you put a breakpoint on
_bfd_64i_swap_aouthdr_out() and step through to where the "isize"
variable is computed ? (Near the end of the function). It will
probably be computed three times, but it is the last one which
should be generating the 0x4000 value. If you can find out why
0x3000 is being generated instead that would be really helpful.
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, 2019/10/14
- [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 <=