Lines Matching refs:Relocation
1 //===- Relocation.cpp -----------------------------------------------------===//
9 #include <mcld/Fragment/Relocation.h>
25 // Relocation Factory Methods
27 /// Initialize - set up the relocation factory
28 void Relocation::SetUp(const LinkerConfig& pConfig)
33 /// Clear - Clean up the relocation factory
34 void Relocation::Clear()
39 /// Create - produce an empty relocation entry
40 Relocation* Relocation::Create()
45 /// Create - produce a relocation entry
46 /// @param pType [in] the type of the relocation entry
47 /// @param pFragRef [in] the place to apply the relocation
48 /// @param pAddend [in] the addend of the relocation entry
49 Relocation* Relocation::Create(Type pType, FragmentRef& pFragRef, Address pAddend)
54 /// Destroy - destroy a relocation entry
55 void Relocation::Destroy(Relocation*& pRelocation)
62 // Relocation
64 Relocation::Relocation()
68 Relocation::Relocation(Relocation::Type pType,
70 Relocation::Address pAddend,
71 Relocation::DWord pTargetData)
81 Relocation::~Relocation()
85 Relocation::Address Relocation::place() const
91 Relocation::Address Relocation::symValue() const
100 void Relocation::apply(Relocator& pRelocator)
131 void Relocation::setType(Type pType)
136 void Relocation::setAddend(Address pAddend)
141 void Relocation::setSymInfo(ResolveInfo* pSym)
146 Relocation::Size Relocation::size(Relocator& pRelocator) const
151 void Relocation::updateAddend()