summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Ebc
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2014-09-01 17:23:10 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2014-09-01 17:23:10 +0000
commit02eef553114dea1e4d55071e91398a0625e4e18c (patch)
treeb06b4ff8b471931a3596d01b171c9fe18dc41e84 /MdePkg/Include/Ebc
parentb3f9cdaebb8a136c0ff8add4291a8b77dbf4721a (diff)
downloadedk2-platforms-02eef553114dea1e4d55071e91398a0625e4e18c.tar.xz
MdePkg Base.h: Always define ASM_PFX
Some compilers may define __USER_LABEL_PREFIX__ to determine the prefix used with ASM_PFX. Otherwise, IA32 will use a single underscore '_' character, and all other architectures will use an empty prefix. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16019 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Ebc')
-rw-r--r--MdePkg/Include/Ebc/ProcessorBind.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/MdePkg/Include/Ebc/ProcessorBind.h b/MdePkg/Include/Ebc/ProcessorBind.h
index 4e1a67fb4e..075f768c76 100644
--- a/MdePkg/Include/Ebc/ProcessorBind.h
+++ b/MdePkg/Include/Ebc/ProcessorBind.h
@@ -138,5 +138,9 @@ typedef unsigned long UINTN;
**/
#define FUNCTION_ENTRY_POINT(FunctionPointer) (VOID *)(UINTN)(FunctionPointer)
+#ifndef __USER_LABEL_PREFIX__
+#define __USER_LABEL_PREFIX__
+#endif
+
#endif