Home | History | Annotate | Download | only in util

Lines Matching defs:ehdr

897 	GElf_Ehdr ehdr;
913 if (gelf_getehdr(elf, &ehdr) == NULL)
916 scn_dynsym = elf_section_by_name(elf, &ehdr, &shdr_dynsym,
921 scn_plt_rel = elf_section_by_name(elf, &ehdr, &shdr_rel_plt,
924 scn_plt_rel = elf_section_by_name(elf, &ehdr, &shdr_rel_plt,
935 if (elf_section_by_name(elf, &ehdr, &shdr_plt, ".plt", NULL) == NULL)
1077 GElf_Ehdr ehdr;
1092 if (gelf_getehdr(elf, &ehdr) == NULL) {
1109 sec = elf_section_by_name(elf, &ehdr, &shdr, ".symtab", NULL);
1114 sec = elf_section_by_name(elf, &ehdr, &shdr, ".dynsym", NULL);
1119 opdsec = elf_section_by_name(elf, &ehdr, &opdshdr, ".opd", &opdidx);
1137 sec_strndx = elf_getscn(elf, ehdr.e_shstrndx);
1149 dso->adjust_symbols = (ehdr.e_type == ET_EXEC ||
1150 elf_section_by_name(elf, &ehdr, &shdr,
1173 if (ehdr.e_machine == EM_ARM) {
1200 if ((ehdr.e_machine == EM_ARM) &&
1338 GElf_Ehdr ehdr;
1352 if (gelf_getehdr(elf, &ehdr) == NULL) {
1357 sec = elf_section_by_name(elf, &ehdr, &shdr,
1360 sec = elf_section_by_name(elf, &ehdr, &shdr,