Home | History | Annotate | Download | only in bfd

Lines Matching defs:csect

629 /* Read internal relocs for an XCOFF csect.  This is a wrapper around
1193 table. From the linker's point of view, each csect must be
1195 handled as a small XMC_TC csect. The linker must be able to merge
1201 nightmare. We cope by actually creating sections for each csect,
1204 csect
1220 asection *csect;
1339 csect = NULL;
1361 /* In this pass we are only interested in symbols with csect
1366 Normally csect is a .pr, .rw etc. created in the loop
1371 csect = NULL;
1372 if (csect != NULL)
1373 *csect_cache = csect;
1394 add them to the count for this csect. In the final link pass
1400 && csect != NULL
1414 enclosing = xcoff_section_data (abfd, csect)->enclosing;
1456 csect are contiguous; this only matters for
1458 if (csect->line_filepos == 0)
1459 csect->line_filepos =
1466 /* Pick up the csect auxiliary information. */
1492 (_("%B: symbol `%s' has unrecognized csect type %d"),
1523 csect = NULL;
1549 32 bit has a csect length of 4 for TOC
1550 64 bit has a csect length of 8 for TOC
1660 the csect storage mapping class, so that the linker can
1663 csect = bfd_xcoff_create_csect_from_smclas(abfd, &aux, name);
1664 if (NULL == csect)
1668 or .bss that the csect is coming from. */
1679 (_("%B: csect `%s' not in enclosing section"),
1684 csect->vma = sym.n_value;
1685 csect->filepos = (enclosing->filepos
1688 csect->size = aux.x_csect.x_scnlen.l;
1689 csect->flags |= SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS;
1690 csect->alignment_power = SMTYP_ALIGN (aux.x_csect.x_smtyp);
1695 csect->used_by_bfd = bfd_zalloc (abfd, amt);
1696 if (csect->used_by_bfd == NULL)
1699 coff_section_data (abfd, csect)->tdata = bfd_zalloc (abfd, amt);
1700 if (coff_section_data (abfd, csect)->tdata == NULL)
1702 xcoff_section_data (abfd, csect)->enclosing = enclosing;
1703 xcoff_section_data (abfd, csect)->lineno_count =
1715 relindx = xcoff_find_reloc (relocs, amt, csect->vma);
1721 csect->rel_filepos = (enclosing->rel_filepos
1725 && rel->r_vaddr < csect->vma + csect->size)
1728 *rel_csect = csect;
1729 csect->flags |= SEC_RELOC;
1730 ++csect->reloc_count;
1744 xcoff_section_data (abfd, csect)->first_symndx = csect_index;
1747 first_csect = csect;
1753 section = csect;
1759 set_toc->toc_section = csect;
1765 symbol index of the csect. Usually the XTY_LD symbol will
1791 csect = section;
1792 value = sym.n_value - csect->vma;
1797 /* This is an unitialized csect. We could base the name on
1799 an XMC_TD symbol. If this csect is externally visible,
1808 csect = bfd_make_section_anyway_with_flags (abfd, ".td",
1812 csect = bfd_make_section_anyway_with_flags (abfd, ".bss",
1815 if (csect == NULL)
1817 csect->vma = sym.n_value;
1818 csect->size = aux.x_csect.x_scnlen.l;
1819 csect->alignment_power = SMTYP_ALIGN (aux.x_csect.x_smtyp);
1828 csect->used_by_bfd = bfd_zalloc (abfd, amt);
1829 if (csect->used_by_bfd == NULL)
1832 coff_section_data (abfd, csect)->tdata = bfd_zalloc (abfd, amt);
1833 if (coff_section_data (abfd, csect)->tdata == NULL)
1835 xcoff_section_data (abfd, csect)->first_symndx = csect_index;
1838 first_csect = csect;
1842 csect->flags |= SEC_IS_COMMON;
1843 csect->size = 0;
1844 section = csect;
1875 xcoff_hash_table (info)->special_sections[i] = csect;
2032 || (*sym_hash)->root.u.c.p->section != csect)
2033 /* We don't need the common csect we just created. */
2034 csect->size = 0;
2037 = csect->alignment_power;
2062 *csect_cache = csect;
2063 if (csect != NULL)
2064 xcoff_section_data (abfd, csect)->last_symndx
2105 (_("%B: reloc %s:%d not in csect"),
3040 correct csect length. */
3266 and csect CSECT. Return true if INPUT_BFD defines H. */
3270 asection *csect)
3278 return (!bfd_is_abs_section (csect)
3279 && h->root.u.def.section == csect);
3409 csect CSECT. AUX contains ISYM's auxillary
3410 csect information, if any. NAME is the function's name if the name
3422 asection *csect, const char *name)
3426 /* If we are skipping this csect, we want to strip the symbol too. */
3427 if (csect == NULL)
3430 /* Likewise if we garbage-collected the csect. */
3432 && !bfd_is_abs_section (csect)
3433 && !bfd_is_und_section (csect)
3434 && (csect->flags & SEC_MARK) == 0)
3455 if (!xcoff_final_definition_p (input_bfd, h, csect))
3700 ldsym->l_smtype = XTY_SD; /* Csect section definition. */
3889 asection *csect;
3895 /* Read in the csect information, if any. */
3914 csect = *csectpp;
3916 *sym_hash, csect, name);
3942 csect->output_section->lineno_count += *lineno_counts;
4185 /* Read in the csect information, if any. */
4449 index of the containing csect. */
5048 good place to put the TOC anchor csect, and write out the associated
5064 index of a csect at the beginning of the TOC. */
5094 /* Every TOC csect can be accessed from TOC_START. */
5098 /* Find the lowest TOC csect that is still within range of TOC_END. */
5142 /* Fill out the auxillary csect information. */
5360 written out below because the length of the csect depends on
5370 Also needs to change the csect size : 4 for 32 bit, 8 for 64 bit
5394 /* We need to emit a symbol to define a csect which holds