All of lore.kernel.org
 help / color / mirror / Atom feed
* machine types for MIPS in ELF file
@ 2001-05-08 19:07 Jun Sun
  2001-05-08 19:34 ` Maciej W. Rozycki
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jun Sun @ 2001-05-08 19:07 UTC (permalink / raw)
  To: linux-mips


The e_machine field in ELF file standard defines two values for MIPS:

8	- MIPS RS3000 BE
10	- MIPS RS4000 BE

Naturally the question is: what about LE binaries?  And what about other
CPUs?  Is there any effort to clean up this thing?

All the tools that I know of are using 8, pretty much for all CPUs and both
endians.  No real harm has been observed, but it causes some anonying "invalid
byte order" complains if you do "file" on a MIPS LE binary.  Of course, it
will also invariably reports "R3000" cpu as well.

Jun

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-05-10  2:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-08 19:07 machine types for MIPS in ELF file Jun Sun
2001-05-08 19:34 ` Maciej W. Rozycki
2001-05-08 19:48 ` Ralf Baechle
2001-05-08 21:20   ` Jun Sun
2001-05-10  2:08     ` Ralf Baechle
2001-05-09 12:04 ` Steven J. Hill
2001-05-09 13:54   ` Maciej W. Rozycki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.