diff options
author | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-10-16 00:29:28 +0000 |
---|---|---|
committer | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-10-16 00:29:28 +0000 |
commit | ab00035d0a7c2431d310aa799363317621bf1237 (patch) | |
tree | d1e11586322dc00309962ad87aa236bf3271ad09 /MdePkg/Include/Base.h | |
parent | 2816e216c29a882dc5c6b4ae3ccd0b844b3688dc (diff) | |
download | edk2-platforms-ab00035d0a7c2431d310aa799363317621bf1237.tar.xz |
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
Diffstat (limited to 'MdePkg/Include/Base.h')
-rw-r--r-- | MdePkg/Include/Base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Include/Base.h b/MdePkg/Include/Base.h index 2b0ce41e0e..2a55dd2697 100644 --- a/MdePkg/Include/Base.h +++ b/MdePkg/Include/Base.h @@ -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.
|