mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 04:00:07 +08:00
* peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't calculate image size for
sections which lack size info.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2003-10-16 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't calculate image size
|
||||||
|
for sections which lack size info.
|
||||||
|
|
||||||
2003-10-17 Danny Smith <dannysmith@users.sourceforge.net>
|
2003-10-17 Danny Smith <dannysmith@users.sourceforge.net>
|
||||||
|
|
||||||
* configure.host: Add __USE_MINGW_FSEEK to HDEFINES for
|
* configure.host: Add __USE_MINGW_FSEEK to HDEFINES for
|
||||||
|
@ -674,7 +674,9 @@ _bfd_XXi_swap_aouthdr_out (abfd, in, out)
|
|||||||
5.0 link.exe) where the file size of the .data segment is
|
5.0 link.exe) where the file size of the .data segment is
|
||||||
quite small compared to the virtual size. Without this
|
quite small compared to the virtual size. Without this
|
||||||
fix, strip munges the file. */
|
fix, strip munges the file. */
|
||||||
isize += SA (FA (pei_section_data (abfd, sec)->virt_size));
|
if (coff_section_data (abfd, sec) != NULL
|
||||||
|
&& pei_section_data (abfd, sec) != NULL)
|
||||||
|
isize += SA (FA (pei_section_data (abfd, sec)->virt_size));
|
||||||
}
|
}
|
||||||
|
|
||||||
aouthdr_in->dsize = dsize;
|
aouthdr_in->dsize = dsize;
|
||||||
|
Reference in New Issue
Block a user