Re: [PATCH v5 3/3] mkimage: Clarify file alignment in efi case

2019-01-28 Thread Daniel Kiper
On Mon, Jan 28, 2019 at 01:34:20PM +0100, Alexander Graf wrote: > On 28.01.19 13:27, Daniel Kiper wrote: > > On Fri, Jan 25, 2019 at 12:45:16PM +0100, Alexander Graf wrote: > >> There are a few spots in the PE generation code for EFI binaries that uses > >> the section alignment rather than file al

Re: [PATCH v5 3/3] mkimage: Clarify file alignment in efi case

2019-01-28 Thread Alexander Graf
On 28.01.19 13:27, Daniel Kiper wrote: > On Fri, Jan 25, 2019 at 12:45:16PM +0100, Alexander Graf wrote: >> There are a few spots in the PE generation code for EFI binaries that uses >> the section alignment rather than file alignment, even though the alignment >> is really only file bound. >> >

Re: [PATCH v5 3/3] mkimage: Clarify file alignment in efi case

2019-01-28 Thread Daniel Kiper
On Fri, Jan 25, 2019 at 12:45:16PM +0100, Alexander Graf wrote: > There are a few spots in the PE generation code for EFI binaries that uses > the section alignment rather than file alignment, even though the alignment > is really only file bound. > > Replace those cases with the file alignment con

[PATCH v5 3/3] mkimage: Clarify file alignment in efi case

2019-01-25 Thread Alexander Graf
There are a few spots in the PE generation code for EFI binaries that uses the section alignment rather than file alignment, even though the alignment is really only file bound. Replace those cases with the file alignment constant instead. Reported-by: Daniel Kiper Signed-off-by: Alexander Graf