From: "Christopher Zurcher" <christopher.zurcher@outlook.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
"gaoliming@byosoft.com.cn" <gaoliming@byosoft.com.cn>
Cc: 'Ard Biesheuvel' <ardb@kernel.org>, 'Bob Feng' <bob.c.feng@intel.com>
Subject: Re: [edk2-devel] 回复: [PATCH v7 1/3] BaseTools: Remove COMMON section from the GCC discard list
Date: Wed, 21 Jul 2021 01:14:31 +0000 [thread overview]
Message-ID: <BY3PR06MB8018155958D6850F1B5C0B67E4E39@BY3PR06MB8018.namprd06.prod.outlook.com> (raw)
In-Reply-To: <004301d77dcd$670f1b90$352d52b0$@byosoft.com.cn>
Yes, this was verified with OVMF.
Thanks,
Christopher Zurcher
-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of gaoliming
Sent: Tuesday, July 20, 2021 18:12
To: christopher.zurcher@outlook.com; devel@edk2.groups.io
Cc: 'Ard Biesheuvel' <ardb@kernel.org>; 'Bob Feng' <bob.c.feng@intel.com>
Subject: [edk2-devel] 回复: [PATCH v7 1/3] BaseTools: Remove COMMON section from the GCC discard list
Christopher:
Thanks for your update. Can you let me know which platform is verified with this change by GCC tool chain? Ovmf?
Thanks
Liming
> -----邮件原件-----
> 发件人: christopher.zurcher@outlook.com
> <christopher.zurcher@outlook.com>
> 发送时间: 2021年7月21日 6:07
> 收件人: devel@edk2.groups.io
> 抄送: Ard Biesheuvel <ardb@kernel.org>; Bob Feng <bob.c.feng@intel.com>;
> Liming Gao <gaoliming@byosoft.com.cn>
> 主题: [PATCH v7 1/3] BaseTools: Remove COMMON section from the GCC
> discard list
>
> 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
next prev parent reply other threads:[~2021-07-21 1:14 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 ` [PATCH v7 1/3] BaseTools: Remove COMMON section from the GCC discard list Christopher Zurcher
2021-07-21 1:11 ` 回复: " gaoliming
2021-07-21 1:14 ` Christopher Zurcher [this message]
2021-07-21 1:46 ` 回复: [edk2-devel] " 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=BY3PR06MB8018155958D6850F1B5C0B67E4E39@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