Lines Matching refs:destshdr
787 GElf_Shdr *destshdr; in check_symtab() local
789 destshdr = gelf_getshdr (elf_getscn (ebl->elf, xndx), &destshdr_mem); in check_symtab()
790 if (destshdr != NULL) in check_symtab()
793 : destshdr->sh_addr); in check_symtab()
803 destshdr)) in check_symtab()
805 if (st_value - sh_addr > destshdr->sh_size) in check_symtab()
836 + sym->st_size) > destshdr->sh_size) in check_symtab()
845 if ((destshdr->sh_flags & SHF_TLS) == 0) in check_symtab()
855 if (st_value > destshdr->sh_size) in check_symtab()
861 > destshdr->sh_size) in check_symtab()
896 < destshdr->sh_offset - phdr->p_offset) in check_symtab()
902 > (destshdr->sh_offset - phdr->p_offset in check_symtab()
903 + destshdr->sh_size)) in check_symtab()
909 > (destshdr->sh_offset - phdr->p_offset in check_symtab()
910 + destshdr->sh_size)) in check_symtab()
949 GElf_Shdr *destshdr = gelf_getshdr (elf_getscn (ebl->elf, xndx), in check_symtab() local
952 if (destshdr == NULL && xndx == SHN_ABS) in check_symtab()
959 destshdr = gelf_getshdr (gscn, &destshdr_mem); in check_symtab()
960 assert (destshdr != NULL); in check_symtab()
963 destshdr->sh_name); in check_symtab()
974 destshdr = NULL; in check_symtab()
977 if (destshdr == NULL && gotscn != NULL) in check_symtab()
978 destshdr = gelf_getshdr (gotscn, &destshdr_mem); in check_symtab()
981 const char *sname = ((destshdr == NULL || xndx == SHN_UNDEF) in check_symtab()
984 destshdr->sh_name)); in check_symtab()
1000 if (destshdr != NULL) in check_symtab()
1004 destshdr)) in check_symtab()
1007 && sym->st_value != destshdr->sh_addr) in check_symtab()
1015 sname, (uint64_t) destshdr->sh_addr); in check_symtab()
1017 if (!gnuld && sym->st_size != destshdr->sh_size) in check_symtab()
1022 sname, (uint64_t) destshdr->sh_size); in check_symtab()
1374 const GElf_Shdr *destshdr, bool reldyn, in check_one_reloc() argument
1427 if (destshdr != NULL in check_one_reloc()
1430 : destshdr->sh_addr)) >= destshdr->sh_size) in check_one_reloc()
1504 GElf_Shdr *destshdr = NULL; in check_rela() local
1506 bool reldyn = check_reloc_shdr (ebl, ehdr, shdr, idx, ELF_T_RELA, &destshdr, in check_rela()
1529 rela->r_offset, rela->r_info, destshdr, reldyn, loaded, in check_rela()
1555 GElf_Shdr *destshdr = NULL; in check_rel() local
1557 bool reldyn = check_reloc_shdr (ebl, ehdr, shdr, idx, ELF_T_REL, &destshdr, in check_rel()
1580 rel->r_offset, rel->r_info, destshdr, reldyn, loaded, in check_rel()