HomeSort by relevance Sort by last modified time
    Searched refs:Relocation (Results 1 - 25 of 84) sorted by null

1 2 3 4

  /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>
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;
58 /// to relocation and generate empty entries, such as GOT, dynamic relocation
61 /// @param pReloc - a read in relocation entr
    [all...]
StubFactory.h 21 class Relocation;
38 Stub* create(Relocation& pReloc,
45 /// relocation
46 Stub* findPrototype(const Relocation& pReloc,
RelocData.h 16 #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/
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/ARM/
ARMRelocator.h 39 * GOT may needs a corresponding relocation to relocate itself, so we
43 * use dynamic relocation.
51 * 0001 ReserveRel - reserve an dynamic relocation entry
53 * 0011 GOTandRel - For different relocation, we've reserved GOT and
56 * relocation entry which relocate this GOT entry
57 * 0101 GOTRelandRel - For different relocation, we've reserved GOTRel
58 * and relocation entry for different location.
60 * Dynamic relocation entries
61 * 1001 PLTandRel - For different relocation, we've reserved PLT and
79 Result applyRelocation(Relocation& pRelocation)
    [all...]
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/X86/
X86Relocator.h 42 * GOT may needs a corresponding relocation to relocate itself, so we
46 * use dynamic relocation.
54 * 0001 ReserveRel - reserve an dynamic relocation entry
56 * 0011 GOTandRel - For different relocation, we've reserved GOT and
59 * relocation entry which relocate this GOT entry
60 * 0101 GOTRelandRel - For different relocation, we've reserved GOTRel
61 * and relocation entry for different location.
63 * Dynamic relocation entries
64 * 1001 PLTandRel - For different relocation, we've reserved PLT and
82 virtual Result applyRelocation(Relocation& pRelocation) = 0
    [all...]
X86LDBackend.h 33 Relocation::Type pCopyRel);
100 /// getPointerRel - get pointer relocation type.
101 Relocation::Type getPointerRel()
104 Relocation::Type getCopyRelType() const { return m_CopyRel; }
105 Relocation::Type getPointerRelType() const { return m_PointerRel; }
110 /// getRelEntrySize - the size in BYTE of rel type relocation
114 /// getRelEntrySize - the size in BYTE of rela type relocation
136 /// m_RelDyn - dynamic relocation table of .rel.dyn
138 /// m_RelPLT - dynamic relocation table of .rel.plt
147 Relocation::Type m_CopyRel
    [all...]
  /frameworks/compile/mclinker/lib/Target/Mips/
MipsRelocator.h 29 ReserveRel = 1, // reserve a dynamic relocation entry
39 /// For Mips, the GOT, GP, and dynamic relocation entries are check to create.
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,
MipsRelocator.cpp 23 // Relocation Functions and Tables
28 typedef Relocator::Result (*ApplyFunctionType)(Relocation&, MipsRelocator&);
57 MipsRelocator::applyRelocation(Relocation& pRelocation)
59 Relocation::Type type = pRelocation.type();
65 // apply the relocation
69 const char* MipsRelocator::getName(Relocation::Type pType) const
74 Relocator::Size MipsRelocator::getSize(Relocation::Type pType) const
79 void MipsRelocator::scanRelocation(Relocation& pReloc,
84 // rsym - The relocation target symbol
86 assert(NULL != rsym && "ResolveInfo of relocation not set while scanRelocation")
    [all...]
  /frameworks/compile/mclinker/lib/Target/Hexagon/
HexagonRelocator.h 46 * relocation.
48 * GOT may needs a corresponding relocation to relocate itself, so we
52 * use dynamic relocation.
60 * 0001 ReserveRel - reserve an dynamic relocation entry
62 * 0011 GOTandRel - For different relocation, we've reserved GOT and
65 * relocation entry which relocate this GOT entry
66 * 0101 GOTRelandRel - For different relocation, we've reserved GOTRel
67 * and relocation entry for different location.
69 * Dynamic relocation entries
70 * 1001 PLTandRel - For different relocation, we've reserved PLT an
    [all...]
HexagonAbsoluteStub.h 24 class Relocation;
39 bool isMyDuty(const class Relocation& pReloc,
  /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:

Completed in 119 milliseconds

1 2 3 4