[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.
RE: [avr-gcc-list] Add 'OS_main' and 'OS_task' attributes in avr-gcc4.2.1
Tue, 9 Dec 2008 12:22:05 -0700
> -----Original Message-----
> 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.
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: