Home | History | Annotate | Download | only in libiberty

Lines Matching refs:Ehdr

89 /* Indexes and values in e_ident field of Ehdr.  */
118 /* Values for e_type field of Ehdr. */
122 /* Values for e_machine field of Ehdr. */
319 elf/external.h: Ehdr, Shdr, etc. FIELD is the name of a field in
351 elf/external.h: Ehdr, Shdr, etc. FIELD is the name of a field in
432 unsigned char ehdr[sizeof (Elf64_External_Ehdr)];
481 if (!simple_object_internal_read (descriptor, offset, ehdr, sizeof ehdr,
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,
766 /* Write out an ELF ehdr. */
809 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_type, Elf_Half, ET_REL);
810 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_machine, Elf_Half, attrs->machine);
811 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_version, Elf_Word, EV_CURRENT);
814 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_shoff, Elf_Addr, ehdr_size);
815 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_flags, Elf_Word, attrs->flags);
816 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_ehsize, Elf_Half, ehdr_size);
817 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_phentsize, Elf_Half,
822 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_shentsize, Elf_Half,
826 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_shnum, Elf_Half,
836 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_shstrndx, Elf_Half, shstrndx);
886 Ehdr