[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-gcc-list] Add 'OS_main' and 'OS_task' attributes in avr-gcc4.2.
From: |
Weddington, Eric |
Subject: |
RE: [avr-gcc-list] Add 'OS_main' and 'OS_task' attributes in avr-gcc4.2.1 |
Date: |
Tue, 9 Dec 2008 12:22:05 -0700 |
> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
> org] On Behalf Of Ruud Vlaming
> Sent: Tuesday, December 09, 2008 7:44 AM
> To: address@hidden
> Subject: Re: [avr-gcc-list] Add 'OS_main' and 'OS_task'
> attributes in avr-gcc4.2.1
>
> Below three examples (gcc 4.3.2 with patches):
> 1) Standard compile
> 2) Overwriting __methodes (Bjoern's trick)
> 3) with -nostartfiles + custom startup code
> Note that, since the data section was empty in this example the
> whole data copy loop is wasted space two.
>
Hi Ruud,
As a side note, a fix for this enhancement bug for GCC would be very helpful in
getting rid of other parts of the startup code when they are not needed:
<http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18145>
Eric