• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/cxxfilt-11/cxxfilt/bfd/

Lines Matching refs:shdr

456   Elf_Internal_Shdr *shdr;
506 Elf_Internal_Shdr *shdr = elf_elfsections (abfd)[i];
507 if (shdr->sh_type == SHT_GROUP && shdr->sh_size >= 8)
531 Elf_Internal_Shdr *shdr = elf_elfsections (abfd)[i];
532 if (shdr->sh_type == SHT_GROUP && shdr->sh_size >= 8)
538 elf_tdata (abfd)->group_sect_ptr[num_group] = shdr;
543 amt = shdr->sh_size * sizeof (*dest) / 4;
544 shdr->contents = bfd_alloc2 (abfd, shdr->sh_size,
546 if (shdr->contents == NULL
547 || bfd_seek (abfd, shdr->sh_offset, SEEK_SET) != 0
548 || (bfd_bread (shdr->contents, shdr->sh_size, abfd)
549 != shdr->sh_size))
556 src = shdr->contents + shdr->sh_size;
557 dest = (Elf_Internal_Group *) (shdr->contents + amt);
565 if (src == shdr->contents)
568 if (shdr->bfd_section != NULL && (idx & GRP_COMDAT))
569 shdr->bfd_section->flags
579 dest->shdr = elf_elfsections (abfd)[idx];
592 Elf_Internal_Shdr *shdr = elf_tdata (abfd)->group_sect_ptr[i];
593 Elf_Internal_Group *idx = (Elf_Internal_Group *) shdr->contents;
594 unsigned int n_elt = shdr->sh_size / 4;
599 if ((++idx)->shdr == hdr)
606 idx = (Elf_Internal_Group *) shdr->contents;
607 n_elt = shdr->sh_size / 4;
609 if ((s = (++idx)->shdr->bfd_section) != NULL
624 gname = group_signature (abfd, shdr);
635 if (shdr->bfd_section != NULL)
636 elf_next_in_group (shdr->bfd_section) = newsect;
708 Elf_Internal_Shdr *shdr = elf_tdata (abfd)->group_sect_ptr[i];
709 Elf_Internal_Group *idx = (Elf_Internal_Group *) shdr->contents;
710 unsigned int n_elt = shdr->sh_size / 4;
713 if ((++idx)->shdr->bfd_section)
714 elf_sec_group (idx->shdr->bfd_section) = shdr->bfd_section;
715 else if (idx->shdr->sh_type == SHT_RELA
716 || idx->shdr->sh_type == SHT_REL)
722 shdr->bfd_section->size -= 4;
729 (unsigned int) idx->shdr->sh_type,
733 idx->shdr->sh_name),
734 shdr->bfd_section->name);
2164 if ((s = (--idx)->shdr->bfd_section) != NULL