From bab427db7d91689247914608b975e629ccb34d7e Mon Sep 17 00:00:00 2001 From: andrewfish Date: Tue, 12 Jul 2011 03:01:34 +0000 Subject: 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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'MdePkg/Library/BaseLib/BaseLib.inf') diff --git a/MdePkg/Library/BaseLib/BaseLib.inf b/MdePkg/Library/BaseLib/BaseLib.inf index e5dafebbc9..19d546546e 100644 --- a/MdePkg/Library/BaseLib/BaseLib.inf +++ b/MdePkg/Library/BaseLib/BaseLib.inf @@ -277,7 +277,9 @@ Ia32/DisableCache.S | GCC Ia32/DivS64x64Remainder.c - Ia32/InternalSwitchStack.c + Ia32/InternalSwitchStack.c | MSFT + Ia32/InternalSwitchStack.c | INTEL + Ia32/InternalSwitchStack.S | GCC Ia32/Non-existing.c Unaligned.c X86WriteIdtr.c -- cgit v1.2.3