aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/bfin
diff options
context:
space:
mode:
authorBernd Schmidt <bernd.schmidt@analog.com>2008-09-03 09:32:18 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2008-09-03 09:32:18 +0000
commit3b62f0e14bdd2d1efb0d4bb6aac93d2a80ff75c0 (patch)
treeaa30518477d3beaa47c62af91c26de428d18fd6d /gcc/config/bfin
parentfea16f8128f9bf18b100c4dbdaed907d73258599 (diff)
downloadgcc-3b62f0e14bdd2d1efb0d4bb6aac93d2a80ff75c0.zip
gcc-3b62f0e14bdd2d1efb0d4bb6aac93d2a80ff75c0.tar.gz
gcc-3b62f0e14bdd2d1efb0d4bb6aac93d2a80ff75c0.tar.bz2
bfin.c (bfin_expand_prologue): Honour no_stack_limit attribute.
* config/bfin/bfin.c (bfin_expand_prologue): Honour no_stack_limit attribute. From-SVN: r139928
Diffstat (limited to 'gcc/config/bfin')
-rw-r--r--gcc/config/bfin/bfin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/bfin/bfin.c b/gcc/config/bfin/bfin.c
index 6ff1093..10bbfce 100644
--- a/gcc/config/bfin/bfin.c
+++ b/gcc/config/bfin/bfin.c
@@ -1165,7 +1165,8 @@ bfin_expand_prologue (void)
}
if (crtl->limit_stack
- || TARGET_STACK_CHECK_L1)
+ || (TARGET_STACK_CHECK_L1
+ && !DECL_NO_LIMIT_STACK (current_function_decl)))
{
HOST_WIDE_INT offset
= bfin_initial_elimination_offset (ARG_POINTER_REGNUM,