All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heinrich Schuchardt <xypron.glpk@gmx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 5/6] arm: efi: Generate Microsoft PE format compliant images
Date: Tue, 2 Oct 2018 19:20:22 +0200	[thread overview]
Message-ID: <3f71642d-e308-6de4-d82c-f4b62943c1ba@gmx.de> (raw)
In-Reply-To: <1538491174-1225-5-git-send-email-bmeng.cn@gmail.com>

On 10/02/2018 04:39 PM, Bin Meng wrote:
> Per Microsoft PE Format documentation [1], PointerToSymbolTable and
> NumberOfSymbols should be zero for an image in the COFF file header.
> Currently the COFF file header is hardcoded on ARM and these two
> members are not zero.
> 
> This updates the hardcoded structure to clear these two members, as
> well as setting the flag IMAGE_FILE_LOCAL_SYMS_STRIPPED so that we
> can generate compliant *.efi images.
> 
> [1] https://docs.microsoft.com/zh-cn/windows/desktop/Debug/pe-format
> 
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>

Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

> 
> ---
> 
> Changes in v2:
> - use macros in pe.h for the characteristics field
> 
>  arch/arm/lib/crt0_aarch64_efi.S | 12 ++++++------
>  arch/arm/lib/crt0_arm_efi.S     | 16 ++++++++--------
>  2 files changed, 14 insertions(+), 14 deletions(-)

  reply	other threads:[~2018-10-02 17:20 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-02 14:39 [U-Boot] [PATCH v2 1/6] efi_loader: Generate Microsoft PE format compliant images Bin Meng
2018-10-02 14:39 ` [U-Boot] [PATCH v2 2/6] x86: efi: payload: Generate Microsoft PE format compliant image Bin Meng
2018-10-02 18:20   ` Heinrich Schuchardt
2018-10-16 19:09   ` [U-Boot] [U-Boot, v2, " Alexander Graf
2018-10-02 14:39 ` [U-Boot] [PATCH v2 3/6] x86: efi: app: " Bin Meng
2018-10-02 18:21   ` Heinrich Schuchardt
2018-10-16 19:10   ` [U-Boot] [U-Boot, v2, " Alexander Graf
2018-10-02 14:39 ` [U-Boot] [PATCH v2 4/6] pe.h: Add characteristics defines Bin Meng
2018-10-02 17:23   ` Heinrich Schuchardt
2018-10-16 19:09   ` [U-Boot] [U-Boot,v2,4/6] " Alexander Graf
2018-10-02 14:39 ` [U-Boot] [PATCH v2 5/6] arm: efi: Generate Microsoft PE format compliant images Bin Meng
2018-10-02 17:20   ` Heinrich Schuchardt [this message]
2018-10-16 19:09   ` [U-Boot] [U-Boot, v2, " Alexander Graf
2018-10-02 14:39 ` [U-Boot] [PATCH v2 6/6] riscv: " Bin Meng
2018-10-02 18:19   ` Heinrich Schuchardt
2018-10-03  0:05     ` Bin Meng
2018-10-16 19:09   ` [U-Boot] [U-Boot, v2, " Alexander Graf
2018-10-16 14:36 ` [U-Boot] [PATCH v2 1/6] efi_loader: " Alexander Graf
2018-10-16 15:37   ` Bin Meng
2018-10-16 15:40     ` Alexander Graf
2018-10-16 15:51       ` Bin Meng
2018-10-16 19:09 ` [U-Boot] [U-Boot, v2, " Alexander Graf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3f71642d-e308-6de4-d82c-f4b62943c1ba@gmx.de \
    --to=xypron.glpk@gmx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.