[ros-dev] Re: [ros-svn] [arty] 14588: Commit for blight: fix stack alignment.

Mark Junker mjscod at gmx.de
Tue Apr 12 05:02:17 CEST 2005


Hartmut Birr schrieb:

>why do you change this file? Alloca.c isn't used and should be removed.
>If we have an alloca function somewhere in our source, it must be
>completely written in assembler because the stack layout and the using
>of ebp depends on the compilers optimisation.   
>  
>
I agree with you. This function should really be completely written in 
assembler - optimizing builds will probably create a buggy function when 
stack frames are omitted (for example). Anyway, there should be an i386 
sub-folder where this implementation should be moved to.

Regards,
Mark



More information about the Ros-dev mailing list