diff options
author | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-05-20 09:42:59 +0000 |
---|---|---|
committer | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-05-20 09:42:59 +0000 |
commit | d5172f911d21d03a3a4f50cb6ebe89854d191e4d (patch) | |
tree | a0653d75590009e994fa9dbfb848b250b798ccd9 /MdePkg/Library/BaseLib/X64/WriteCr2.S | |
parent | dedfc3bbc97e726e259bfadbdf22502133faa8a8 (diff) | |
download | edk2-d5172f911d21d03a3a4f50cb6ebe89854d191e4d.zip edk2-d5172f911d21d03a3a4f50cb6ebe89854d191e4d.tar.gz edk2-d5172f911d21d03a3a4f50cb6ebe89854d191e4d.tar.bz2 |
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/WriteCr2.S')
-rw-r--r-- | MdePkg/Library/BaseLib/X64/WriteCr2.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseLib/X64/WriteCr2.S b/MdePkg/Library/BaseLib/X64/WriteCr2.S index 5556cd3..b08a4e3 100644 --- a/MdePkg/Library/BaseLib/X64/WriteCr2.S +++ b/MdePkg/Library/BaseLib/X64/WriteCr2.S @@ -29,7 +29,7 @@ # UINTN Cr2
# );
#------------------------------------------------------------------------------
-.global ASM_PFX(AsmWriteCr2)
+ASM_GLOBAL ASM_PFX(AsmWriteCr2)
ASM_PFX(AsmWriteCr2):
mov %rcx,%cr2
mov %rcx,%rax
|