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]

More i386 architectures?

[Get raw message]
Hello,

GDB's multi-arch switch was recently thrown for the i386 target.  This 
means that a single GDB binary can, well in theory, support several 
different architecture variants (i8086, i80286, 80386, mmx, xmm, mxm, 
xmx, xxx, er, ...) using a single binary.

As part of this, GDB uses BFD's archures to identify ISA variants. 
Unfortunatly, looking at the i386, things are pretty thin on the ground 
- only i8086 and i386 are present.  Does anyone object to me padding 
this out with (at a guess):

	..._i386sx
	..._i386_p1
	..._i386_p1_mmx
	..._i386_p2
	..._i386_p3
	..._i386_p4

On a related matter, is there anything in an executable indicating which 
architecture an i386 binary belongs?  Having a requrement that an 
(embedded) user explicitly set their architecture is pretty lame.  The 
MIPS, for instance, detects and auto-selects both GDB and, if used, the 
simulator, based on information found in the executable.

Andrew


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