Lines Matching refs:p_shdr
301 rel_entsize = p_scns->p_shdr.sh_entsize;
303 (rel_entsize > p_scns->p_shdr.sh_size)) {
326 reloc_symtab->p_shdr.sh_link, sym.st_name);
406 rel_entsize = p_scns->p_shdr.sh_entsize;
408 (rel_entsize > p_scns->p_shdr.sh_size)) {
431 reloc_symtab->p_shdr.sh_link, sym.st_name);
625 p_symtab->p_shdr.sh_link,
629 p_symtab->p_shdr.sh_link, sym.st_name);
665 EC_WORD(p->p_shdr.sh_type),
666 EC_XWORD(p->p_shdr.sh_flags));
673 p->p_shdr.sh_type, DUMP_CONVFMT, &inv_buf));
676 if (p->p_shdr.sh_flags & SHF_WRITE)
680 if (p->p_shdr.sh_flags & SHF_ALLOC)
684 if (p->p_shdr.sh_flags & SHF_EXECINSTR)
689 if (p->p_shdr.sh_flags & SHF_ORDERED)
691 if (p->p_shdr.sh_flags & SHF_EXCLUDE)
698 field, EC_ADDR(p->p_shdr.sh_addr),
699 field, EC_OFF(p->p_shdr.sh_offset),
700 field, EC_XWORD(p->p_shdr.sh_size),
705 EC_WORD(p->p_shdr.sh_link),
706 EC_WORD(p->p_shdr.sh_info),
707 field, EC_XWORD(p->p_shdr.sh_addralign),
708 field, EC_XWORD(p->p_shdr.sh_entsize));
783 if ((p_scns->p_shdr.sh_type != SHT_RELA) &&
784 (p_scns->p_shdr.sh_type != SHT_REL)) {
798 if ((p_scns->p_shdr.sh_link == 0) ||
800 (p_scns->p_shdr.sh_link >= (GElf_Word)shnum)) {
805 (int)p_scns->p_shdr.sh_link);
808 head_scns += (p_scns->p_shdr.sh_link -1);
810 if (head_scns->p_shdr.sh_type == SHT_SYMTAB) {
812 } else if (head_scns->p_shdr.sh_type == SHT_DYNSYM) {
837 if (p_scns->p_shdr.sh_type == SHT_RELA) {
865 if (p_scns->p_shdr.sh_type == SHT_REL) {
922 if (s->p_shdr.sh_type != SHT_STRTAB)
1005 count = sym_size / p_symtab->p_shdr.sh_entsize;
1013 p_symtab->p_shdr.sh_link,
1095 if (p_scns->p_shdr.sh_type != SHT_DYNAMIC)
1110 link = p_scns->p_shdr.sh_link;
1692 if ((gelf_getshdr(scn, &buffer->p_shdr)) == 0) {
1699 elf_strptr(elf_file, shstrndx, buffer->p_shdr.sh_name);
1703 if (buffer->p_shdr.sh_type == SHT_SYMTAB) {
1707 if (buffer->p_shdr.sh_type == SHT_DYNSYM)