Home | History | Annotate | Download | only in libiberty

Lines Matching defs:EI_CLASS

103 #define EI_CLASS	4	/* File class */
380 unsigned char ei_class;
404 unsigned char ei_class;
430 unsigned char ei_class;
454 ei_class = header[EI_CLASS];
455 switch (ei_class)
488 eor->ei_class = ei_class;
490 eor->machine = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr,
492 eor->flags = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr,
494 eor->shoff = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr,
496 eor->shnum = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr,
498 eor->shstrndx = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr,
509 (ei_class == ELFCLASS32
519 eor->shnum = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
524 eor->shstrndx = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
575 unsigned char ei_class = eor->ei_class;
586 shdr_size = (ei_class == ELFCLASS32
609 name_size = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
611 shstroff = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
632 sh_name = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
643 offset = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
645 length = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
672 ret->ei_class = eor->ei_class;
697 if (to->ei_data != from->ei_data || to->ei_class != from->ei_class)
783 cl = attrs->ei_class;
804 buf[EI_CLASS] = cl;
863 cl = attrs->ei_class;
917 cl = attrs->ei_class;
973 sh_type = ELF_FETCH_FIELD (attrs->type_functions, attrs->ei_class, Shdr,
976 sh_flags = ELF_FETCH_FIELD (attrs->type_functions, attrs->ei_class, Shdr,
979 sh_addr = ELF_FETCH_FIELD (attrs->type_functions, attrs->ei_class, Shdr,
982 sh_link = ELF_FETCH_FIELD (attrs->type_functions, attrs->ei_class, Shdr,
985 sh_info = ELF_FETCH_FIELD (attrs->type_functions, attrs->ei_class, Shdr,
988 sh_addralign = ELF_FETCH_FIELD (attrs->type_functions, attrs->ei_class, Shdr,
991 sh_entsize = ELF_FETCH_FIELD (attrs->type_functions, attrs->ei_class, Shdr,
1096 unsigned char ei_class = eor->ei_class;
1117 shdr_size = (ei_class == ELFCLASS32
1140 name_size = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
1142 shstroff = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
1170 sh_name = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
1189 sh_type = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
1194 sh_link = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
1219 sh_type = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
1221 sh_info = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
1223 sh_link = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
1228 unsigned entsize = ELF_FETCH_FIELD (type_functions, ei_class,
1233 offset = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
1235 length = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
1339 sh_type = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
1350 sh_name = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
1363 offset = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
1365 length = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
1404 unsigned entsize = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
1414 off_t sidxoff = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
1416 size_t sidxsz = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
1419 = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
1444 unsigned st_shndx = ELF_FETCH_FIELD (type_functions, ei_class,
1449 if (ei_class == ELFCLASS32)
1474 ei_class, Sym, ent,
1482 unsigned st_shndx = ELF_FETCH_FIELD (type_functions, ei_class,
1490 if (ei_class == ELFCLASS32)
1540 ELF_SET_FIELD (type_functions, ei_class, Sym,
1548 ELF_SET_FIELD (type_functions, ei_class, Sym,
1558 ELF_SET_FIELD (type_functions, ei_class, Sym,
1561 ELF_SET_FIELD (type_functions, ei_class, Sym,
1566 ELF_SET_FIELD (type_functions, ei_class, Sym,
1568 ELF_SET_FIELD (type_functions, ei_class, Sym,
1581 ELF_SET_FIELD (type_functions, ei_class, Sym,
1628 flags = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
1635 sh_info = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
1638 ELF_SET_FIELD (type_functions, ei_class, Shdr,
1641 sh_link = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
1644 ELF_SET_FIELD (type_functions, ei_class, Shdr,
1654 ELF_SET_FIELD (type_functions, ei_class, Shdr,