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:
mdkinney 2009-10-16 00:29:28 +00:00
parent 2816e216c2
commit ab00035d0a
1 changed files with 1 additions and 1 deletions

View File

@ -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
// 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
/// it after all compiler and linker optimizations have been performed.