This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [arm] Inhibit startup code for SymbianOS
- From: Paul Brook <paul at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Mark Mitchell <mark at codesourcery dot com>,Richard Earnshaw <rearnsha at arm dot com>
- Date: Thu, 30 Sep 2004 21:05:23 +0100
- Subject: Re: [arm] Inhibit startup code for SymbianOS
- Organization: CodeSourcery
- References: <200409301401.03335.paul@codesourcery.com> <415C315E.9030201@codesourcery.com>
On Thursday 30 September 2004 17:16, Mark Mitchell wrote:
> Paul Brook wrote:
> > The patch below stops gcc building/using the crt* startup code for
> > SymbianOS. That OS provides its own versions of this code.
> >
> > Tested by building arm-symbian-symbianelf cross.
> > Ok for mainline and csl-arm-branch?
>
> If you're sure about this, yes.
>
> I had thought we might still need crtbegin/crtend to register exception
> regions, etc. Is that all taken care of in some other way?
Yes. Symbian have their own startup code to handle this, though I admit I
don't know how it works.
The EH tables have a special section type, so that can be used to identify
them. It's possible that the linker will need to do something special to mark
the location of locate the tables, but that's a different problem.
Paul