We don't really want to align the last section's size to object
alignment (when that section may itself not be aligned as much), we want
image size to be a multiple thereof.
for the image size. */
if (coff_section_data (abfd, sec) != NULL
&& pei_section_data (abfd, sec) != NULL)
- isize = (sec->vma - extra->ImageBase
- + SA (FA (pei_section_data (abfd, sec)->virt_size)));
+ isize = SA (sec->vma - extra->ImageBase
+ + FA (pei_section_data (abfd, sec)->virt_size));
}
aouthdr_in->dsize = dsize;