elf_machdep.h revision 1.4
1/* $NetBSD: elf_machdep.h,v 1.4 2001/03/29 03:23:33 marcus Exp $ */ 2 3#ifndef _BYTE_ORDER 4#error Define _BYTE_ORDER! 5#endif 6 7#if _BYTE_ORDER == _LITTLE_ENDIAN 8#define ELF32_MACHDEP_ENDIANNESS ELFDATA2LSB 9#else 10#define ELF32_MACHDEP_ENDIANNESS ELFDATA2MSB 11#endif 12#define ELF32_MACHDEP_ID_CASES \ 13 case EM_SH: \ 14 break; 15 16#define ELF64_MACHDEP_ENDIANNESS XXX /* break compilation */ 17#define ELF64_MACHDEP_ID_CASES \ 18 /* no 64-bit ELF machine types supported */ 19 20#define ARCH_ELFSIZE 32 /* MD native binary size */ 21