GLOBAL_REMOVE_IF_UNREFERENCED must be defined to nothing for EBC
This corrects a bug introduced on August 18, 2009 when ARM support was added git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9342 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -32,7 +32,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||||||
// if the /OPT:REF linker option is used. We defined a macro as this is a
|
// if the /OPT:REF linker option is used. We defined a macro as this is a
|
||||||
// a non standard extension
|
// a non standard extension
|
||||||
//
|
//
|
||||||
#if defined(_MSC_EXTENSIONS)
|
#if defined(_MSC_EXTENSIONS) && !defined (MDE_CPU_EBC)
|
||||||
///
|
///
|
||||||
/// Remove global variable from the linked image if there are no references to
|
/// Remove global variable from the linked image if there are no references to
|
||||||
/// it after all compiler and linker optimizations have been performed.
|
/// it after all compiler and linker optimizations have been performed.
|
||||||
|
Reference in New Issue
Block a user