--- Additional Comments From hjl at lucon dot org 2007-03-17 21:51 ---
Created an attachment (id=1627)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=1627&action=view)
A patch
This patch works for testcase. I got
./objdump -ph image_size
image_size: file format pei-i386
Ch
When a file is converted from ELF to PE-COFF, there may be holes between
sections due to different alignment. But _bfd_XXi_swap_aouthdr_out in
peXXigen.c doesn't take into this into account when computing size of
image. It just sums sizes of all sections.
bash-3.1$ cat image_size.s
.text
--- Additional Comments From hjl at lucon dot org 2007-03-17 16:58 ---
Please provide all input files needed to reproduce the problem with a
cross linker.
--
What|Removed |Added
--
--- Additional Comments From sliedes at cc dot hut dot fi 2007-03-17 13:48
---
Created an attachment (id=1626)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=1626&action=view)
One more test case
With patch.3 it's starting to look quite robust, I had to try a lot of things
to bre