/frameworks/compile/mclinker/lib/Fragment/ |
D | Relocation.cpp | 28 void Relocation::SetUp(const LinkerConfig& pConfig) in SetUp() 34 void Relocation::Clear() in Clear() 40 Relocation* Relocation::Create() in Create() 49 Relocation* Relocation::Create(Type pType, FragmentRef& pFragRef, Address pAddend) in Create() 55 void Relocation::Destroy(Relocation*& pRelocation) in Destroy() 64 Relocation::Relocation() in Relocation() function in Relocation 68 Relocation::Relocation(Relocation::Type pType, in Relocation() function in Relocation 70 Relocation::Address pAddend, in Relocation() 71 Relocation::DWord pTargetData) in Relocation() 81 Relocation::~Relocation() in ~Relocation() [all …]
|
D | FragmentLinker.cpp | 114 Relocation* relocation = llvm::cast<Relocation>(reloc); in applyRelocations() 163 Relocation* relocation = llvm::cast<Relocation>(reloc); in normalSyncRelocationResult() 185 Relocation* reloc = *iter; in normalSyncRelocationResult() 202 if (LDFileFormat::Relocation != (*sectIter)->kind()) in partialSyncRelocationResult() 208 Relocation* reloc = llvm::cast<Relocation>(relocIter); in partialSyncRelocationResult() 225 void FragmentLinker::writeRelocationResult(Relocation& pReloc, uint8_t* pOutput) in writeRelocationResult()
|
/frameworks/compile/mclinker/lib/Target/X86/ |
D | X86Relocator.h | 82 virtual Result applyRelocation(Relocation& pRelocation) = 0; 84 virtual const char* getName(Relocation::Type pType) const = 0; 95 void scanRelocation(Relocation& pReloc, 113 virtual void scanLocalReloc(Relocation& pReloc, 118 virtual void scanGlobalReloc(Relocation& pReloc, 144 Result applyRelocation(Relocation& pRelocation); 152 const char* getName(Relocation::Type pType) const; 154 Size getSize(Relocation::Type pType) const; 165 void scanLocalReloc(Relocation& pReloc, 170 void scanGlobalReloc(Relocation& pReloc, [all …]
|
D | X86Relocator.cpp | 30 typedef Relocator::Result (*X86_32ApplyFunctionType)(Relocation& pReloc, 58 void X86Relocator::scanRelocation(Relocation& pReloc, in scanRelocation() 90 Relocation& rel_entry = *pTarget.getRelDyn().consumeEntry(); in addCopyReloc() 182 X86_32Relocator::applyRelocation(Relocation& pRelocation) in applyRelocation() 184 Relocation::Type type = pRelocation.type(); in applyRelocation() 194 const char* X86_32Relocator::getName(Relocation::Type pType) const in getName() 199 Relocator::Size X86_32Relocator::getSize(Relocation::Type pType) const in getSize() 204 void X86_32Relocator::scanLocalReloc(Relocation& pReloc, in scanLocalReloc() 361 void X86_32Relocator::scanGlobalReloc(Relocation& pReloc, in scanGlobalReloc() 591 Relocation* rel_entry = getTarget().getRelDyn().consumeEntry(); in getTLSModuleID() [all …]
|
D | X86LDBackend.h | 33 Relocation::Type pCopyRel); 101 Relocation::Type getPointerRel() in getPointerRel() 104 Relocation::Type getCopyRelType() const { return m_CopyRel; } in getCopyRelType() 105 Relocation::Type getPointerRelType() const { return m_PointerRel; } in getPointerRelType() 147 Relocation::Type m_CopyRel; 148 Relocation::Type m_PointerRel;
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | RelocationFactory.h | 28 class RelocationFactory : public GCFactory<Relocation, MCLD_RELOCATIONS_PER_INPUT> 31 typedef Relocation::Type Type; 32 typedef Relocation::Address Address; 33 typedef Relocation::DWord DWord; 34 typedef Relocation::SWord SWord; 46 Relocation* produce(Type pType, 52 Relocation* produceEmptyEntry(); 54 void destroy(Relocation* pRelocation);
|
D | Relocator.h | 32 typedef Relocation::Type Type; 33 typedef Relocation::Address Address; 34 typedef Relocation::DWord DWord; 35 typedef Relocation::SWord SWord; 36 typedef Relocation::Size Size; 55 virtual Result applyRelocation(Relocation& pRelocation) = 0; 64 virtual void scanRelocation(Relocation& pReloc, 95 virtual void partialScanRelocation(Relocation& pReloc,
|
D | BranchIsland.h | 28 class Relocation; variable 40 typedef std::vector<Relocation*> RelocationListType; 94 Stub* findStub(const Stub* pPrototype, const Relocation& pReloc); 97 bool addStub(const Stub* pPrototype, const Relocation& pReloc, Stub& pStub); 100 bool addRelocation(Relocation& pReloc);
|
D | StubFactory.h | 21 class Relocation; variable 38 Stub* create(Relocation& pReloc, 46 Stub* findPrototype(const Relocation& pReloc,
|
D | RelocData.h | 46 typedef llvm::iplist<Relocation, 47 GCFactoryListTraits<Relocation> > RelocationListType; 75 RelocData& append(Relocation& pRelocation);
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
D | Relocation.h | 27 class Relocation : public llvm::ilist_node<Relocation> 30 friend class GCFactoryListTraits<Relocation>; 31 friend class Chunk<Relocation, MCLD_RELOCATIONS_PER_INPUT>; 41 Relocation(); 43 Relocation(Type pType, 48 ~Relocation(); 58 static Relocation* Create(); 64 static Relocation* Create(Type pType, FragmentRef& pFragRef, 68 static void Destroy(Relocation*& pRelocation);
|
D | Stub.h | 25 class Relocation; variable 31 typedef Relocation::DWord DWord; 32 typedef Relocation::SWord SWord; 33 typedef Relocation::Type Type; 72 virtual bool isMyDuty(const class Relocation& pReloc,
|
/frameworks/compile/mclinker/lib/LD/ |
D | RelocationFactory.cpp | 25 : GCFactory<Relocation, MCLD_RELOCATIONS_PER_INPUT>(), m_pConfig(NULL) { in RelocationFactory() 33 Relocation* RelocationFactory::produce(RelocationFactory::Type pType, in produce() 74 Relocation* result = allocate(); in produce() 75 new (result) Relocation(pType, &pFragRef, pAddend, target_data); in produce() 79 Relocation* RelocationFactory::produceEmptyEntry() in produceEmptyEntry() 81 Relocation* result = allocate(); in produceEmptyEntry() 82 new (result) Relocation(0, 0, 0, 0); in produceEmptyEntry() 86 void RelocationFactory::destroy(Relocation* pRelocation) in destroy()
|
D | ELFDynObjFileFormat.cpp | 46 LDFileFormat::Relocation, in initObjectFormat() 51 LDFileFormat::Relocation, in initObjectFormat() 56 LDFileFormat::Relocation, in initObjectFormat() 61 LDFileFormat::Relocation, in initObjectFormat()
|
D | ELFExecFileFormat.cpp | 47 LDFileFormat::Relocation, in initObjectFormat() 52 LDFileFormat::Relocation, in initObjectFormat() 57 LDFileFormat::Relocation, in initObjectFormat() 62 LDFileFormat::Relocation, in initObjectFormat()
|
D | StubFactory.cpp | 40 Stub* StubFactory::create(Relocation& pReloc, in create() 92 Relocation* reloc = Relocation::Create((*it)->type(), in create() 112 Stub* StubFactory::findPrototype(const Relocation& pReloc, in findPrototype()
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMRelocator.h | 79 Result applyRelocation(Relocation& pRelocation); 87 const char* getName(Relocation::Type pType) const; 89 Size getSize(Relocation::Type pType) const; 106 void scanRelocation(Relocation& pReloc, 112 void scanLocalReloc(Relocation& pReloc, const LDSection& pSection); 114 void scanGlobalReloc(Relocation& pReloc, 118 void checkValidReloc(Relocation& pReloc) const;
|
D | ARMRelocator.cpp | 30 typedef Relocator::Result (*ApplyFunctionType)(Relocation& pReloc, 60 ARMRelocator::applyRelocation(Relocation& pRelocation) in applyRelocation() 62 Relocation::Type type = pRelocation.type(); in applyRelocation() 75 Relocator::Size ARMRelocator::getSize(Relocation::Type pType) const in getSize() 82 Relocation& rel_entry = *getTarget().getRelDyn().consumeEntry(); in addCopyReloc() 145 void ARMRelocator::checkValidReloc(Relocation& pReloc) const in checkValidReloc() 172 ARMRelocator::scanLocalReloc(Relocation& pReloc, const LDSection& pSection) in scanLocalReloc() 271 void ARMRelocator::scanGlobalReloc(Relocation& pReloc, in scanGlobalReloc() 487 void ARMRelocator::scanRelocation(Relocation& pReloc, in scanRelocation() 523 static Relocator::DWord getThumbBit(const Relocation& pReloc) in getThumbBit() [all …]
|
D | ARMToTHMStub.h | 24 class Relocation; variable 39 bool isMyDuty(const class Relocation& pReloc,
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
D | MipsRelocator.cpp | 28 typedef Relocator::Result (*ApplyFunctionType)(Relocation&, MipsRelocator&); 57 MipsRelocator::applyRelocation(Relocation& pRelocation) in applyRelocation() 59 Relocation::Type type = pRelocation.type(); in applyRelocation() 69 const char* MipsRelocator::getName(Relocation::Type pType) const in getName() 74 Relocator::Size MipsRelocator::getSize(Relocation::Type pType) const in getSize() 79 void MipsRelocator::scanRelocation(Relocation& pReloc, in scanRelocation() 139 void MipsRelocator::scanLocalReloc(Relocation& pReloc, in scanLocalReloc() 228 void MipsRelocator::scanGlobalReloc(Relocation& pReloc, in scanGlobalReloc() 327 Relocation* helper_FindLo16Reloc(Relocation& pReloc) in helper_FindLo16Reloc() 329 Relocation* reloc = static_cast<Relocation*>(pReloc.getNextNode()); in helper_FindLo16Reloc() [all …]
|
D | MipsRelocator.h | 40 void scanRelocation(Relocation& pReloc, 61 Result applyRelocation(Relocation& pRelocation); 80 const char* getName(Relocation::Type pType) const; 82 Size getSize(Relocation::Type pType) const; 85 void scanLocalReloc(Relocation& pReloc, 89 void scanGlobalReloc(Relocation& pReloc,
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
D | HexagonRelocator.h | 87 Result applyRelocation(Relocation& pRelocation); 95 void scanRelocation(Relocation& pReloc, 101 void partialScanRelocation(Relocation& pReloc, 111 const char* getName(Relocation::Type pType) const; 113 Size getSize(Relocation::Type pType) const; 137 virtual void scanLocalReloc(Relocation& pReloc, 142 virtual void scanGlobalReloc(Relocation& pReloc,
|
D | HexagonRelocator.cpp | 28 typedef Relocator::Result (*ApplyFunctionType)(Relocation& pReloc, 78 HexagonRelocator::applyRelocation(Relocation& pRelocation) in applyRelocation() 80 Relocation::Type type = pRelocation.type(); in applyRelocation() 90 const char* HexagonRelocator::getName(Relocation::Type pType) const in getName() 95 Relocator::Size HexagonRelocator::getSize(Relocation::Type pType) const in getSize() 100 void HexagonRelocator::scanRelocation(Relocation& pReloc, in scanRelocation() 132 Relocation& rel_entry = *pTarget.getRelaDyn().consumeEntry(); in addCopyReloc() 139 void HexagonRelocator::scanLocalReloc(Relocation& pReloc, in scanLocalReloc() 168 void HexagonRelocator::scanGlobalReloc(Relocation& pReloc, in scanGlobalReloc() 304 void HexagonRelocator::partialScanRelocation(Relocation& pReloc, in partialScanRelocation() [all …]
|
/frameworks/compile/mclinker/tools/mcld/lib/Support/ |
D | TargetLinkerConfigs.cpp | 64 mcld::Relocation::SetUp(*getLDConfig()); in ARMLinkerConfig() 98 mcld::Relocation::SetUp(*getLDConfig()); in MipsLinkerConfig() 131 mcld::Relocation::SetUp(*getLDConfig()); in X86FamilyLinkerConfigBase() 173 mcld::Relocation::SetUp(*getLDConfig()); in GeneralLinkerConfig()
|
/frameworks/compile/mclinker/include/mcld/Target/ |
D | OutputRelocSection.h | 22 class Relocation; variable 37 Relocation* consumeEntry();
|