Home | History | Annotate | Download | only in libdw

Lines Matching defs:ehdr

68 check_section (Dwarf *result, GElf_Ehdr *ehdr, Elf_Scn *scn, bool inscngrp)
98 const char *scnname = elf_strptr (result->elf, ehdr->e_shstrndx,
217 global_read (Dwarf *result, Elf *elf, GElf_Ehdr *ehdr)
222 result = check_section (result, ehdr, scn, false);
229 scngrp_read (Dwarf *result, Elf *elf, GElf_Ehdr *ehdr, Elf_Scn *scngrp)
278 result = check_section (result, ehdr, scn, true);
290 GElf_Ehdr *ehdr;
295 ehdr = gelf_getehdr (elf, &ehdr_mem);
296 if (ehdr == NULL)
322 if ((BYTE_ORDER == LITTLE_ENDIAN && ehdr->e_ident[EI_DATA] == ELFDATA2MSB)
323 || (BYTE_ORDER == BIG_ENDIAN && ehdr->e_ident[EI_DATA] == ELFDATA2LSB))
345 return global_read (result, elf, ehdr);
347 return scngrp_read (result, elf, ehdr, scngrp);