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]
Other format: [Raw text]

Re: MIPS_STABS_ELF is now broken


On Wed, Jun 12, 2002 at 08:45:39AM -0700, H . J . Lu wrote:
> On Tue, Jun 11, 2002 at 11:42:55PM -0700, Eric Christopher wrote:
> > 
> > > Since the current gas is broken for Linux/mips, I prefer breaking your
> > > patch into smaller pieces. Check in the small one to fix Linux/mips
> > > first, then deal with with ECOFF later.
> > > 
> > 
> > No. I'd prefer to revert than to do that. I believe that we're very
> > close and it should just be the matter of a day or two at the most.
> 
> That should work for me.
> 
> 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.

Also, changing to .file "foo.c" will break the ECOFF_DEBUGGING case.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


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