aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@act-europe.fr>2004-10-27 14:28:07 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2004-10-27 14:28:07 +0200
commit9d96e398afe016d4fcc1def0a5ecfa30517e1455 (patch)
treec2fbe2739844880cb2e1cfef65ffd7da0dcb210b /gcc
parentc4820158f5b080d4aadd9e0ec2ba0dc6377d7ca1 (diff)
downloadgcc-9d96e398afe016d4fcc1def0a5ecfa30517e1455.zip
gcc-9d96e398afe016d4fcc1def0a5ecfa30517e1455.tar.gz
gcc-9d96e398afe016d4fcc1def0a5ecfa30517e1455.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/s-parame-linux.adb8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ada/s-parame-linux.adb b/gcc/ada/s-parame-linux.adb
index 9b17c15..694318b 100644
--- a/gcc/ada/s-parame-linux.adb
+++ b/gcc/ada/s-parame-linux.adb
@@ -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;