Lines Matching refs:destshdr
761 GElf_Shdr *destshdr;
763 destshdr = gelf_getshdr (elf_getscn (ebl->elf, xndx), &destshdr_mem);
764 if (destshdr != NULL)
767 : destshdr->sh_addr);
771 destshdr))
773 if (sym->st_value - sh_addr > destshdr->sh_size)
791 + sym->st_size) > destshdr->sh_size)
800 if ((destshdr->sh_flags & SHF_TLS) == 0)
810 if (sym->st_value > destshdr->sh_size)
816 > destshdr->sh_size)
845 < destshdr->sh_offset - phdr->p_offset)
851 > (destshdr->sh_offset - phdr->p_offset
852 + destshdr->sh_size))
858 > (destshdr->sh_offset - phdr->p_offset
859 + destshdr->sh_size))
898 GElf_Shdr *destshdr = gelf_getshdr (elf_getscn (ebl->elf, xndx),
901 if (destshdr == NULL && xndx == SHN_ABS)
908 destshdr = gelf_getshdr (gscn, &destshdr_mem);
909 assert (destshdr != NULL);
912 destshdr->sh_name);
923 destshdr = NULL;
926 if (destshdr == NULL && gotscn != NULL)
927 destshdr = gelf_getshdr (gotscn, &destshdr_mem);
930 const char *sname = ((destshdr == NULL || xndx == SHN_UNDEF)
933 destshdr->sh_name));
949 if (destshdr != NULL)
953 destshdr))
956 && sym->st_value != destshdr->sh_addr)
964 sname, (uint64_t) destshdr->sh_addr);
966 if (!gnuld && sym->st_size != destshdr->sh_size)
971 sname, (uint64_t) destshdr->sh_size);
1310 const GElf_Shdr *destshdr, bool reldyn,
1363 if (destshdr != NULL
1366 : destshdr->sh_addr)) >= destshdr->sh_size)
1440 GElf_Shdr *destshdr = NULL;
1442 bool reldyn = check_reloc_shdr (ebl, ehdr, shdr, idx, ELF_T_RELA, &destshdr,
1464 rela->r_offset, rela->r_info, destshdr, reldyn, loaded,
1490 GElf_Shdr *destshdr = NULL;
1492 bool reldyn = check_reloc_shdr (ebl, ehdr, shdr, idx, ELF_T_REL, &destshdr,
1514 rel->r_offset, rel->r_info, destshdr, reldyn, loaded,