[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] WinAVR - gcc 3.4.6 - AVR Studio - DuoCore PC - Stackp
From: |
Steffen Rose |
Subject: |
Re: [avr-gcc-list] WinAVR - gcc 3.4.6 - AVR Studio - DuoCore PC - Stackpointer problem |
Date: |
Mon, 27 Nov 2006 18:36:23 +0100 |
User-agent: |
KMail/1.9.1 |
On Saturday 25 November 2006 23:15, Joerg Wunsch wrote:
> That would suggest you've been declaring a *lot* of local
> variables.
Now we can create this problem also on our correct system.
This code will create, is the option -fstack-check is enabled:
/* epilogue: frame size=0 */
/* epilogue: noreturn */
/* epilogue end (size=0) */
/* function validCobId size 58 (58)
.LFE14:
.size validCobId, .-valid
.global FlushMbox
.type FlushMbox, @functio
FlushMbox:
.LFB15:
.LM113:
/* prologue: frame size=0 */
push r17
push r28
push r29
/* prologue end (size=3) */
in r30,__SP_L__
in r31,__SP_H__
subi r30,lo8(-(-4170))
sbci r31,hi8(-(-4170))
st Z,__zero_reg__
.LM114:
How do the Stackchecking work? What should the command
st Z,__zero_reg__
do?
--
Regards
Steffen Rose