MdePkg/Library/BaseLib/ChkStkGcc.c:
authorjljusten <jljusten@de2fecce-e211-0410-80a6-f3fac2684e05>
Tue, 30 Oct 2007 00:10:23 +0000 (00:10 +0000)
committerjljusten <jljusten@de2fecce-e211-0410-80a6-f3fac2684e05>
Tue, 30 Oct 2007 00:10:23 +0000 (00:10 +0000)
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.tianocore.org/svn/edk2/trunk@4237 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/MdePkg/Library/BaseLib/BaseLib.inf
edk2/MdePkg/Library/BaseLib/ChkStkGcc.c [new file with mode: 0644]

index f262226..324bf9d 100644 (file)
   X64/CpuIdEx.S | GCC \r
   X64/CpuBreakpoint.S | GCC \r
   SynchronizationGcc.c  | GCC \r
+  ChkStkGcc.c  | GCC \r
 \r
 [Sources.IPF]\r
   Ipf/AccessGp.s\r
diff --git a/edk2/MdePkg/Library/BaseLib/ChkStkGcc.c b/edk2/MdePkg/Library/BaseLib/ChkStkGcc.c
new file mode 100644 (file)
index 0000000..f6ae9b0
--- /dev/null
@@ -0,0 +1,24 @@
+/** @file\r
+  Implementation of synchronization functions.\r
+\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\r
+  All rights reserved. This program and the accompanying materials\r
+  are licensed and made available under the terms and conditions of the BSD License\r
+  which accompanies this distribution.  The full text of the license may be found at\r
+  http://opensource.org/licenses/bsd-license.php\r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+//\r
+// Include common header file for this module.\r
+//\r
+\r
+\r
+#include "BaseLibInternals.h"\r
+\r
+VOID __chkstk() {\r
+}\r
+\r