GNU Stabs problems
Richard Earnshaw
rearnsha@arm.com
Fri Apr 20 08:58:00 GMT 2001
> 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.
More information about the Binutils
mailing list