From f695eccf71367a91aa87a4ff5a61d365da305d94 Mon Sep 17 00:00:00 2001 From: Andreas Krebbel Date: Wed, 19 Oct 2005 11:00:03 +0000 Subject: s390.c (override_options): Added check for -mstack-size 64k limitation. 2005-10-19 Andreas Krebbel * config/s390/s390.c (override_options): Added check for -mstack-size 64k limitation. * doc/invoke.texi: Mention that limit in the documenation. From-SVN: r105609 --- gcc/doc/invoke.texi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gcc/doc') diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 4d8e67a..8bbbb04 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -11659,9 +11659,10 @@ back end emits additional instructions in the function prologue which trigger a if the stack size is @var{stack-guard} bytes above the @var{stack-size} (remember that the stack on s390 grows downward). These options are intended to be used to help debugging stack overflow problems. The additionally emitted code -cause only little overhead and hence can also be used in production like systems +causes only little overhead and hence can also be used in production like systems without greater performance degradation. The given values have to be exact -powers of 2 and @var{stack-size} has to be greater than @var{stack-guard}. +powers of 2 and @var{stack-size} has to be greater than @var{stack-guard} without +exceeding 64k. In order to be efficient the extra code makes the assumption that the stack starts at an address aligned to the value given by @var{stack-size}. @end table -- cgit v1.1