[gccsdk] [GCCSDK commit] lee - r2546 - in trunk/gcc/unixlib: Docs source/clib/unixlib source/sys source/unix

Lee Noar leenoar at ntlworld.com
Tue Mar 6 11:33:06 PST 2007


In article
<ab4886070703060140i202ff265vf43c9717b621adc2 at mail.gmail.com>,
   Nick Burrett <nick at sqrt.co.uk> wrote:

> If you conditionalise the declaration here, then you want to
> provide an alternative 4-byte pad for the circumstance where
> we are not compiling for PIC or ELF.  Otherwise you may become
> out-of-step with the GBL_ variables in asm_dec.s should we add
> further pointers to this structure.

> e.g.
> #if defined(__ELF__) && defined(PIC)
>  int (*main) (int, char *[], char **);
> #else
>  void *__pad1; /* To remain unused.  */
> #endif

I see what you mean, I'll change it to what you suggest.

Thanks,
Lee.

-- 
   |     |\ |
   |__ee | \|oar           StrongARM Risc PC,
  leenoar at ntlworld.com     RISC OS 4.
  Manchester, England




More information about the gcc mailing list