Home | History | Annotate | Download | only in libiberty

Lines Matching refs:Ehdr

85 /* Indexes and values in e_ident field of Ehdr.  */
114 /* Values for e_type field of Ehdr. */
118 /* Values for e_machine field of Ehdr. */
257 elf/external.h: Ehdr, Shdr, etc. FIELD is the name of a field in
289 elf/external.h: Ehdr, Shdr, etc. FIELD is the name of a field in
362 unsigned char ehdr[sizeof (Elf64_External_Ehdr)];
411 if (!simple_object_internal_read (descriptor, offset, ehdr, sizeof ehdr,
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,
687 /* Write out an ELF ehdr. */
730 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_type, Elf_Half, ET_REL);
731 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_machine, Elf_Half, attrs->machine);
732 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_version, Elf_Word, EV_CURRENT);
735 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_shoff, Elf_Addr, ehdr_size);
736 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_flags, Elf_Word, attrs->flags);
737 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_ehsize, Elf_Half, ehdr_size);
738 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_phentsize, Elf_Half,
743 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_shentsize, Elf_Half,
747 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_shnum, Elf_Half,
757 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_shstrndx, Elf_Half, shstrndx);
803 Ehdr