[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Where is the Startup Code source.
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] Where is the Startup Code source. |
Date: |
Wed, 8 Nov 2006 23:33:55 +0100 (MET) |
address@hidden (Erik Christiansen) wrote:
> To help circumvent the avr muddle, I keep the following reminder:
>
> avr-gcc: Still generates do_clear_bss, do_clear_data, exit,
> and stack references, if main() exists. Use
> another function name, if necessary.
Well, __stack, __do_clear_bss, and __do_clear_data start with two
underscores, and are thus reserved for "the implementation".
exit() is only referenced when main() returns, and that's basically a
requirement of the C standard.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)