Lines Matching defs:destshdr
734 GElf_Shdr *destshdr;
736 destshdr = gelf_getshdr (elf_getscn (ebl->elf, xndx), &destshdr_mem);
737 if (destshdr != NULL)
740 : destshdr->sh_addr);
744 destshdr))
746 if (sym->st_value - sh_addr > destshdr->sh_size)
764 + sym->st_size) > destshdr->sh_size)
773 if ((destshdr->sh_flags & SHF_TLS) == 0)
783 if (sym->st_value > destshdr->sh_size)
789 > destshdr->sh_size)
818 < destshdr->sh_offset - phdr->p_offset)
824 > (destshdr->sh_offset - phdr->p_offset
825 + destshdr->sh_size))
831 > (destshdr->sh_offset - phdr->p_offset
832 + destshdr->sh_size))
871 GElf_Shdr *destshdr = gelf_getshdr (elf_getscn (ebl->elf, xndx),
874 if (destshdr == NULL && xndx == SHN_ABS)
881 destshdr = gelf_getshdr (gscn, &destshdr_mem);
882 assert (destshdr != NULL);
885 destshdr->sh_name);
896 destshdr = NULL;
899 if (destshdr == NULL && gotscn != NULL)
900 destshdr = gelf_getshdr (gotscn, &destshdr_mem);
903 const char *sname = ((destshdr == NULL || xndx == SHN_UNDEF)
906 destshdr->sh_name));
922 if (destshdr != NULL)
926 destshdr))
929 && sym->st_value != destshdr->sh_addr)
937 sname, (uint64_t) destshdr->sh_addr);
939 if (!gnuld && sym->st_size != destshdr->sh_size)
944 sname, (uint64_t) destshdr->sh_size);
1272 const GElf_Shdr *destshdr, bool reldyn,
1325 if (destshdr != NULL
1328 : destshdr->sh_addr)) >= destshdr->sh_size)
1402 GElf_Shdr *destshdr = NULL;
1404 bool reldyn = check_reloc_shdr (ebl, ehdr, shdr, idx, ELF_T_RELA, &destshdr,
1426 rela->r_offset, rela->r_info, destshdr, reldyn, loaded,
1452 GElf_Shdr *destshdr = NULL;
1454 bool reldyn = check_reloc_shdr (ebl, ehdr, shdr, idx, ELF_T_REL, &destshdr,
1476 rel->r_offset, rel->r_info, destshdr, reldyn, loaded,