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 Wed, Jun 12, 2002 at 01:02:36PM -0400, Daniel Jacobowitz wrote:
> >
> > BTW, Daniel, I am afraid your second gcc patch may be still wrong. The
> > ONLY thing wrong with the current gcc 3.1.1 is the extra ".file" at
> > the very first line for dwarf with gas. You can do one of 2 things:
> >
> > 1. Don't emit the very first ".file" for dwarf with gas. Or
> > 2. Change it to
> >
> > .file "foo.c"
> > from
> >
> > .file 1 "foo.c"
> >
> > I don't think you should change any other ".file" nor anything related
> > to stabs. Pick one choice you like. I will submit a patch. Personally,
> > I prefer #2 since it is what x86 does and we know it works well with
> > gas.
>
> No, you're incorrect. Have you tried it? Perhaps with the example I
> posted to this list about why it was a problem? The additional .file
> directives are a problem which can not be worked around in the
> assembler.
Please provide a complete testcase. I can't duplicate your result.
>
> Also, changing to .file "foo.c" will break the ECOFF_DEBUGGING case.
>
I thought you wanted to switch all mips ELF targets to DWARF or STABS.
Why do you care about ECOFF_DEBUGGING for ELF?
H.J.