Home | History | Annotate | Download | only in bfd

Lines Matching refs:toc

66   /* If there is a TOC relative reloc against a global symbol, and the
67 index of the TOC symbol is not known when the reloc was handled,
111 /* A count of non TOC relative relocs which will need to be
121 /* The .tc section we use to hold toc entries we build for global
177 /* Symbol index of TOC symbol. */
1087 /* Likewise for the TOC section. */
1194 considered a section in its own right. For example, a TOC entry is
1196 different TOC entries together, which means that it must be able to
1243 /* Create the loader, toc, gl, ds and debug sections, if needed. */
1526 /* When we see a TOC anchor, we record the TOC value. */
1538 xcoff_data (abfd)->toc = sym.n_value;
1541 /* We must merge TOC entries for the same symbol. We can
1542 merge two TOC entries if they are both C_HIDEXT, they
1549 32 bit has a csect length of 4 for TOC
1550 64 bit has a csect length of 8 for TOC
1553 They are what is used to create the TOC csects in the first
1601 /* At this point we know that the TOC entry is
1608 /* We only merge TOC entries if the TC name is
1612 in the TOC. FIXME. */
1639 /* We already have a TOC entry for this
1648 /* We are about to create a TOC entry for
1757 /* If this is a TOC section for a symbol, record it. */
1802 in the TOC area. */
2615 those functions without providing a slot to restore the TOC,
2665 /* We should never need a .loader reloc for a TOC-relative reloc. */
2750 associated code, and one for the TOC address. */
2758 /* Mark the TOC section, so that we get an anchor
2777 /* Mark the descriptor (and its TOC section). */
2798 /* The global linkage code requires a TOC entry for the
2805 xcoff32 uses 4 bytes in the toc.
2806 xcoff64 uses 8 bytes in the toc. */
2814 /* Allocate room in the fallback TOC section. */
3441 /* We generate the TOC anchor separately. */
3741 /* We shouldn't unconditionaly mark the TOC section.
3742 The output file should only have a TOC if either
3744 creating TOC references as part of the link process. */
4306 /* If this is a symbol in the TOC which we may have merged
4307 (class XMC_TC), remember the symbol index of the TOC
4855 /* This is a TOC relative reloc with a symbol
4858 reloc against the TOC address of the symbol,
4908 /* Relocations against a TC0 TOC anchor are
4910 the TOC anchor in the output file. */
5024 /* Return true if section SEC is a TOC section. */
5047 /* See if the link requires a TOC (it usually does!). If so, find a
5048 good place to put the TOC anchor csect, and write out the associated
5063 /* Set [TOC_START, TOC_END) to the range of the TOC. Record the
5064 index of a csect at the beginning of the TOC. */
5086 /* There's no need for a TC0 symbol if we don't have a TOC. */
5089 xcoff_data (output_bfd)->toc = toc_start;
5094 /* Every TOC csect can be accessed from TOC_START. */
5098 /* Find the lowest TOC csect that is still within range of TOC_END. */
5115 /* Make sure that the start of the TOC is also within range. */
5119 (_("TOC overflow: 0x%lx > 0x10000; try -mminimal-toc "
5127 /* Record the chosen TOC value. */
5129 xcoff_data (output_bfd)->toc = best_address;
5133 if (!bfd_xcoff_put_symbol_name (output_bfd, flinfo->strtab, &irsym, "TOC"))
5307 specific TOC element. */
5310 - xcoff_data (output_bfd)->toc);
5316 cooked to to hold the correct offset in the toc. The
5330 /* If we created a TOC entry for this symbol, write out the required
5438 itself, the second word is the address of the TOC, and the third
5444 of logic was also done above to create a TOC entry in
5501 the address of the toc anchor
5510 bfd_put_64 (output_bfd, xcoff_data (output_bfd)->toc, p + 8);
5522 bfd_put_32 (output_bfd, xcoff_data (output_bfd)->toc, p + 4);
6171 /* Find a TOC symbol, if we need one. */