This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Fix the MIPS ISA ELF setting (Re: RedHat 7.1/mips update)
- To: cgd at broadcom dot com
- Subject: Re: PATCH: Fix the MIPS ISA ELF setting (Re: RedHat 7.1/mips update)
- From: Daniel Jacobowitz <drow at mvista dot com>
- Date: Thu, 1 Nov 2001 16:15:08 -0500
- Cc: "H . J . Lu" <hjl at lucon dot org>, jim at jtan dot com, binutils at sources dot redhat dot com
- References: <20011026001025.A7648@lucon.org> <20011026093248.A16729@lucon.org> <1004664608.18027.7.camel@ghostwheel.cygnus.com> <20011031213759.A9712@lucon.org> <20011101044439.A7502@neurosis.mit.edu> <mailpost.1004607896.9172@postal.sibyte.com> <yov5668ucss0.fsf@broadcom.com> <20011101092721.A20027@lucon.org> <yov5y9lqbcxh.fsf@broadcom.com>
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.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer