summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2007-10-30 00:10:23 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2007-10-30 00:10:23 +0000
commita21f46e4b602bf97f350679a839f7b74a7661a8c (patch)
tree9c4b6f04b2c37650420c6d0e190218636816f6e7 /MdePkg
parentbdfb1261469e0440583d20fbb65c2f57f5ef78f3 (diff)
downloadedk2-platforms-a21f46e4b602bf97f350679a839f7b74a7661a8c.tar.xz
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
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Library/BaseLib/BaseLib.inf1
-rw-r--r--MdePkg/Library/BaseLib/ChkStkGcc.c24
2 files changed, 25 insertions, 0 deletions
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<BR>
+ 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() {
+}
+