Lines Matching refs:csect
1214 asection *csect; in xcoff_link_add_symbols() local
1333 csect = NULL; in xcoff_link_add_symbols()
1365 csect = NULL; in xcoff_link_add_symbols()
1366 if (csect != NULL) in xcoff_link_add_symbols()
1367 *csect_cache = csect; in xcoff_link_add_symbols()
1394 && csect != NULL in xcoff_link_add_symbols()
1408 enclosing = xcoff_section_data (abfd, csect)->enclosing; in xcoff_link_add_symbols()
1452 if (csect->line_filepos == 0) in xcoff_link_add_symbols()
1453 csect->line_filepos = in xcoff_link_add_symbols()
1517 csect = NULL; in xcoff_link_add_symbols()
1657 csect = bfd_xcoff_create_csect_from_smclas(abfd, &aux, name); in xcoff_link_add_symbols()
1658 if (NULL == csect) in xcoff_link_add_symbols()
1678 csect->vma = sym.n_value; in xcoff_link_add_symbols()
1679 csect->filepos = (enclosing->filepos in xcoff_link_add_symbols()
1682 csect->size = aux.x_csect.x_scnlen.l; in xcoff_link_add_symbols()
1683 csect->flags |= SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS; in xcoff_link_add_symbols()
1684 csect->alignment_power = SMTYP_ALIGN (aux.x_csect.x_smtyp); in xcoff_link_add_symbols()
1689 csect->used_by_bfd = bfd_zalloc (abfd, amt); in xcoff_link_add_symbols()
1690 if (csect->used_by_bfd == NULL) in xcoff_link_add_symbols()
1693 coff_section_data (abfd, csect)->tdata = bfd_zalloc (abfd, amt); in xcoff_link_add_symbols()
1694 if (coff_section_data (abfd, csect)->tdata == NULL) in xcoff_link_add_symbols()
1696 xcoff_section_data (abfd, csect)->enclosing = enclosing; in xcoff_link_add_symbols()
1697 xcoff_section_data (abfd, csect)->lineno_count = in xcoff_link_add_symbols()
1709 relindx = xcoff_find_reloc (relocs, amt, csect->vma); in xcoff_link_add_symbols()
1715 csect->rel_filepos = (enclosing->rel_filepos in xcoff_link_add_symbols()
1719 && rel->r_vaddr < csect->vma + csect->size) in xcoff_link_add_symbols()
1722 *rel_csect = csect; in xcoff_link_add_symbols()
1723 csect->flags |= SEC_RELOC; in xcoff_link_add_symbols()
1724 ++csect->reloc_count; in xcoff_link_add_symbols()
1738 xcoff_section_data (abfd, csect)->first_symndx = csect_index; in xcoff_link_add_symbols()
1741 first_csect = csect; in xcoff_link_add_symbols()
1747 section = csect; in xcoff_link_add_symbols()
1753 set_toc->toc_section = csect; in xcoff_link_add_symbols()
1785 csect = section; in xcoff_link_add_symbols()
1786 value = sym.n_value - csect->vma; in xcoff_link_add_symbols()
1802 csect = bfd_make_section_anyway_with_flags (abfd, ".td", in xcoff_link_add_symbols()
1806 csect = bfd_make_section_anyway_with_flags (abfd, ".bss", in xcoff_link_add_symbols()
1809 if (csect == NULL) in xcoff_link_add_symbols()
1811 csect->vma = sym.n_value; in xcoff_link_add_symbols()
1812 csect->size = aux.x_csect.x_scnlen.l; in xcoff_link_add_symbols()
1813 csect->alignment_power = SMTYP_ALIGN (aux.x_csect.x_smtyp); in xcoff_link_add_symbols()
1822 csect->used_by_bfd = bfd_zalloc (abfd, amt); in xcoff_link_add_symbols()
1823 if (csect->used_by_bfd == NULL) in xcoff_link_add_symbols()
1826 coff_section_data (abfd, csect)->tdata = bfd_zalloc (abfd, amt); in xcoff_link_add_symbols()
1827 if (coff_section_data (abfd, csect)->tdata == NULL) in xcoff_link_add_symbols()
1829 xcoff_section_data (abfd, csect)->first_symndx = csect_index; in xcoff_link_add_symbols()
1832 first_csect = csect; in xcoff_link_add_symbols()
1836 csect->flags |= SEC_IS_COMMON; in xcoff_link_add_symbols()
1837 csect->size = 0; in xcoff_link_add_symbols()
1838 section = csect; in xcoff_link_add_symbols()
1869 xcoff_hash_table (info)->special_sections[i] = csect; in xcoff_link_add_symbols()
2026 || (*sym_hash)->root.u.c.p->section != csect) in xcoff_link_add_symbols()
2028 csect->size = 0; in xcoff_link_add_symbols()
2031 = csect->alignment_power; in xcoff_link_add_symbols()
2056 *csect_cache = csect; in xcoff_link_add_symbols()
2057 if (csect != NULL) in xcoff_link_add_symbols()
2058 xcoff_section_data (abfd, csect)->last_symndx in xcoff_link_add_symbols()
3259 asection *csect) in xcoff_final_definition_p() argument
3267 return (!bfd_is_abs_section (csect) in xcoff_final_definition_p()
3268 && h->root.u.def.section == csect); in xcoff_final_definition_p()
3411 asection *csect, const char *name) in xcoff_keep_symbol_p() argument
3416 if (csect == NULL) in xcoff_keep_symbol_p()
3421 && !bfd_is_abs_section (csect) in xcoff_keep_symbol_p()
3422 && !bfd_is_und_section (csect) in xcoff_keep_symbol_p()
3423 && (csect->flags & SEC_MARK) == 0) in xcoff_keep_symbol_p()
3444 if (!xcoff_final_definition_p (input_bfd, h, csect)) in xcoff_keep_symbol_p()
3878 asection *csect; in bfd_xcoff_size_dynamic_sections() local
3903 csect = *csectpp; in bfd_xcoff_size_dynamic_sections()
3905 *sym_hash, csect, name); in bfd_xcoff_size_dynamic_sections()
3931 csect->output_section->lineno_count += *lineno_counts; in bfd_xcoff_size_dynamic_sections()