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
// if the /OPT:REF linker option is used. We defined a macro as this is a \r
// a non standard extension\r
//\r
-#if defined(_MSC_EXTENSIONS)\r
+#if defined(_MSC_EXTENSIONS) && !defined (MDE_CPU_EBC)\r
///\r
/// Remove global variable from the linked image if there are no references to \r
/// it after all compiler and linker optimizations have been performed.\r