if (elf_tdata (obfd)->segment_map == NULL && elf_tdata (ibfd)->phdr != NULL) { asection *s;   for (s = ibfd->sections; s != NULL; s = s->next) if (s->output_section == NULL) break; if (s == NULL) { if (! copy_private_bfd_data (ibfd, obfd)) return false; } }
_bfd_elf_copy_private_section_data (ibfd, isec, obfd, osec)     bfd *ibfd;     asection *isec;     bfd *obfd;     asection *osec;{  Elf_Internal_Shdr *ihdr, *ohdr;  if (ibfd->xvec->flavour != bfd_target_elf_flavour      || obfd->xvec->flavour != bfd_target_elf_flavour)    return true;  ihdr = &elf_section_data (isec)->this_hdr;  ohdr = &elf_section_data (osec)->this_hdr;  ohdr->sh_entsize = ihdr->sh_entsize;  if (ihdr->sh_type == SHT_SYMTAB      || ihdr->sh_type == SHT_DYNSYM)    ohdr->sh_info = ihdr->sh_info;  return true;}