/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | RelocationFactory.h | 1 //===- Relocation.h -------------------------------------------------------===// 12 #include "mcld/Fragment/Relocation.h" 26 : public GCFactory<Relocation, MCLD_RELOCATIONS_PER_INPUT> { 28 typedef Relocation::Type Type; 29 typedef Relocation::Address Address; 30 typedef Relocation::DWord DWord; 31 typedef Relocation::SWord SWord; 43 Relocation* produce(Type pType, FragmentRef& pFragRef, Address pAddend = 0); 47 Relocation* produceEmptyEntry(); 49 void destroy(Relocation* pRelocatio [all...] |
H A D | Relocator.h | 12 #include "mcld/Fragment/Relocation.h" 26 typedef Relocation::Type Type; 27 typedef Relocation::Address Address; 28 typedef Relocation::DWord DWord; 29 typedef Relocation::SWord SWord; 30 typedef Relocation::Size Size; 41 virtual Result applyRelocation(Relocation& pRelocation) = 0; 51 virtual void scanRelocation(Relocation& pReloc, 63 virtual void issueUndefRef(Relocation& pReloc, 89 virtual void partialScanRelocation(Relocation [all...] |
H A D | StubFactory.h | 21 class Relocation; 36 Stub* create(Relocation& pReloc, 48 Stub* findPrototype(const Relocation& pReloc,
|
H A D | DebugString.h | 19 class Relocation; 43 void applyOffset(Relocation& pReloc, TargetLDBackend& pBackend);
|
H A D | RelocData.h | 14 #include "mcld/Fragment/Relocation.h" 30 * \brief RelocData stores Relocation. 44 typedef llvm::iplist<Relocation, GCFactoryListTraits<Relocation> > 73 RelocData& append(Relocation& pRelocation); 74 Relocation& remove(Relocation& pRelocation);
|
/frameworks/compile/mclinker/lib/Fragment/ |
H A D | Relocation.cpp | 1 //===- Relocation.cpp -----------------------------------------------------===// 9 #include "mcld/Fragment/Relocation.h" 26 // Relocation Factory Methods 29 void Relocation::SetUp(const LinkerConfig& pConfig) { 34 void Relocation::Clear() { 39 Relocation* Relocation::Create() { 47 Relocation* Relocation::Create(Type pType, 54 void Relocation 62 Relocation::Relocation() function in class:mcld::Relocation 66 Relocation::Relocation(Relocation::Type pType, function in class:mcld::Relocation [all...] |
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMRelocator.h | 64 Result applyRelocation(Relocation& pRelocation); 70 const char* getName(Relocation::Type pType) const; 72 Size getSize(Relocation::Type pType) const; 89 void scanRelocation(Relocation& pReloc, 97 virtual bool mayHaveFunctionPointerAccess(const Relocation& pReloc) const; 101 uint32_t getDebugStringOffset(Relocation& pReloc) const; 105 void applyDebugStringOffset(Relocation& pReloc, uint32_t pOffset); 108 void scanLocalReloc(Relocation& pReloc, const LDSection& pSection); 110 void scanGlobalReloc(Relocation& pReloc, 114 void checkValidReloc(Relocation [all...] |
H A D | ARMToARMStub.h | 19 class Relocation; 33 bool isMyDuty(const class Relocation& pReloc,
|
H A D | ARMToTHMStub.h | 19 class Relocation; 33 bool isMyDuty(const class Relocation& pReloc,
|
H A D | THMToARMStub.h | 18 class Relocation; 32 bool isMyDuty(const class Relocation& pReloc,
|
H A D | THMToTHMStub.h | 18 class Relocation; 32 bool isMyDuty(const class Relocation& pReloc,
|
/frameworks/compile/mclinker/lib/Target/X86/ |
H A D | X86Relocator.h | 67 virtual Result applyRelocation(Relocation& pRelocation) = 0; 69 virtual const char* getName(Relocation::Type pType) const = 0; 80 void scanRelocation(Relocation& pReloc, 99 virtual void scanLocalReloc(Relocation& pReloc, 104 virtual void scanGlobalReloc(Relocation& pReloc, 129 Result applyRelocation(Relocation& pRelocation); 135 const char* getName(Relocation::Type pType) const; 137 Size getSize(Relocation::Type pType) const; 149 virtual bool mayHaveFunctionPointerAccess(const Relocation& pReloc) const; 153 uint32_t getDebugStringOffset(Relocation [all...] |
/frameworks/compile/mclinker/lib/Target/AArch64/ |
H A D | AArch64Relocator.h | 27 typedef KeyEntryMap<Relocation, Relocation> RelRelMap; 70 Result applyRelocation(Relocation& pRelocation); 76 const char* getName(Relocation::Type pType) const; 78 Size getSize(Relocation::Type pType) const; 98 void scanRelocation(Relocation& pReloc, 106 virtual bool mayHaveFunctionPointerAccess(const Relocation& pReloc) const; 110 uint32_t getDebugStringOffset(Relocation& pReloc) const; 114 void applyDebugStringOffset(Relocation& pReloc, uint32_t pOffset); 117 void scanLocalReloc(Relocation [all...] |
H A D | AArch64LongBranchStub.h | 22 class Relocation; 30 bool isMyDuty(const Relocation& pReloc, 34 void applyFixup(Relocation& pSrcReloc,
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
H A D | HexagonRelocator.h | 32 typedef KeyEntryMap<Relocation, Relocation> RelRelMap; 70 Result applyRelocation(Relocation& pRelocation); 78 void scanRelocation(Relocation& pReloc, 85 void partialScanRelocation(Relocation& pReloc, 92 const char* getName(Relocation::Type pType) const; 94 Size getSize(Relocation::Type pType) const; 110 uint32_t getDebugStringOffset(Relocation& pReloc) const { return 0; } 114 void applyDebugStringOffset(Relocation& pReloc, uint32_t pOffset) {} 129 virtual void scanLocalReloc(Relocation [all...] |
H A D | HexagonAbsoluteStub.h | 19 class Relocation; 33 bool isMyDuty(const class Relocation& pReloc,
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | RelocationFactory.cpp | 26 : GCFactory<Relocation, MCLD_RELOCATIONS_PER_INPUT>(), m_pConfig(NULL) { 33 Relocation* RelocationFactory::produce(RelocationFactory::Type pType, 72 Relocation* result = allocate(); 73 new (result) Relocation(pType, &pFragRef, pAddend, target_data); 77 Relocation* RelocationFactory::produceEmptyEntry() { 78 Relocation* result = allocate(); 79 new (result) Relocation(0, 0, 0, 0); 83 void RelocationFactory::destroy(Relocation* pRelocation) {
|
H A D | RelocData.cpp | 46 RelocData& RelocData::append(Relocation& pRelocation) { 51 Relocation& RelocData::remove(Relocation& pRelocation) { 53 Relocation* rel = m_Relocations.remove(iter);
|
/frameworks/compile/mclinker/lib/Target/ |
H A D | OutputRelocSection.cpp | 37 Relocation* OutputRelocSection::create() { 38 Relocation* reloc = Relocation::Create(); 45 m_pRelocData->append(*Relocation::Create()); 48 Relocation* OutputRelocSection::consumeEntry() {
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
H A D | Relocation.h | 1 //===- Relocation.h ----------------------------------------------------===// 25 class Relocation : public llvm::ilist_node<Relocation> { class in namespace:mcld 27 friend class GCFactoryListTraits<Relocation>; 28 friend class Chunk<Relocation, MCLD_RELOCATIONS_PER_INPUT>; 38 Relocation(); 40 Relocation(Type pType, 45 ~Relocation(); 55 static Relocation* Create(); 61 static Relocation* Creat [all...] |
H A D | Stub.h | 14 #include "mcld/Fragment/Relocation.h" 25 class Relocation; 30 typedef Relocation::DWord DWord; 31 typedef Relocation::SWord SWord; 32 typedef Relocation::Type Type; 68 virtual bool isMyDuty(const Relocation& pReloc, 109 virtual void applyFixup(Relocation& pSrcReloc,
|
/frameworks/compile/mclinker/include/mcld/Target/ |
H A D | OutputRelocSection.h | 18 class Relocation; 31 Relocation* create(); 35 Relocation* consumeEntry();
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
H A D | MipsRelocator.h | 44 void scanRelocation(Relocation& pReloc, 66 Result applyRelocation(Relocation& pReloc); 70 uint32_t getDebugStringOffset(Relocation& pReloc) const; 74 void applyDebugStringOffset(Relocation& pReloc, uint32_t pOffset); 84 void postponeRelocation(Relocation& pReloc); 91 bool isGpDisp(const Relocation& pReloc) const; 111 Relocation::DWord entryValue); 137 const char* getName(Relocation::Type pType) const; 150 Relocation::Type pType) = 0; 157 Relocation [all...] |
H A D | MipsLA25Stub.h | 17 class Relocation; 32 bool isMyDuty(const Relocation& pReloc,
|
H A D | MipsGOT.h | 12 #include "mcld/Fragment/Relocation.h" 51 Relocation::DWord pAddend); 64 Fragment* consumeTLS(Relocation::Type pType); 73 Relocation::Type pType); 74 Fragment* lookupTLSEntry(const ResolveInfo* pInfo, Relocation::Type pType); 77 Relocation::DWord pAddend, 80 Relocation::DWord pAddend); 131 void consumeTLS(Relocation::Type pType); 139 Relocation::DWord m_Addend; 143 Relocation [all...] |