public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Christopher Zurcher" <christopher.zurcher@outlook.com>
To: devel@edk2.groups.io
Cc: Ard Biesheuvel <ardb@kernel.org>, Bob Feng <bob.c.feng@intel.com>,
	Liming Gao <gaoliming@byosoft.com.cn>
Subject: [PATCH v7 1/3] BaseTools: Remove COMMON section from the GCC discard list
Date: Tue, 20 Jul 2021 15:06:44 -0700	[thread overview]
Message-ID: <BY3PR06MB8018400522EB4B6A0806707AE4E29@BY3PR06MB8018.namprd06.prod.outlook.com> (raw)
In-Reply-To: <20210720220646.659-1-christopher.zurcher@outlook.com>

From: Christopher Zurcher <christopher.zurcher@microsoft.com>

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2507

The COMMON section is used by OpenSSL assembly-optimized crypto
functions. OpenSSL assembly code is auto-generated from the submodule
and cannot be modified to remove dependence on the COMMON section.
The default -fno-common compiler flag should still prevent variable from
being emitted into the COMMON section.

Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Signed-off-by: Christopher Zurcher <christopher.zurcher@microsoft.com>
---
 BaseTools/Scripts/GccBase.lds | 1 -
 1 file changed, 1 deletion(-)

diff --git a/BaseTools/Scripts/GccBase.lds b/BaseTools/Scripts/GccBase.lds
index a9dd2138d4..83cebd29d5 100644
--- a/BaseTools/Scripts/GccBase.lds
+++ b/BaseTools/Scripts/GccBase.lds
@@ -74,6 +74,5 @@ SECTIONS {
     *(.dynamic)
     *(.hash .gnu.hash)
     *(.comment)
-    *(COMMON)
   }
 }
-- 
2.32.0.windows.1


       reply	other threads:[~2021-07-20 22:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210720220646.659-1-christopher.zurcher@outlook.com>
2021-07-20 22:06 ` Christopher Zurcher [this message]
2021-07-21  1:11   ` 回复: [PATCH v7 1/3] BaseTools: Remove COMMON section from the GCC discard list gaoliming
2021-07-21  1:14     ` [edk2-devel] " Christopher Zurcher
2021-07-21  1:46       ` 回复: " gaoliming
2021-07-21 11:44   ` [edk2-devel] " Yao, Jiewen
2021-08-04 12:26     ` Ard Biesheuvel
2021-08-05  5:04       ` 回复: " gaoliming
2021-08-06 20:01         ` Christopher Zurcher
2021-07-20 22:06 ` [PATCH v7 2/3] CryptoPkg/OpensslLib: Add native instruction support for X64 Christopher Zurcher
2021-07-21 11:44   ` Yao, Jiewen
2021-07-20 22:06 ` [PATCH v7 3/3] CryptoPkg/OpensslLib: Commit the auto-generated assembly files " Christopher Zurcher
2021-07-21 11:44   ` Yao, Jiewen
2021-07-26 10:08     ` 回复: [edk2-devel] " gaoliming

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=BY3PR06MB8018400522EB4B6A0806707AE4E29@BY3PR06MB8018.namprd06.prod.outlook.com \
    --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