Lines Matching defs:shdr
319 GElf_Shdr * shdr;
345 shdr = &(sinfo->shdr);
346 if (gelf_getshdr(scn, shdr) == NULL) {
356 name = elf_strptr(elf, shstrndx, (size_t)shdr->sh_name);
368 if (shdr->sh_type == SHT_GROUP) {
383 if ((shdr->sh_type == SHT_REL ||
384 shdr->sh_type == SHT_RELA) &&
385 (shdr->sh_info != SHN_UNDEF &&
386 (temp_scn = elf_getscn(elf, shdr->sh_info)) != 0)) {
393 shdr->sh_info;
429 ((shdr->sh_type == SHT_SUNW_DEBUG) ||
430 (shdr->sh_type == SHT_SUNW_DEBUGSTR))) {
440 (shdr->sh_type == SHT_PROGBITS)) {
458 if ((shdr->sh_type == SHT_NOTE) && (state->notesctndx == -1) &&
461 == shdr->sh_offset))
465 state->off_table[scn_index] = shdr->sh_offset;
466 if (shdr->sh_type == SHT_NOBITS)
483 if (shdr->sh_type == SHT_SYMTAB &&
637 shdr = &(sinfo->shdr);
645 if (shdr->sh_flags & SHF_GROUP)
655 if ((shdr->sh_flags & SHF_GROUP) &&
1153 * then it is stored in shdr[0].sh_link
1498 GElf_Shdr shdr;
1500 (void) gelf_getshdr(scn, &shdr);
1506 if (shdr.sh_addr == 0)
1507 return (location(shdr.sh_offset + shdr.sh_size, 0, elf, state));
1509 return (location(shdr.sh_offset + shdr.sh_size, 1, elf, state));
1572 num = (sinfo->shdr).sh_size/sizeof (Word);
1616 num = (sinfo->shdr).sh_size/sizeof (Word);