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]

Re: PATCH: Fix the MIPS ISA ELF setting (Re: RedHat 7.1/mips update)


Daniel Jacobowitz wrote:
> 
> On Thu, Nov 01, 2001 at 09:47:54AM -0800, cgd@broadcom.com wrote:
> > What you really "want" is some method of marking PC ranges in object
> > files as being asm for a particular ISA or CPU (then a method of
> > merging them on link, etc.).  I don't suspect that that would be
> > horribly difficult, but I wouldn't even know where to begin
> > implementing it...
> 
> At the risk of opening a nasty can of worms... this sounds like it
> should be a job for DWARF2.  Speaking it in the assembler to this
> degree may be more trouble than it's worth.  We already have some
> address range information; I don't know if it's possible to tag that.

Actually, this is a job for DWARF3.  

You can specify that an address range contains a particular isa.

--
Michael Eager     eager@mvista.com	408-328-8426	
MontaVista Software, Inc. 1237 E. Arques Ave., Sunnyvale, CA  94085


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