From a21f46e4b602bf97f350679a839f7b74a7661a8c Mon Sep 17 00:00:00 2001 From: jljusten Date: Tue, 30 Oct 2007 00:10:23 +0000 Subject: [PATCH] MdePkg/Library/BaseLib/ChkStkGcc.c: MdePkg/Library/BaseLib/BaseLib.inf: Added stub (nil) implementation of __chkstk for which calls are generated by newer versions of gcc. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4237 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/BaseLib/BaseLib.inf | 1 + MdePkg/Library/BaseLib/ChkStkGcc.c | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 MdePkg/Library/BaseLib/ChkStkGcc.c diff --git a/MdePkg/Library/BaseLib/BaseLib.inf b/MdePkg/Library/BaseLib/BaseLib.inf index f262226a1b..324bf9d4db 100644 --- a/MdePkg/Library/BaseLib/BaseLib.inf +++ b/MdePkg/Library/BaseLib/BaseLib.inf @@ -565,6 +565,7 @@ X64/CpuIdEx.S | GCC X64/CpuBreakpoint.S | GCC SynchronizationGcc.c | GCC + ChkStkGcc.c | GCC [Sources.IPF] Ipf/AccessGp.s diff --git a/MdePkg/Library/BaseLib/ChkStkGcc.c b/MdePkg/Library/BaseLib/ChkStkGcc.c new file mode 100644 index 0000000000..f6ae9b03db --- /dev/null +++ b/MdePkg/Library/BaseLib/ChkStkGcc.c @@ -0,0 +1,24 @@ +/** @file + Implementation of synchronization functions. + + Copyright (c) 2006 - 2007, Intel Corporation
+ All rights reserved. This program and the accompanying materials + are licensed and made available under the terms and conditions of the BSD License + which accompanies this distribution. The full text of the license may be found at + http://opensource.org/licenses/bsd-license.php + + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + +**/ + +// +// Include common header file for this module. +// + + +#include "BaseLibInternals.h" + +VOID __chkstk() { +} + -- 2.39.2