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: More i386 architectures?


H . J . Lu writes:
 > 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.


The SH uses e_flags pretty effectively for this purpose.  But if the
ix86 ABI forbids using e_flags (the ppc ABI does this) we have little
choice.

Geoff is implementing the Dwarf3 extension for this, but I would like to
see the note section as well, so that it works with stabs.

Elena


 > 
 > 
 > H.J.


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