Home | History | Annotate | Download | only in Fragment

Lines Matching refs:Relocation

33 #include <mcld/Fragment/Relocation.h>
89 // Relocation Operations
93 // when producing relocatables, no need to apply relocation
111 Relocation* relocation = llvm::cast<Relocation>(reloc);
112 relocation->apply(*m_Backend.getRelocator());
114 } // for all relocation section
159 Relocation* relocation = llvm::cast<Relocation>(reloc);
161 // bypass the relocation with NONE type. This is to avoid overwrite the
162 // target result by NONE type relocation if there is a place which has
164 // we want is the value of the other relocation result. For example,
167 if (0x0 == relocation->type())
169 writeRelocationResult(*relocation, data);
171 } // for all relocation section
181 Relocation* reloc = *iter;
198 if (LDFileFormat::Relocation != (*sectIter)->kind())
204 Relocation* reloc = llvm::cast<Relocation>(relocIter);
206 // bypass the relocation with NONE type. This is to avoid overwrite the
207 // target result by NONE type relocation if there is a place which has
209 // we want is the value of the other relocation result. For example,
221 void FragmentLinker::writeRelocationResult(Relocation& pReloc, uint8_t* pOutput)