Lines Matching defs:TOC
30 constexpr StringRef ELFTOCSymbolName = ".TOC.";
105 ppc64::TOCTableManager<Endianness> &TOC) {
125 return TOC.getEntryForTarget(G, *TOCSymbol);
128 // Register preexisting GOT entries with TOC table manager.
132 ppc64::TOCTableManager<Endianness> &TOC) {
140 TOC.registerPreExistingEntry(E.getTarget(),
150 ppc64::TOCTableManager<Endianness> TOC;
151 // Before visiting edges, we create a header containing the address of TOC
153 // > The GOT consists of an 8-byte header that contains the TOC base (the
154 // first TOC base when multiple TOCs are present), followed by an array of
156 createELFGOTHeader(G, TOC);
159 registerExistingGOTEntries(G, TOC);
161 ppc64::PLTTableManager<Endianness> PLT(TOC);
163 visitExistingEdges(G, TOC, PLT, TLSInfo);
167 // Merge sections included in TOC into synthesized TOC section,
168 // thus TOC is compact and reducing chances of relocation
170 if (Section *TOCSection = G.findSectionByName(TOC.getSectionName())) {
321 Kind = ppc64::TOC;
438 assert(!TOCSection->empty() && "TOC section should have reserved an "
439 "entry for containing the TOC base");
445 ".TOC. should be a external symbol at this point");
447 // Create an alias of .TOC. so that rtdyld checker can recognize.
454 // If TOC section doesn't exist, which means no TOC relocation is found, we