s-parame-linux.adb (Minimum_Stack_Size): Adjust to return 12K instead of 8K...

2004-10-26  Olivier Hainque  <hainque@act-europe.fr>

	* s-parame-linux.adb (Minimum_Stack_Size): Adjust to return 12K
	instead of 8K, to reflect the real potential needs for stack-checking
	in the ZCX case.

From-SVN: r89640
This commit is contained in:
Olivier Hainque 2004-10-27 14:28:07 +02:00 committed by Arnaud Charlet
parent c4820158f5
commit 9d96e398af

View File

@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 1995-2003 Free Software Foundation, Inc. --
-- Copyright (C) 1995-2004 Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@ -67,7 +67,11 @@ package body System.Parameters is
function Minimum_Stack_Size return Size_Type is
begin
return 8 * 1024;
-- 12K is required for stack-checking to work on this target, using the
-- System.Stack_Checking runtime facility and possibly relying on the
-- stack greedy GCC scheme to propagate an exception in the ZCX case.
return 12 * 1024;
end Minimum_Stack_Size;
end System.Parameters;