Searched refs:Relocation (Results 1 - 25 of 71) sorted by relevance

123

/frameworks/compile/mclinker/include/mcld/LD/
H A DRelocationFactory.h1 //===- Relocation.h -------------------------------------------------------===//
16 #include <mcld/Fragment/Relocation.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* pRelocatio
[all...]
H A DRelocator.h15 #include <mcld/Fragment/Relocation.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,
H A DStubFactory.h21 class Relocation;
38 Stub* create(Relocation& pReloc,
46 Stub* findPrototype(const Relocation& pReloc,
H A DRelocData.h16 #include <mcld/Fragment/Relocation.h>
29 * \brief RelocData stores Relocation.
46 typedef llvm::iplist<Relocation,
47 GCFactoryListTraits<Relocation> > RelocationListType;
75 RelocData& append(Relocation& pRelocation);
/frameworks/compile/mclinker/lib/Fragment/
H A DRelocation.cpp1 //===- Relocation.cpp -----------------------------------------------------===//
9 #include <mcld/Fragment/Relocation.h>
25 // Relocation Factory Methods
28 void Relocation::SetUp(const LinkerConfig& pConfig)
34 void Relocation::Clear()
40 Relocation* Relocation::Create()
49 Relocation* Relocation::Create(Type pType, FragmentRef& pFragRef, Address pAddend)
55 void Relocation
64 Relocation::Relocation() function in class:Relocation
68 Relocation::Relocation(Relocation::Type pType, function in class:Relocation
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DRelocationFactory.cpp25 : GCFactory<Relocation, MCLD_RELOCATIONS_PER_INPUT>(), m_pConfig(NULL) {
33 Relocation* RelocationFactory::produce(RelocationFactory::Type pType,
74 Relocation* result = allocate();
75 new (result) Relocation(pType, &pFragRef, pAddend, target_data);
79 Relocation* RelocationFactory::produceEmptyEntry()
81 Relocation* result = allocate();
82 new (result) Relocation(0, 0, 0, 0);
86 void RelocationFactory::destroy(Relocation* pRelocation)
H A DELFDynObjFileFormat.cpp46 LDFileFormat::Relocation,
51 LDFileFormat::Relocation,
56 LDFileFormat::Relocation,
61 LDFileFormat::Relocation,
H A DELFExecFileFormat.cpp47 LDFileFormat::Relocation,
52 LDFileFormat::Relocation,
57 LDFileFormat::Relocation,
62 LDFileFormat::Relocation,
/frameworks/compile/mclinker/include/mcld/Fragment/
H A DRelocation.h1 //===- Relocation.h ----------------------------------------------------===//
27 class Relocation : public llvm::ilist_node<Relocation> class in namespace:mcld
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* Creat
[all...]
H A DStub.h18 #include <mcld/Fragment/Relocation.h>
25 class Relocation;
31 typedef Relocation::DWord DWord;
32 typedef Relocation::SWord SWord;
33 typedef Relocation::Type Type;
72 virtual bool isMyDuty(const class Relocation& pReloc,
H A DFragmentLinker.h25 #include <mcld/Fragment/Relocation.h>
67 void writeRelocationResult(Relocation& pReloc, uint8_t* pOutput);
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMRelocator.h79 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;
H A DARMToARMStub.h24 class Relocation;
39 bool isMyDuty(const class Relocation& pReloc,
H A DARMToTHMStub.h24 class Relocation;
39 bool isMyDuty(const class Relocation& pReloc,
H A DTHMToARMStub.h24 class Relocation;
39 bool isMyDuty(const class Relocation& pReloc,
H A DTHMToTHMStub.h24 class Relocation;
39 bool isMyDuty(const class Relocation& pReloc,
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86Relocator.h82 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
[all...]
H A DX86LDBackend.h33 Relocation::Type pCopyRel);
101 Relocation::Type getPointerRel()
104 Relocation::Type getCopyRelType() const { return m_CopyRel; }
105 Relocation::Type getPointerRelType() const { return m_PointerRel; }
147 Relocation::Type m_CopyRel;
148 Relocation::Type m_PointerRel;
H A DX86Relocator.cpp25 // Relocation Functions and Tables
30 typedef Relocator::Result (*X86_32ApplyFunctionType)(Relocation& pReloc,
58 void X86Relocator::scanRelocation(Relocation& pReloc,
75 // Scan relocation type to determine if the GOT/PLT/Dynamic Relocation
90 Relocation& rel_entry = *pTarget.getRelDyn().consumeEntry();
182 X86_32Relocator::applyRelocation(Relocation& pRelocation)
184 Relocation::Type type = pRelocation.type();
194 const char* X86_32Relocator::getName(Relocation::Type pType) const
199 Relocator::Size X86_32Relocator::getSize(Relocation::Type pType) const
204 void X86_32Relocator::scanLocalReloc(Relocation
[all...]
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsRelocator.h40 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,
H A DMipsRelocator.cpp23 // Relocation Functions and Tables
28 typedef Relocator::Result (*ApplyFunctionType)(Relocation&, MipsRelocator&);
57 MipsRelocator::applyRelocation(Relocation& pRelocation)
59 Relocation::Type type = pRelocation.type();
69 const char* MipsRelocator::getName(Relocation::Type pType) const
74 Relocator::Size MipsRelocator::getSize(Relocation::Type pType) const
79 void MipsRelocator::scanRelocation(Relocation& pReloc,
139 void MipsRelocator::scanLocalReloc(Relocation& pReloc,
228 void MipsRelocator::scanGlobalReloc(Relocation& pReloc,
321 // Relocation helpe
[all...]
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonRelocator.h87 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,
H A DHexagonAbsoluteStub.h24 class Relocation;
39 bool isMyDuty(const class Relocation& pReloc,
H A DHexagonRelocator.cpp23 // Relocation Functions and Tables
28 typedef Relocator::Result (*ApplyFunctionType)(Relocation& pReloc,
78 HexagonRelocator::applyRelocation(Relocation& pRelocation)
80 Relocation::Type type = pRelocation.type();
90 const char* HexagonRelocator::getName(Relocation::Type pType) const
95 Relocator::Size HexagonRelocator::getSize(Relocation::Type pType) const
100 void HexagonRelocator::scanRelocation(Relocation& pReloc,
132 Relocation& rel_entry = *pTarget.getRelaDyn().consumeEntry();
139 void HexagonRelocator::scanLocalReloc(Relocation& pReloc,
168 void HexagonRelocator::scanGlobalReloc(Relocation
[all...]
/frameworks/compile/mclinker/include/mcld/Target/
H A DOutputRelocSection.h22 class Relocation;
37 Relocation* consumeEntry();

Completed in 187 milliseconds

123