Home | History | Annotate | Download | only in Fragment

Lines Matching defs:relocation

35 #include <mcld/Fragment/Relocation.h>
91 // Relocation Operations
95 // when producing relocatables, no need to apply relocation
114 Relocation* relocation = llvm::cast<Relocation>(reloc);
115 relocation->apply(*m_Backend.getRelocator());
117 } // for all relocation section
163 Relocation* relocation = llvm::cast<Relocation>(reloc);
165 // bypass the relocation with NONE type. This is to avoid overwrite the
166 // target result by NONE type relocation if there is a place which has
168 // we want is the value of the other relocation result. For example,
171 if (0x0 == relocation->type())
173 writeRelocationResult(*relocation, data);
175 } // for all relocation section
185 Relocation* reloc = *iter;
202 if (LDFileFormat::Relocation != (*sectIter)->kind())
208 Relocation* reloc = llvm::cast<Relocation>(relocIter);
210 // bypass the relocation with NONE type. This is to avoid overwrite the
211 // target result by NONE type relocation if there is a place which has
213 // we want is the value of the other relocation result. For example,
225 void FragmentLinker::writeRelocationResult(Relocation& pReloc, uint8_t* pOutput)