summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/X64/SwitchStack.S
diff options
context:
space:
mode:
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-31 06:23:32 +0000
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-31 06:23:32 +0000
commit85c25283ed338da9485e16918e6e21d8212efa76 (patch)
treeecc48e76f050b7c314e25a7232d6f58ed00c0bf9 /MdePkg/Library/BaseLib/X64/SwitchStack.S
parent5f87392966e8bb14b6486408b60521dfc61bd58f (diff)
downloadedk2-platforms-85c25283ed338da9485e16918e6e21d8212efa76.tar.xz
Gcc cleanup for baselib & basememorylib in mdepkg/library/
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5587 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseLib/X64/SwitchStack.S')
-rw-r--r--MdePkg/Library/BaseLib/X64/SwitchStack.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/MdePkg/Library/BaseLib/X64/SwitchStack.S b/MdePkg/Library/BaseLib/X64/SwitchStack.S
index 9aee37b0e9..20c02d5b43 100644
--- a/MdePkg/Library/BaseLib/X64/SwitchStack.S
+++ b/MdePkg/Library/BaseLib/X64/SwitchStack.S
@@ -35,14 +35,14 @@
# None
#
#------------------------------------------------------------------------------
-.global _InternalSwitchStack;
-_InternalSwitchStack:
+.global ASM_PFX(InternalSwitchStack)
+ASM_PFX(InternalSwitchStack):
mov %rcx, %rax
mov %rdx, %rcx
mov %r8, %rdx
- #
- # Reserve space for register parameters (rcx, rdx, r8 & r9) on the stack,
- # in case the callee wishes to spill them.
+ #
+ # Reserve space for register parameters (rcx, rdx, r8 & r9) on the stack,
+ # in case the callee wishes to spill them.
#
lea -0x20(%r9), %rsp
call *%rax