Lines Matching refs:ei_class
99 #define EI_CLASS 4 /* File class */
318 unsigned char ei_class;
342 unsigned char ei_class;
360 unsigned char ei_class;
384 ei_class = header[EI_CLASS];
385 switch (ei_class)
418 eor->ei_class = ei_class;
420 eor->machine = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr,
422 eor->flags = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr,
424 eor->shoff = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr,
426 eor->shnum = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr,
428 eor->shstrndx = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr,
439 (ei_class == ELFCLASS32
449 eor->shnum = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
454 eor->shstrndx = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
497 unsigned char ei_class = eor->ei_class;
508 shdr_size = (ei_class == ELFCLASS32
531 name_size = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
533 shstroff = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
554 sh_name = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
565 offset = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
567 length = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
594 ret->ei_class = eor->ei_class;
619 if (to->ei_data != from->ei_data || to->ei_class != from->ei_class)
704 cl = attrs->ei_class;
725 buf[EI_CLASS] = cl;
781 cl = attrs->ei_class;
832 cl = attrs->ei_class;