/frameworks/compile/mclinker/lib/LD/ |
Relocation.cpp | 1 //===- Relocation.cpp -----------------------------------------------------===// 10 #include <mcld/LD/Relocation.h> 17 Relocation::Relocation(Relocation::Type pType, 19 Relocation::Address pAddend, 20 Relocation::DWord pTargetData) 21 : Fragment(Fragment::Relocation), 31 Relocation::~Relocation() [all...] |
RelocationFactory.cpp | 26 : GCFactory<Relocation, 0>(pNum), 34 Relocation* RelocationFactory::produce(RelocationFactory::Type pType, 38 // target_data is the place where the relocation applys to. 67 Relocation *result = allocate(); 68 new (result) Relocation(pType, &pFragRef, pAddend, target_data); 72 Relocation* RelocationFactory::produceEmptyEntry() 78 return new Relocation(0, 0, 0, 0); 81 void RelocationFactory::destroy(Relocation* pRelocation) 83 /** GCFactory will recycle the relocation **/
|
ELFDynObjFileFormat.cpp | 46 LDFileFormat::Relocation, 51 LDFileFormat::Relocation, 56 LDFileFormat::Relocation, 61 LDFileFormat::Relocation,
|
ELFExecFileFormat.cpp | 47 LDFileFormat::Relocation, 52 LDFileFormat::Relocation, 57 LDFileFormat::Relocation, 62 LDFileFormat::Relocation,
|
/frameworks/compile/mclinker/include/mcld/LD/ |
RelocationFactory.h | 1 //===- Relocation.h -------------------------------------------------------===// 15 #include <mcld/LD/Relocation.h> 30 * relocation 33 class RelocationFactory : public GCFactory<Relocation, 0> 36 typedef Relocation::Type Type; 37 typedef Relocation::Address Address; 38 typedef Relocation::DWord DWord; 54 virtual Result applyRelocation(Relocation& pRelocation, 58 /// produce - produce a relocation entry 59 /// @param pType - the type of the relocation entr [all...] |
Relocation.h | 1 //===- Relocation.h ----------------------------------------------------===// 29 class Relocation : public Fragment 39 Relocation(Type pType, 45 ~Relocation(); 47 /// type - relocation type 92 // Relocation is a kind of Fragment with type of FT_Reloc 94 { return F->getKind() == Fragment::Relocation; } 95 static bool classof(const Relocation *) { return true; } 98 /// m_Type - the type of the relocation entries 104 /// m_pSymInfo - resolved symbol info of relocation target symbo [all...] |
Fragment.h | 35 Relocation,
|
/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
|
darwin-Thumb-reloc.s | 59 @ CHECK: # Relocation 0 62 @ CHECK: # Relocation 1 65 @ CHECK: # Relocation 2
|
darwin-ARM-reloc.s | 58 @ CHECK: # Relocation 0 61 @ CHECK: # Relocation 1 80 @ CHECK: # Relocation 0 83 @ CHECK: # Relocation 1
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
ARMRelocationFactory.h | 32 Result applyRelocation(Relocation& pRelocation, const MCLDInfo& pLDInfo); 40 const char* getName(Relocation::Type pType) const;
|
ARMRelocationFactory.cpp | 24 // Relocation Functions and Tables 30 Relocation& pReloc, 61 ARMRelocationFactory::applyRelocation(Relocation& pRelocation, 64 Relocation::Type type = pRelocation.type(); 81 static RelocationFactory::DWord getThumbBit(const Relocation& pReloc) 97 // Relocation helper function // 117 // Check if symbol can use relocation R_ARM_RELATIVE 134 GOTEntry& helper_get_GOT_and_init(Relocation& pReloc, 138 // rsym - The relocation target symbol 147 // No corresponding dynamic relocation, initialize to the symbol value [all...] |
ARMLDBackend.h | 45 * GOT may needs a corresponding relocation to relocate itself, so we 49 * use dynamic relocation. 57 * 0001 ReserveRel - reserve an dynamic relocation entry 59 * 0011 GOTandRel - For different relocation, we've reserved GOT and 62 * relocation entry which relocate this GOT entry 63 * 0101 GOTRelandRel - For different relocation, we've reserved GOTRel 64 * and relocation entry for different location. 66 * Dynamic relocation entries 67 * 1001 PLTandRel - For different relocation, we've reserved PLT and 102 /// - dynamin relocation entries (for .rel.plt and .rel.dyn sections [all...] |
/frameworks/compile/mclinker/lib/Target/X86/ |
X86RelocationFactory.h | 32 Result applyRelocation(Relocation& pRelocation, const MCLDInfo& pLDInfo); 40 const char* getName(Relocation::Type pType) const;
|
X86RelocationFunctions.h | 11 static X86RelocationFactory::Result Name (Relocation& pEntry, \
|
X86RelocationFactory.cpp | 23 // Relocation Functions and Tables 29 (*ApplyFunctionType)(Relocation& pReloc, 60 X86RelocationFactory::applyRelocation(Relocation& pRelocation, 63 Relocation::Type type = pRelocation.type(); 71 // apply the relocation 75 const char* X86RelocationFactory::getName(Relocation::Type pType) const 81 // Relocation helper function 84 // Check if symbol can use relocation R_386_RELATIVE 100 GOTEntry& helper_get_GOT_and_init(Relocation& pReloc, 104 // rsym - The relocation target symbo [all...] |
X86LDBackend.h | 35 * GOT may needs a corresponding relocation to relocate itself, so we 39 * use dynamic relocation. 47 * 0001 ReserveRel - reserve an dynamic relocation entry 49 * 0011 GOTandRel - For different relocation, we've reserved GOT and 52 * relocation entry which relocate this GOT entry 53 * 0101 GOTRelandRel - For different relocation, we've reserved GOTRel 54 * and relocation entry for different location. 56 * Dynamic relocation entries 57 * 1001 PLTandRel - For different relocation, we've reserved PLT and 170 /// - dynamin relocation entries (for .rel.plt and .rel.dyn sections [all...] |
/frameworks/compile/mclinker/lib/Target/ |
OutputRelocSection.cpp | 46 Relocation* OutputRelocSection::getEntry(const ResolveInfo& pSymbol, 60 "No empty relocation entry for the incoming symbol."); 62 // if this relocation is used to relocate GOT (.got or .got.plt), 65 // Otherwise, this relocation is used to relocate general section 67 Relocation* result; 71 Relocation *&entry = m_SymRelMap[&pSymbol]; 76 entry = llvm::cast<Relocation>(&(*m_ValidEntryIterator)); 83 result = llvm::cast<Relocation>(&(*m_ValidEntryIterator));
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
MipsRelocationFactory.cpp | 22 // Relocation Functions and Tables 27 typedef RelocationFactory::Result (*ApplyFunctionType)(Relocation&, 56 MipsRelocationFactory::applyRelocation(Relocation& pRelocation, 60 Relocation::Type type = pRelocation.type(); 68 // apply the relocation 72 const char* MipsRelocationFactory::getName(Relocation::Type pType) const 78 // Relocation helper function 83 // Find next R_MIPS_LO16 relocation paired to pReloc. 85 Relocation* helper_FindLo16Reloc(Relocation& pReloc [all...] |
MipsRelocationFactory.h | 30 Result applyRelocation(Relocation& pRelocation, const MCLDInfo& pLDInfo); 46 const char* getName(Relocation::Type pType) const;
|
MipsLDBackend.h | 29 ReserveRel = 1, // reserve a dynamic relocation entry 51 /// getRelocFactory - return relocation factory. 56 /// For Mips, the GOT, GP, and dynamic relocation entries are check to create. 57 void scanRelocation(Relocation& pReloc, 150 void scanLocalReloc(Relocation& pReloc, 156 void scanGlobalReloc(Relocation& pReloc, 165 /// updateAddend - update addend value of the relocation if the 169 void updateAddend(Relocation& pReloc,
|
/frameworks/compile/mclinker/include/mcld/Target/ |
OutputRelocSection.h | 23 class Relocation; 26 * \brief Dynamic relocation section for ARM .rel.dyn and .rel.plt 39 Relocation* getEntry(const ResolveInfo& pSymbol, 44 typedef llvm::DenseMap<const ResolveInfo*, Relocation*> SymRelMapType; 57 /// m_EntryBytes - size of a relocation entry 66 /// m_SymRelMap - map the resolved symbol to the Relocation entry
|
/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:
|