public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Marvin Häuser" <mhaeuser@posteo.de>
To: devel@edk2.groups.io
Subject: [PATCH v2 0/1] StandaloneMmPkg: Support CLANGPDB builds
Date: Thu, 14 Oct 2021 19:05:47 +0000	[thread overview]
Message-ID: <cover.1634238146.git.mhaeuser@posteo.de> (raw)

V2: Update patch to account for ARM support

Currently, the flag "-fpie" is passed for all builds with a GCC
family toolchain, including CLANGPDB. CLANGPDB however does not
support this flag as it generates PE/COFF files directly.

As the flag is mostly required for ARM-specific self-relocation, drop
it for other architectures and document the limitation to enable e.g.
X64 CLANGPDB builds of StandaloneMmCore.

Marvin Häuser (1):
  StandaloneMmPkg: Support CLANGPDB builds

 StandaloneMmPkg/Core/StandaloneMmCore.inf                                         | 12 ++++++++++--
 StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf |  9 ++++++++-
 2 files changed, 18 insertions(+), 3 deletions(-)

-- 
2.31.1


             reply	other threads:[~2021-10-14 19:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-14 19:05 Marvin Häuser [this message]
2021-10-14 19:05 ` [PATCH v2 1/1] StandaloneMmPkg: Support CLANGPDB builds Marvin Häuser
2021-10-18  1:18   ` [edk2-devel] " Steven Shi
2021-10-18 13:52     ` Ard Biesheuvel

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-list 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=cover.1634238146.git.mhaeuser@posteo.de \
    --to=devel@edk2.groups.io \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox