]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: Remove COMMON section from the GCC discard list
authorChristopher Zurcher <christopher.zurcher@microsoft.com>
Tue, 20 Jul 2021 22:06:44 +0000 (06:06 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 26 Jul 2021 07:30:11 +0000 (07:30 +0000)
commit4d28a1c2fdf3673650018cf16f76cfc9796e78af
treef7c107728539e82edfc3c22edd5b73eec0ce421a
parent332632abf3eb23fe7fcb0601bc715ba829b33e79
BaseTools: Remove COMMON section from the GCC discard list

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>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Acked-by: Jiewen Yao <Jiewen.yao@intel.com>
BaseTools/Scripts/GccBase.lds