/frameworks/compile/mclinker/include/mcld/LD/ |
RelocationFactory.h | 1 //===- Relocation.h -------------------------------------------------------===// 16 #include <mcld/Fragment/Relocation.h> 25 * relocation 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; 42 /// produce - produce a relocation entry 43 /// @param pType - the type of the relocation entr [all...] |
Relocator.h | 15 #include <mcld/Fragment/Relocation.h> 29 typedef Relocation::Type Type; 30 typedef Relocation::Address Address; 31 typedef Relocation::DWord DWord; 32 typedef Relocation::SWord SWord; 33 typedef Relocation::Size Size; 48 virtual Result applyRelocation(Relocation& pRelocation) = 0; 55 /// getName - get the name of a relocation 58 /// getSize - get the size of a relocation in bit
|
StubFactory.h | 21 class Relocation; 38 Stub* create(Relocation& pReloc, 45 /// relocation 46 Stub* findPrototype(const Relocation& pReloc,
|
/frameworks/compile/mclinker/lib/Fragment/ |
Relocation.cpp | 1 //===- Relocation.cpp -----------------------------------------------------===// 9 #include <mcld/Fragment/Relocation.h> 25 // Relocation Factory Methods 27 /// Initialize - set up the relocation factory 28 void Relocation::SetUp(const LinkerConfig& pConfig) 33 /// Clear - Clean up the relocation factory 34 void Relocation::Clear() 39 /// Create - produce an empty relocation entry 40 Relocation* Relocation::Create( [all...] |
/external/llvm/test/MC/MachO/ARM/ |
thumb2-movw-fixup.s | 21 @ CHECK: # Relocation 0 24 @ CHECK: # Relocation 1 27 @ CHECK: # Relocation 2 30 @ CHECK: # Relocation 3 33 @ CHECK: # Relocation 4 36 @ CHECK: # Relocation 5 39 @ CHECK: # Relocation 6 42 @ CHECK: # Relocation 7
|
static-movt-relocs.s | 11 @ CHECK: # Relocation 0 14 @ CHECK: # Relocation 1 17 @ CHECK: # Relocation 2 20 @ CHECK: # Relocation 3
|
thumb2-movt-fixup.s | 11 @ CHECK: # Relocation 0 14 @ CHECK: # Relocation 1
|
/frameworks/compile/mclinker/lib/LD/ |
RelocationFactory.cpp | 25 : GCFactory<Relocation, MCLD_RELOCATIONS_PER_INPUT>(), m_pConfig(NULL) { 33 Relocation* RelocationFactory::produce(RelocationFactory::Type pType, 42 // target_data is the place where the relocation applys to. 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) 88 /** GCFactory will recycle the relocation **/ [all...] |
/frameworks/compile/mclinker/include/mcld/Fragment/ |
Relocation.h | 1 //===- 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(); 51 /// Initialize - set up the relocation factory 54 /// Clear - Clean up the relocation factor [all...] |
Stub.h | 18 #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, 116 /// addFixup - add a fixup for this stub to build a relocation
|
FragmentLinker.h | 25 #include <mcld/Fragment/Relocation.h> 49 /// applyRelocations - apply all relocation enties. 52 /// syncRelocationResult - After applying relocation, write back relocation target 57 /// normalSyncRelocationResult - sync relocation result when producing shared 61 /// partialSyncRelocationResult - sync relocation result when doing partial 66 /// relocation target data to output 67 void writeRelocationResult(Relocation& pReloc, uint8_t* pOutput);
|
/frameworks/compile/mclinker/lib/Target/X86/ |
X86Relocator.h | 38 virtual Result applyRelocation(Relocation& pRelocation) = 0; 40 virtual const char* getName(Relocation::Type pType) const = 0; 60 R_386_TLS_OPT = 44 // mcld internal relocation type 66 Result applyRelocation(Relocation& pRelocation); 74 const char* getName(Relocation::Type pType) const; 76 Size getSize(Relocation::Type pType) const; 103 Result applyRelocation(Relocation& pRelocation); 111 const char* getName(Relocation::Type pType) const; 113 Size getSize(Relocation::Type pType) const;
|
X86LDBackend.h | 38 * GOT may needs a corresponding relocation to relocate itself, so we 42 * use dynamic relocation. 50 * 0001 ReserveRel - reserve an dynamic relocation entry 52 * 0011 GOTandRel - For different relocation, we've reserved GOT and 55 * relocation entry which relocate this GOT entry 56 * 0101 GOTRelandRel - For different relocation, we've reserved GOTRel 57 * and relocation entry for different location. 59 * Dynamic relocation entries 60 * 1001 PLTandRel - For different relocation, we've reserved PLT and 77 Relocation::Type pCopyRel) [all...] |
X86Relocator.cpp | 22 // Relocation Functions and Tables 27 typedef Relocator::Result (*X86_32ApplyFunctionType)(Relocation& pReloc, 63 X86_32Relocator::applyRelocation(Relocation& pRelocation) 65 Relocation::Type type = pRelocation.type(); 71 // apply the relocation 75 const char* X86_32Relocator::getName(Relocation::Type pType) const 80 Relocator::Size X86_32Relocator::getSize(Relocation::Type pType) const 86 // Relocation helper function 89 /// helper_DynRel - Get an relocation entry in .rel.dyn 91 Relocation& helper_DynRel(ResolveInfo* pSym [all...] |
/frameworks/compile/mclinker/lib/Target/Mips/ |
MipsRelocator.cpp | 21 // Relocation Functions and Tables 26 typedef Relocator::Result (*ApplyFunctionType)(Relocation&, MipsRelocator&); 53 MipsRelocator::applyRelocation(Relocation& pRelocation) 56 Relocation::Type type = pRelocation.type(); 62 // apply the relocation 66 const char* MipsRelocator::getName(Relocation::Type pType) const 71 Relocator::Size MipsRelocator::getSize(Relocation::Type pType) const 77 // Relocation helper function 81 // Find next R_MIPS_LO16 relocation paired to pReloc. 83 Relocation* helper_FindLo16Reloc(Relocation& pReloc [all...] |
MipsRelocator.h | 33 Result applyRelocation(Relocation& pRelocation); 49 const char* getName(Relocation::Type pType) const; 51 Size getSize(Relocation::Type pType) const;
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
ARMRelocator.h | 36 Result applyRelocation(Relocation& pRelocation); 44 const char* getName(Relocation::Type pType) const; 46 Size getSize(Relocation::Type pType) const;
|
ARMToARMStub.h | 24 class Relocation; 39 bool isMyDuty(const class Relocation& pReloc,
|
ARMToTHMStub.h | 24 class Relocation; 39 bool isMyDuty(const class Relocation& pReloc,
|
THMToARMStub.h | 24 class Relocation; 39 bool isMyDuty(const class Relocation& pReloc,
|
THMToTHMStub.h | 24 class Relocation; 39 bool isMyDuty(const class Relocation& pReloc,
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
HexagonRelocator.h | 39 Result applyRelocation(Relocation& pRelocation); 47 const char* getName(Relocation::Type pType) const; 49 Size getSize(Relocation::Type pType) const;
|
HexagonRelocator.cpp | 21 // Relocation Functions and Tables 26 typedef Relocator::Result (*ApplyFunctionType)(Relocation& pReloc, 55 HexagonRelocator::applyRelocation(Relocation& pRelocation) 57 Relocation::Type type = pRelocation.type(); 63 // apply the relocation 67 const char* HexagonRelocator::getName(Relocation::Type pType) const 72 Relocator::Size HexagonRelocator::getSize(Relocation::Type pType) const 77 // Relocation helper function 96 // Each relocation function implementation // 100 HexagonRelocator::Result none(Relocation& pReloc, HexagonRelocator& pParent [all...] |
/frameworks/compile/mclinker/include/mcld/Target/ |
OutputRelocSection.h | 22 class Relocation; 26 * \brief Dynamic relocation section for ARM .rel.dyn and .rel.plt 37 Relocation* consumeEntry();
|
/external/elfutils/tests/ |
run-readelf-test1.sh | 41 Relocation section [ 8] '.rel.got' for section [19] '.got' at offset 0x294 contains 1 entry: 45 Relocation section [ 9] '.rel.plt' for section [11] '.plt' at offset 0x29c contains 4 entries:
|