Check ELF binaries for machine type and endianness.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2274 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
ths 2006-12-23 14:18:40 +00:00
parent 70ead43412
commit 9042c0e20d
10 changed files with 44 additions and 15 deletions

View file

@ -19,6 +19,12 @@
#define TARGET_HAS_ICE 1
#if !defined(TARGET_SPARC64)
#define ELF_MACHINE EM_SPARC
#else
#define ELF_MACHINE EM_SPARCV9
#endif
/*#define EXCP_INTERRUPT 0x100*/
/* trap definitions */