Lines Matching refs:enclosing
696 asection *enclosing; in xcoff_read_internal_relocs() local
698 enclosing = xcoff_section_data (abfd, sec)->enclosing; in xcoff_read_internal_relocs()
700 if (enclosing != NULL in xcoff_read_internal_relocs()
701 && (coff_section_data (abfd, enclosing) == NULL in xcoff_read_internal_relocs()
702 || coff_section_data (abfd, enclosing)->relocs == NULL) in xcoff_read_internal_relocs()
704 && enclosing->reloc_count > 0) in xcoff_read_internal_relocs()
706 if (_bfd_coff_read_internal_relocs (abfd, enclosing, true, in xcoff_read_internal_relocs()
712 if (enclosing != NULL in xcoff_read_internal_relocs()
713 && coff_section_data (abfd, enclosing) != NULL in xcoff_read_internal_relocs()
714 && coff_section_data (abfd, enclosing)->relocs != NULL) in xcoff_read_internal_relocs()
718 off = ((sec->rel_filepos - enclosing->rel_filepos) in xcoff_read_internal_relocs()
722 return coff_section_data (abfd, enclosing)->relocs + off; in xcoff_read_internal_relocs()
724 coff_section_data (abfd, enclosing)->relocs + off, in xcoff_read_internal_relocs()
1489 asection *enclosing; in xcoff_link_add_symbols() local
1492 enclosing = xcoff_section_data (abfd, csect)->enclosing; in xcoff_link_add_symbols()
1493 if (enclosing == NULL) in xcoff_link_add_symbols()
1503 - enclosing->line_filepos); in xcoff_link_add_symbols()
1505 if (linoff < (bfd_signed_vma) (enclosing->lineno_count * linesz)) in xcoff_link_add_symbols()
1510 linpstart = (reloc_info[enclosing->target_index].linenos in xcoff_link_add_symbols()
1521 linpend = (reloc_info[enclosing->target_index].linenos in xcoff_link_add_symbols()
1522 + enclosing->lineno_count * linesz); in xcoff_link_add_symbols()
1655 asection *enclosing; in xcoff_link_add_symbols() local
1660 enclosing = coff_section_from_bfd_index (abfd, sym.n_scnum); in xcoff_link_add_symbols()
1661 if (enclosing == NULL) in xcoff_link_add_symbols()
1664 relocs = reloc_info[enclosing->target_index].relocs; in xcoff_link_add_symbols()
1665 amt = enclosing->reloc_count; in xcoff_link_add_symbols()
1671 if (relindx < enclosing->reloc_count in xcoff_link_add_symbols()
1736 reloc_info[enclosing->target_index].csects; in xcoff_link_add_symbols()
1766 asection *enclosing; in xcoff_link_add_symbols() local
1778 enclosing = coff_section_from_bfd_index (abfd, sym.n_scnum); in xcoff_link_add_symbols()
1779 if (enclosing == NULL) in xcoff_link_add_symbols()
1782 if (! bfd_is_abs_section (enclosing) in xcoff_link_add_symbols()
1783 && ((bfd_vma) sym.n_value < enclosing->vma in xcoff_link_add_symbols()
1785 > enclosing->vma + enclosing->size))) in xcoff_link_add_symbols()
1795 csect->filepos = (enclosing->filepos in xcoff_link_add_symbols()
1797 - enclosing->vma); in xcoff_link_add_symbols()
1813 xcoff_section_data (abfd, csect)->enclosing = enclosing; in xcoff_link_add_symbols()
1815 enclosing->lineno_count; in xcoff_link_add_symbols()
1817 if (enclosing->owner == abfd) in xcoff_link_add_symbols()
1824 relocs = reloc_info[enclosing->target_index].relocs; in xcoff_link_add_symbols()
1825 amt = enclosing->reloc_count; in xcoff_link_add_symbols()
1829 rel_csect = (reloc_info[enclosing->target_index].csects in xcoff_link_add_symbols()
1832 csect->rel_filepos = (enclosing->rel_filepos in xcoff_link_add_symbols()
1834 while (relindx < enclosing->reloc_count in xcoff_link_add_symbols()
5640 asection *enclosing; in xcoff_link_input_bfd() local
5653 enclosing = xcoff_section_data (abfd, o)->enclosing; in xcoff_link_input_bfd()
5655 if (oline != enclosing) in xcoff_link_input_bfd()
5657 pos = enclosing->line_filepos; in xcoff_link_input_bfd()
5663 oline = enclosing; in xcoff_link_input_bfd()
5669 - enclosing->line_filepos); in xcoff_link_input_bfd()
5716 range_start = enclosing->line_filepos + linoff; in xcoff_link_input_bfd()