]> git.proxmox.com Git - mirror_edk2.git/commit
MdePkg: Fix X64 clang compile issues.
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 12 Jul 2011 03:01:34 +0000 (03:01 +0000)
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 12 Jul 2011 03:01:34 +0000 (03:01 +0000)
commitbab427db7d91689247914608b975e629ccb34d7e
treeca2404c89e0956d8172c165fd31600507ea48950
parent271d2c7f99612aae7b487cdad9c391373384e19b
MdePkg: Fix X64 clang compile issues.

Fixed issues with X64 clang, and also make StackSwitch push a zero on the new stack to prevent a stack unwind into memory that is no longer valid.

signed-off-by: andrewfish
reviewed-by: lgao4
reviewed-by: mdkinney

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12007 6f19259b-4bc3-4df7-8a09-765794883524
MdePkg/Library/BaseLib/BaseLib.inf
MdePkg/Library/BaseLib/Ia32/InternalSwitchStack.S [new file with mode: 0644]
MdePkg/Library/BaseLib/X64/SwitchStack.S
MdePkg/Library/BaseLib/X64/Thunk16.S
MdePkg/Library/BasePeCoffLib/BasePeCoff.c