Lines Matching refs:destshdr
767 GElf_Shdr *destshdr; in check_symtab() local
769 destshdr = gelf_getshdr (elf_getscn (ebl->elf, xndx), &destshdr_mem); in check_symtab()
770 if (destshdr != NULL) in check_symtab()
773 : destshdr->sh_addr); in check_symtab()
783 destshdr)) in check_symtab()
785 if (st_value - sh_addr > destshdr->sh_size) in check_symtab()
816 + sym->st_size) > destshdr->sh_size) in check_symtab()
825 if ((destshdr->sh_flags & SHF_TLS) == 0) in check_symtab()
835 if (st_value > destshdr->sh_size) in check_symtab()
841 > destshdr->sh_size) in check_symtab()
876 < destshdr->sh_offset - phdr->p_offset) in check_symtab()
882 > (destshdr->sh_offset - phdr->p_offset in check_symtab()
883 + destshdr->sh_size)) in check_symtab()
889 > (destshdr->sh_offset - phdr->p_offset in check_symtab()
890 + destshdr->sh_size)) in check_symtab()
929 GElf_Shdr *destshdr = gelf_getshdr (elf_getscn (ebl->elf, xndx), in check_symtab() local
932 if (destshdr == NULL && xndx == SHN_ABS) in check_symtab()
939 destshdr = gelf_getshdr (gscn, &destshdr_mem); in check_symtab()
940 assert (destshdr != NULL); in check_symtab()
943 destshdr->sh_name); in check_symtab()
954 destshdr = NULL; in check_symtab()
957 if (destshdr == NULL && gotscn != NULL) in check_symtab()
958 destshdr = gelf_getshdr (gotscn, &destshdr_mem); in check_symtab()
961 const char *sname = ((destshdr == NULL || xndx == SHN_UNDEF) in check_symtab()
964 destshdr->sh_name)); in check_symtab()
980 if (destshdr != NULL) in check_symtab()
984 destshdr)) in check_symtab()
987 && sym->st_value != destshdr->sh_addr) in check_symtab()
995 sname, (uint64_t) destshdr->sh_addr); in check_symtab()
997 if (!gnuld && sym->st_size != destshdr->sh_size) in check_symtab()
1002 sname, (uint64_t) destshdr->sh_size); in check_symtab()
1354 const GElf_Shdr *destshdr, bool reldyn, in check_one_reloc() argument
1407 if (destshdr != NULL in check_one_reloc()
1410 : destshdr->sh_addr)) >= destshdr->sh_size) in check_one_reloc()
1484 GElf_Shdr *destshdr = NULL; in check_rela() local
1486 bool reldyn = check_reloc_shdr (ebl, ehdr, shdr, idx, ELF_T_RELA, &destshdr, in check_rela()
1509 rela->r_offset, rela->r_info, destshdr, reldyn, loaded, in check_rela()
1535 GElf_Shdr *destshdr = NULL; in check_rel() local
1537 bool reldyn = check_reloc_shdr (ebl, ehdr, shdr, idx, ELF_T_REL, &destshdr, in check_rel()
1560 rel->r_offset, rel->r_info, destshdr, reldyn, loaded, in check_rel()