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 Thu, Jun 13, 2002 at 11:49:11AM -0400, Daniel Jacobowitz wrote:
> > 
> > I am having the second thought. The gas change is too big for me. May
> > I propose to do these:
> > 
> > 1. Modify the mips gas to take either
> > 
> > 	.file "foo.c"
> > or
> > 
> > 	.file 1 "foo.c"
> > 
> > as the first line for stabs, dwarf and mdebug.
> > 
> > 2. Modify gcc 3 to emit
> > 
> > 	.file "foo.c"
> > 
> > as the first line for stabs, dwarf and mdebug.
> > 
> > In this way, the new gas will still work with the existing compiler
> > and the dwarf/stabs output will be very similar to x86. That means you
> > have to use the new gas for gcc 3. I will post my gas/gcc changes
> > shortly.
> 
> What advantage do you claim this has over the patches I posted (which

My gas change will be very small and the dwarf/stabs asm output will be
very similar to x86, which is well tested.

> have already gone in on the GCC side, and which do not make GCC3
> require a new binutils version for stabs output)?

What is wrong to require a new binutils for a new gcc? Also if you do

# .../configure
# make bootstrap

you will need a new binutils for mips anyway.

> 
> Also, your patch will be incompatible with traditional MIPS assemblers
> and their use of .file.  All the world is not GNU as!
> 

You haven't seen my gcc patch. How do you know it isn't compatible
with non gas?


H.J.


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