Home | History | Annotate | Download | only in libdw

Lines Matching refs:ehdr

88 check_section (Dwarf *result, GElf_Ehdr *ehdr, Elf_Scn *scn, bool inscngrp)
118 const char *scnname = elf_strptr (result->elf, ehdr->e_shstrndx,
176 global_read (Dwarf *result, Elf *elf, GElf_Ehdr *ehdr)
181 result = check_section (result, ehdr, scn, false);
188 scngrp_read (Dwarf *result, Elf *elf, GElf_Ehdr *ehdr, Elf_Scn *scngrp)
216 result = check_section (result, ehdr, scn, true);
231 GElf_Ehdr *ehdr;
236 ehdr = gelf_getehdr (elf, &ehdr_mem);
237 if (ehdr == NULL)
260 if ((BYTE_ORDER == LITTLE_ENDIAN && ehdr->e_ident[EI_DATA] == ELFDATA2MSB)
261 || (BYTE_ORDER == BIG_ENDIAN && ehdr->e_ident[EI_DATA] == ELFDATA2LSB))
284 return global_read (result, elf, ehdr);
286 return scngrp_read (result, elf, ehdr, scngrp);