mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
332632abf3
commit
4d28a1c2fd
|
@ -74,6 +74,5 @@ SECTIONS {
|
||||||
*(.dynamic)
|
*(.dynamic)
|
||||||
*(.hash .gnu.hash)
|
*(.hash .gnu.hash)
|
||||||
*(.comment)
|
*(.comment)
|
||||||
*(COMMON)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue