[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Long prologue/epilogue sequences
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] Long prologue/epilogue sequences |
Date: |
Wed, 20 Apr 2005 14:14:53 +0200 (MET DST) |
In article <address@hidden> you write:
>Could someone point me the documentation that talks about the reason
>and/or possible solution to this?
When you call another function, you force the compiler into saving all
registers that are marked as callee-saved in the ABI, as the calling
function does not know what actual registers the called function might
destroy.
Just avoid calling other functions from a SIGNAL handler, or try to
force inlining of those functions (so the code analysis can determine
which registers need to be saved).
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)