[U-Boot] [PATCH v2 1/6] efi_loader: Generate Microsoft PE format compliant images

Bin Meng bmeng.cn at gmail.com
Tue Oct 16 15:51:17 UTC 2018


Hi Alex,

On Tue, Oct 16, 2018 at 11:40 PM Alexander Graf <agraf at suse.de> wrote:
>
>
>
> On 16.10.18 17:37, Bin Meng wrote:
> > Hi Alex,
> >
> > On Tue, Oct 16, 2018 at 10:36 PM Alexander Graf <agraf at suse.de> wrote:
> >>
> >>
> >>
> >> On 02.10.18 16:39, Bin Meng wrote:
> >>> Per Microsoft PE Format documentation [1], PointerToSymbolTable and
> >>> NumberOfSymbols should be zero for an image in the COFF file header.
> >>> Currently U-Boot is generating *.efi images (eg: helloworld.efi) in
> >>> which these two members are not zero.
> >>>
> >>> This updates the build rules to tell linker to remove the symbol
> >>> table completely so that we can generate compliant *.efi images.
> >>>
> >>> [1] https://docs.microsoft.com/zh-cn/windows/desktop/Debug/pe-format
> >>>
> >>> Reported-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> >>> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> >>> Reviewed-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> >>
> >> I couldn't find a cover letter for this series, so I'll just reply here
> >> for the whole set:
> >>
> >> Which tree do you want to have this applied through?
> >>
> >
> > There is no cover letter for this series. In patchwork, this series is
> > assigned to you so I assume this should go through the efi tree.
>
> Ok, in that case, are you intending to send a follow-up patch for
> riscv32 or do you want to do a v3?
>

No, the riscv32 is totally unrelated. It can be a separate patch (series).

Regards,
Bin


More information about the U-Boot mailing list