This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: GNU Stabs problems
- To: Michael Meissner <meissner at cygnus dot com>
- Subject: Re: GNU Stabs problems
- From: Richard Earnshaw <rearnsha at arm dot com>
- Date: Fri, 20 Apr 2001 16:57:19 +0100
- cc: Girish G <girishg at india dot ti dot com>, Eric Christopher <echristo at redhat dot com>, binutils at sources dot redhat dot com, Richard dot Earnshaw at arm dot com
- Organization: ARM Ltd.
- Reply-To: Richard dot Earnshaw at arm dot com
> On Wed, Apr 18, 2001 at 09:53:19AM +0530, Girish G wrote:
> > Eric Christopher wrote:
> > >
> > > > 1) Can we in any way ask GNU to not generate local variables
> > > > using Frame pointer but use the stack pointer instead; or
> > >
> > > -fomit-frame-pointer will omit the frame pointer when possible.
> > >
> > However, will the ARM support this;
> > Also, will gcc generate the correct local variable addresses
> > in Stabs and will it be used wrt the stack pointer
> >
> > Meanwhile.. I will try this out
> >
> > thanks and regards
> > Girish
>
> Note, on the ARM, you probably need -mno-apcs-frame, and maybe some other
> options.
-mno-apcs-frame should only be used if you are working with gcc-3.0 or
later development code. Prior to that it could do the wrong thing (tm).
R.