Searched refs:EI_DATA (Results 1 – 14 of 14) sorted by relevance
179 unsigned char data = e->e_ident[EI_DATA]; in elf2aout32()184 mid = get_mid(xe16toh(e->e_machine), e->e_ident[EI_DATA], e->e_ident[EI_CLASS]); in elf2aout32()234 unsigned char data = e->e_ident[EI_DATA]; in elf2aout64()239 mid = get_mid(xe16toh(e->e_machine), e->e_ident[EI_DATA], e->e_ident[EI_CLASS]); in elf2aout64()314 data = e->e_ident[EI_DATA]; in main()
56 #define EI_DATA 5 macro542 switch (fileHeader.e_ident[EI_DATA]) { in _ParseELFHeader()
35 #define EI_DATA 5 macro
95 #define EI_DATA 5 macro848 return e_ident[EI_DATA] == ELFDATA2LSB; in IsHostEndian()850 return e_ident[EI_DATA] == ELFDATA2MSB; in IsHostEndian()859 return e_ident[EI_DATA] == ELFDATA2LSB; in IsHostEndian()861 return e_ident[EI_DATA] == ELFDATA2MSB; in IsHostEndian()
84 #define EI_DATA 5 macro835 return e_ident[EI_DATA] == ELFDATA2LSB; in IsHostEndian()837 return e_ident[EI_DATA] == ELFDATA2MSB; in IsHostEndian()846 return e_ident[EI_DATA] == ELFDATA2LSB; in IsHostEndian()848 return e_ident[EI_DATA] == ELFDATA2MSB; in IsHostEndian()
19 #define EI_DATA 5 macro
634 switch (fileHeader.e_ident[EI_DATA]) { in _InitELFFile()
231 if (elfIdent[EI_DATA] == ELFDATA2LSB) { in Init()233 } else if (elfIdent[EI_DATA] == ELFDATA2MSB) { in Init()237 elfIdent[EI_DATA]); in Init()
255 #define EI_DATA 0xffff0000 macro
223 return ((val & EI_DATA) >> EI_DATA_SHIFT); in sge_read_eeprom()
632 if (fHeader.e_ident[EI_DATA] != ELFDATA2LSB) { in _SetTo()
1112 header.e_ident[EI_DATA] = ELFDATA2LSB; in _WriteElfHeader()1114 header.e_ident[EI_DATA] = ELFDATA2MSB; in _WriteElfHeader()
655 if ((elfHeader.e_ident[EI_DATA] == ELFDATA2LSB) != (B_HOST_IS_LENDIAN != 0)) in get_executable_architecture()
477 switch (identification[EI_DATA]) { in _InitELFFile()