Use ELFDATA2MSB if we're building big endian.

Noticed by:	Oleksandr Tymoshenko <gonzo freebsd org>
This commit is contained in:
Olivier Houchard 2006-08-24 23:00:03 +00:00
parent 2afacffb3a
commit ba282be9f3

View File

@ -121,7 +121,11 @@ __ElfType(Auxinfo);
/* Define "machine" characteristics */
#define ELF_TARG_CLASS ELFCLASS32
#ifdef __ARMEB__
#define ELF_TARG_DATA ELFDATA2MSB
#else
#define ELF_TARG_DATA ELFDATA2LSB
#endif
#define ELF_TARG_MACH EM_ARM
#define ELF_TARG_VER 1