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

1234

/frameworks/compile/mclinker/include/mcld/LD/
H A DRelocationFactory.h1 //===- 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 DRelocator.h12 #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 DStubFactory.h21 class Relocation;
36 Stub* create(Relocation& pReloc,
48 Stub* findPrototype(const Relocation& pReloc,
H A DDebugString.h19 class Relocation;
43 void applyOffset(Relocation& pReloc, TargetLDBackend& pBackend);
H A DRelocData.h14 #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 DRelocation.cpp1 //===- 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 DARMRelocator.h64 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 DARMToARMStub.h19 class Relocation;
33 bool isMyDuty(const class Relocation& pReloc,
H A DARMToTHMStub.h19 class Relocation;
33 bool isMyDuty(const class Relocation& pReloc,
H A DTHMToARMStub.h18 class Relocation;
32 bool isMyDuty(const class Relocation& pReloc,
H A DTHMToTHMStub.h18 class Relocation;
32 bool isMyDuty(const class Relocation& pReloc,
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86Relocator.h67 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 DAArch64Relocator.h27 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 DAArch64LongBranchStub.h22 class Relocation;
30 bool isMyDuty(const Relocation& pReloc,
34 void applyFixup(Relocation& pSrcReloc,
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonRelocator.h32 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 DHexagonAbsoluteStub.h19 class Relocation;
33 bool isMyDuty(const class Relocation& pReloc,
/frameworks/compile/mclinker/lib/LD/
H A DRelocationFactory.cpp26 : 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 DRelocData.cpp46 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 DOutputRelocSection.cpp37 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 DRelocation.h1 //===- 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 DStub.h14 #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 DOutputRelocSection.h18 class Relocation;
31 Relocation* create();
35 Relocation* consumeEntry();
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsRelocator.h44 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 DMipsLA25Stub.h17 class Relocation;
32 bool isMyDuty(const Relocation& pReloc,
H A DMipsGOT.h12 #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...]

Completed in 6412 milliseconds

1234