MFC: Big endian support.
This commit is contained in:
parent
e631434cab
commit
6a0309a716
@ -89,4 +89,7 @@ int db_validate_address(vm_offset_t);
|
||||
|
||||
u_int branch_taken (u_int insn, u_int pc);
|
||||
|
||||
#ifdef __ARMEB__
|
||||
#define BYTE_MSF (1)
|
||||
#endif
|
||||
#endif /* !_MACHINE_DB_MACHDEP_H_ */
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user