Lines Matching refs:Relocation
1 //===- Relocation.cpp -----------------------------------------------------===//
9 #include "mcld/Fragment/Relocation.h"
26 // Relocation Factory Methods
28 /// Initialize - set up the relocation factory
29 void Relocation::SetUp(const LinkerConfig& pConfig) {
33 /// Clear - Clean up the relocation factory
34 void Relocation::Clear() {
38 /// Create - produce an empty relocation entry
39 Relocation* Relocation::Create() {
43 /// Create - produce a relocation entry
44 /// @param pType [in] the type of the relocation entry
45 /// @param pFragRef [in] the place to apply the relocation
46 /// @param pAddend [in] the addend of the relocation entry
47 Relocation* Relocation::Create(Type pType,
53 /// Destroy - destroy a relocation entry
54 void Relocation::Destroy(Relocation*& pRelocation) {
60 // Relocation
62 Relocation::Relocation()
66 Relocation::Relocation(Relocation::Type pType,
68 Relocation::Address pAddend,
69 Relocation::DWord pTargetData)
78 Relocation::~Relocation() {
81 Relocation::Address Relocation::place() const {
86 Relocation::Address Relocation::symValue() const {
96 void Relocation::apply(Relocator& pRelocator) {
126 void Relocation::setType(Type pType) {
130 void Relocation::setAddend(Address pAddend) {
134 void Relocation::setSymInfo(ResolveInfo* pSym) {
138 Relocation::Size Relocation::size(Relocator& pRelocator) const {
142 void Relocation::updateAddend() {