Re: [uClinux-dev] passing of argv and envp parameters (NetARM)

From: David McCullough (davidm@lineo.com)
Date: Mon Jul 16 2001 - 18:08:29 EDT


Jivin Steve Johnson lays it down ...
> Rolf Peukert wrote:
> 
> > As an experiment I changed the #if line above to
> > #if defined(__i386__) || defined(__mc68000__) || defined(__arm__)
> > and replaced crt0.S by crt0pic.S, which takes argv and envp from the
> > stack.
> >
> > Now the parameter passing seems to work, new and old programs can read
> > their arguments. I would like to leave it that way, is there any reason
> > not to do so?
> 
> Hi Rolf,
> 
>     I submitted that same change as a patch to 2.4 binfmt_flat.c back in March,
> apparently it never made it into binfmt_flat.c.  We also use crt0pic.S,
> and it works fine
> for us.

Doh,  must have missed that one somehow.  It's there now,

Thanks,
Davidm

-- 
David McCullough:  Ph: +61 7 3435 2815  Lineo (Where Open Meets Smart)
davidm@lineo.com   Fx: +61 7 3891 3630  825 Stanley St., W'gabba QLD 4102, Oz
This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/


This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:19:56 EDT