Home | History | Annotate | Download | only in MCTargetDesc

Lines Matching refs:Writer

1 //===-- PPCMachObjectWriter.cpp - PPC Mach-O Writer -----------------------===//
27 bool recordScatteredRelocation(MachObjectWriter *Writer,
34 void RecordPPCRelocation(MachObjectWriter *Writer, const MCAssembler &Asm,
43 void recordRelocation(MachObjectWriter *Writer, MCAssembler &Asm,
47 if (Writer->is64Bit()) {
50 RecordPPCRelocation(Writer, Asm, Layout, Fragment, Fixup, Target,
192 MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout,
198 const unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, FK);
213 uint32_t Value = Writer->getSymbolAddress(*A, Layout);
214 uint64_t SecAddr = Writer->getSectionAddress(A->getFragment()->getParent());
226 Value2 = Writer->getSymbolAddress(B->getSymbol(), Layout);
227 FixedValue -= Writer->getSectionAddress(SB->getFragment()->getParent());
282 Writer->addRelocation(nullptr, Fragment->getParent(), MRE);
296 Writer->addRelocation(nullptr, Fragment->getParent(), MRE);
302 MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout,
307 const bool IsPCRel = Writer->isFixupKindPCRel(Asm, FK);
317 recordScatteredRelocation(Writer, Asm, Layout, Fragment, Fixup, Target,
347 Res, Layout, Writer->getSectionAddressMap())) {
354 if (Writer->doesSymbolRequireExternRelocation(*A)) {
365 FixedValue += Writer->getSectionAddress(&Sec);
368 FixedValue -= Writer->getSectionAddress(Fragment->getParent());
374 Writer->addRelocation(RelSymbol, Fragment->getParent(), MRE);