This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: MIPS_STABS_ELF is now broken
On Tue, Jun 11, 2002 at 05:24:09PM -0400, Daniel Jacobowitz wrote:
> On Tue, Jun 11, 2002 at 01:33:58PM -0700, Eric Christopher wrote:
> > On Tue, 2002-06-11 at 13:35, Maciej W. Rozycki wrote:
> > > On Tue, 11 Jun 2002, H . J . Lu wrote:
> > >
> > > > > ports do. '.file 1 "foo.c"' is DWARF-2 usage, not STABS usage, and gas
> > > > > has no business trying to second-guess the compiler.
> > > >
> > > > But it is not an excuse to break the existing gcc binaries. Here is a
> > > > new patch. It basically treats
> > >
> > > Why? If one can update binutils, one can update gcc as well, can't one?
> > > It's a gcc bug, after all.
> >
> > I agree. I've talked to daniel off line and he's working on a patch that
> > should solve a lot of the problems. I'll let him post it when he's done.
>
> Here it is. It'll even work with old compilers for stabs, like H.J.
> wanted. We eventually arrived at just about the same patches.
>
> Eric, changes since last time: "-mdebug" and clearer setting of
> ECOFF_DEBUGGING, as Richard pointed out; handling the first stab
> separately, as H.J. asked.
>
> GCC will need to be updated for DWARF-2; I'll send a revised version of
> that in a bit.
>
Could you please post a patch without diffs to configure? Thanks.
H.J.