summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-08-23 09:31:51 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-08-23 09:31:51 +0000
commit4b79797eeadc83a9ce1df5efe99d1f1248bbc887 (patch)
treeab5ac86122fc38f66bd1f05158f06e80d1e662fd /EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h
parent8e35b68162a77c580917b6f636f84b74dc4aed22 (diff)
downloadedk2-platforms-4b79797eeadc83a9ce1df5efe99d1f1248bbc887.tar.xz
1) Cleanup for GCC and ICC tool-chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5718 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h')
-rw-r--r--EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h b/EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h
index 19570c82b2..75ccf10511 100644
--- a/EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h
+++ b/EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h
@@ -1,6 +1,6 @@
/*++
-Copyright (c) 2005 - 2007, Intel Corporation
+Copyright (c) 2005 - 2008, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -252,7 +252,11 @@ typedef int64_t intn_t;
// For symbol name in GNU assembly code, an extra "_" is necessary
//
#if __GNUC__
- #define ASM_PFX(name) _##name
+ #if defined(linux)
+ #define ASM_PFX(name) name
+ #else
+ #define ASM_PFX(name) _##name
+ #endif
#endif
#endif