diff options
author | Jordan Justen <jordan.l.justen@intel.com> | 2014-09-01 17:23:10 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-09-01 17:23:10 +0000 |
commit | 02eef553114dea1e4d55071e91398a0625e4e18c (patch) | |
tree | b06b4ff8b471931a3596d01b171c9fe18dc41e84 /MdePkg/Include/Ia32/ProcessorBind.h | |
parent | b3f9cdaebb8a136c0ff8add4291a8b77dbf4721a (diff) | |
download | edk2-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/Ia32/ProcessorBind.h')
-rw-r--r-- | MdePkg/Include/Ia32/ProcessorBind.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/MdePkg/Include/Ia32/ProcessorBind.h b/MdePkg/Include/Ia32/ProcessorBind.h index 7beee20953..f554b57bb7 100644 --- a/MdePkg/Include/Ia32/ProcessorBind.h +++ b/MdePkg/Include/Ia32/ProcessorBind.h @@ -284,5 +284,9 @@ typedef INT32 INTN; **/
#define FUNCTION_ENTRY_POINT(FunctionPointer) (VOID *)(UINTN)(FunctionPointer)
+#ifndef __USER_LABEL_PREFIX__
+#define __USER_LABEL_PREFIX__ _
+#endif
+
#endif
|