summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/X64/CpuId.S
diff options
context:
space:
mode:
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2009-05-20 09:42:59 +0000
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2009-05-20 09:42:59 +0000
commitd5172f911d21d03a3a4f50cb6ebe89854d191e4d (patch)
treea0653d75590009e994fa9dbfb848b250b798ccd9 /MdePkg/Library/BaseLib/X64/CpuId.S
parentdedfc3bbc97e726e259bfadbdf22502133faa8a8 (diff)
downloadedk2-platforms-d5172f911d21d03a3a4f50cb6ebe89854d191e4d.tar.xz
1. Remove .extern from GCC assembly.
2. Define macro for .global/.globl in GCC assembly. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8344 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseLib/X64/CpuId.S')
-rw-r--r--MdePkg/Library/BaseLib/X64/CpuId.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseLib/X64/CpuId.S b/MdePkg/Library/BaseLib/X64/CpuId.S
index 0b7a66f853..8612c5d2b0 100644
--- a/MdePkg/Library/BaseLib/X64/CpuId.S
+++ b/MdePkg/Library/BaseLib/X64/CpuId.S
@@ -32,7 +32,7 @@
# OUT UINT32 *RegisterOutEdx OPTIONAL
# )
#------------------------------------------------------------------------------
-.global ASM_PFX(AsmCpuid)
+ASM_GLOBAL ASM_PFX(AsmCpuid)
ASM_PFX(AsmCpuid):
push %rbx
mov %ecx, %eax