MIPS_STABS_ELF is now broken
H . J . Lu
hjl@lucon.org
Tue Jun 11 09:11:00 GMT 2002
On Tue, Jun 11, 2002 at 11:38:52AM -0400, Daniel Jacobowitz wrote:
> On Tue, Jun 11, 2002 at 08:31:42AM -0700, H . J . Lu wrote:
> > On Mon, Jun 10, 2002 at 11:59:06PM -0700, Eric Christopher wrote:
> > >
> > > > 2002-06-10 H.J. Lu <hjl@gnu.org>
> > > >
> > > > * config/tc-mips.c (s_mips_file): Never pass the first .file
> > > > directive to dwarf.
> > > >
> > >
> > > Daniel solved this a different way, by adjusting the file directives
> > > that come out of gcc. See the patch he posted to gcc-local and I was
> > > meaning to test a few days ago.
> > >
> >
> > How does it work with gcc 2.96? I don't want to modify gcc 2.96 for that.
> > The fact is before that change, everything works fine. I don't believe
> > modifying gcc is the solution. Are you going to offer the new gcc binary
> > for each different version of Linux/mips gcc? In any case, I will fix it
> > in my Linux binutils if you plan not to support the existing Linux/mips
> > gcc binary.
>
> HJ, the debug information being emitted by GCC is obviously in error.
> If you ignore the first .file directive, you will then not accept
> _VALID_ DWARF-2 debug information. You can't have it both ways. This
Are you really sure about it? gcc 3.1.1 seems to work fine with my patched
gas and dwarf on Linux/mips. Could you please try gas with my patch and
gcc 3.1.1 without yout patch on Linux/mips?
H.J.
More information about the Binutils
mailing list