This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: More i386 architectures?
On Mon, Nov 12, 2001 at 10:43:14AM +1030, Alan Modra wrote:
> On Sun, Nov 11, 2001 at 12:13:42PM +0000, Nick Clifton wrote:
> >
> > > On a related matter, is there anything in an executable indicating
> > > which architecture an i386 binary belongs?
> >
> > Don't know, Sorry.
>
> There isn't, apart from examining the code, and we certainly don't want
> to go down the mips path and start using flags in the ELF header for this
> purpose. If gdb needs the info, then it could be arranged for a special
> note to be emitted.
FWIW, personally, I don't like the MIPS scheme at all. On the other
hand, it may be just because we still don't support n32/n64 ABIs. We
have to use all kinds of weird stuffs on MIPS.
H.J.