This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GNU Stabs problems


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]