Hi Oleg,
Ok, looks reasonable. But two more things before commiting:
1. Are you sure that registers do not have to be pushed onto stack?
2. Could you please make diff with '-c3p' flags (this looks more informative)?
Actually I'm going to switch to 3.4 and going to commit it to 3.4 tree.
cheers,
~d
On Sunday 15 February 2004 11:08, Oleg Skydan wrote:
> Hi, All !
>
> I have added a new 'task' function attribute to the msp430-gcc.
>
> 'task' function is similar to the 'naked' function, except that prolog code
> for allocation stack for local variables is generated. It is very useful in
> RTOS programming.
>
> I hope that msp430-gcc development team will approve the new feature and
> commit patch to the CVS.
>
> The patch which implement new feature is in the attachments.
> (to Dmitry: I have compiled gcc with this patch and test new attribute with
> my SOS RTOS. It works fine, but I am not very familiar with the gcc's
> internals,
> so please check ones more before committing, if you will).
>
> All the best !
> Oleg Skydan
> UR3IQO
--
/*****************************************************************
("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ
`6_ 6 ) `-. ( ).`-.__.`) State Polytechnical Univ.
(_Y_.)' ._ ) `._ `. ``-..-' Radio-Physics Departament
_..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia
(il),-'' (li),' ((!.-' +7 (812) 5403923, 5585314
*****************************************************************/