[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] Re: snprintf bug ?
From: |
Joerg Wunsch |
Subject: |
Re: [avr-libc-dev] Re: snprintf bug ? |
Date: |
Fri, 14 Oct 2005 20:55:35 +0200 |
User-agent: |
Mutt/1.4.2.1i |
As Dmitry K. wrote:
> You have exclude frame pointer (r28/r29) initialization
> by defining 'naked' for main.
> But with automatic string 'heading_tmp' this is not work:
> frame pointer is used as base address. Result is writing
> to random place. With static string all works:
> address is absolute.
Thanks for your analysis, Dmitry.
To summarize: declaring main() to be a naked function is not supported
in any way.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
- [avr-libc-dev] snprintf bug ?, Russell Strong, 2005/10/13
- [avr-libc-dev] Re: snprintf bug ?, Joerg Wunsch, 2005/10/13
- Re: [avr-libc-dev] Re: snprintf bug ?, Russell Strong, 2005/10/13
- Re: [avr-libc-dev] Re: snprintf bug ?, Dmitry K., 2005/10/13
- Re: [avr-libc-dev] Re: snprintf bug ?, Björn Haase, 2005/10/14
- Re: [avr-libc-dev] Re: snprintf bug ?, Marek Michalkiewicz, 2005/10/14
- RE: [avr-libc-dev] Re: snprintf bug ?, Darcy Watkins, 2005/10/14
- Re: [avr-libc-dev] Re: snprintf bug ?, Joerg Wunsch, 2005/10/15
- Re: [avr-libc-dev] Re: snprintf bug ?,
Joerg Wunsch <=
- Re: [avr-libc-dev] Re: snprintf bug ?, Russell Strong, 2005/10/14
Re: [avr-libc-dev] snprintf bug ?, Bernard Fouché, 2005/10/13