Home
last modified time | relevance | path

Searched refs:Relocator (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/compile/mclinker/lib/Target/ARM/
DARMRelocator.cpp29 static Relocator::DWord getThumbBit(const Relocation& pReloc) { in getThumbBit()
32 Relocator::DWord thumbBit = in getThumbBit()
70 static inline void helper_clear_thumb_bit(Relocator::DWord& pValue) { in helper_clear_thumb_bit()
74 static Relocator::Address helper_get_GOT_address(ResolveInfo& pSym, in helper_get_GOT_address()
114 static Relocator::Address helper_GOT_ORG(ARMRelocator& pParent) { in helper_GOT_ORG()
118 static Relocator::Address helper_get_PLT_address(ResolveInfo& pSym, in helper_get_PLT_address()
152 Relocator::Type pType, in helper_DynRel_init()
168 static Relocator::DWord helper_extract_movw_movt_addend( in helper_extract_movw_movt_addend()
169 Relocator::DWord pTarget) { in helper_extract_movw_movt_addend()
175 static Relocator::DWord helper_insert_val_movw_movt_inst( in helper_insert_val_movw_movt_inst()
[all …]
DARMLDBackend.h59 const Relocator* getRelocator() const;
60 Relocator* getRelocator();
180 Relocator* m_pRelocator;
DARMRelocator.h23 class ARMRelocator : public Relocator {
DARMLDBackend.cpp273 const Relocator* ARMGNULDBackend::getRelocator() const { in getRelocator()
278 Relocator* ARMGNULDBackend::getRelocator() { in getRelocator()
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64Relocator.cpp34 typedef Relocator::Result (*ApplyFunctionType)(Relocation& pReloc,
49 typedef std::map<Relocator::Type, ApplyFunctionEntry> ApplyFunctionMap;
66 : Relocator(pConfig), m_Target(pParent) { in AArch64Relocator()
72 Relocator::Result AArch64Relocator::applyRelocation(Relocation& pRelocation) { in applyRelocation()
78 return Relocator::Unknown; in applyRelocation()
84 const char* AArch64Relocator::getName(Relocator::Type pType) const { in getName()
89 Relocator::Size AArch64Relocator::getSize(Relocation::Type pType) const { in getSize()
451 Relocator::Result none(Relocation& pReloc, AArch64Relocator& pParent) { in none()
452 return Relocator::OK; in none()
455 Relocator::Result unsupported(Relocation& pReloc, AArch64Relocator& pParent) { in unsupported()
[all …]
DAArch64RelocationHelpers.h20 static inline bool helper_check_signed_overflow(Relocator::DWord pValue, in helper_check_signed_overflow()
32 static inline Relocator::Address helper_get_page_address( in helper_get_page_address()
33 Relocator::Address pValue) { in helper_get_page_address()
34 return (pValue & ~(Relocator::Address)0xFFF); in helper_get_page_address()
37 static inline Relocator::Address helper_get_page_offset( in helper_get_page_offset()
38 Relocator::Address pValue) { in helper_get_page_offset()
39 return (pValue & (Relocator::Address)0xFFF); in helper_get_page_offset()
74 static inline uint32_t helper_get_upper32(Relocator::DWord pData) { in helper_get_upper32()
80 static inline void helper_put_upper32(uint32_t pData, Relocator::DWord& pDes) { in helper_put_upper32()
84 static inline Relocator::Address helper_get_PLT_address( in helper_get_PLT_address()
[all …]
DAArch64LDBackend.h50 const Relocator* getRelocator() const;
51 Relocator* getRelocator();
150 Relocator* m_pRelocator;
DAArch64Relocator.h23 class AArch64Relocator : public Relocator {
DAArch64LDBackend.cpp150 const Relocator* AArch64GNULDBackend::getRelocator() const { in getRelocator()
155 Relocator* AArch64GNULDBackend::getRelocator() { in getRelocator()
/frameworks/compile/mclinker/lib/Target/X86/
DX86Relocator.cpp34 Relocator::Type pType, in helper_DynRel_init()
88 static Relocator::Address helper_GOT_ORG(X86_32Relocator& pParent) { in helper_GOT_ORG()
92 static Relocator::Address helper_get_GOT_address(Relocation& pReloc, in helper_get_GOT_address()
123 static Relocator::Address helper_get_PLT_address(ResolveInfo& pSym, in helper_get_PLT_address()
136 typedef Relocator::Result (*X86_32ApplyFunctionType)(Relocation& pReloc,
154 X86Relocator::X86Relocator(const LinkerConfig& pConfig) : Relocator(pConfig) { in X86Relocator()
278 Relocator::Result X86_32Relocator::applyRelocation(Relocation& pRelocation) { in applyRelocation()
293 Relocator::Size X86_32Relocator::getSize(Relocation::Type pType) const { in getSize()
855 Relocator::Result none(Relocation& pReloc, X86_32Relocator& pParent) { in none()
856 return Relocator::OK; in none()
[all …]
DX86LDBackend.h79 const Relocator* getRelocator() const;
80 Relocator* getRelocator();
137 Relocator* m_pRelocator;
DX86Relocator.h27 class X86Relocator : public Relocator {
DX86LDBackend.cpp72 const Relocator* X86GNULDBackend::getRelocator() const { in getRelocator()
77 Relocator* X86GNULDBackend::getRelocator() { in getRelocator()
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonRelocator.cpp30 Relocator::Type pType, in helper_DynRel_init()
84 static Relocator::Address helper_get_GOT_address(ResolveInfo& pSym, in helper_get_GOT_address()
114 static Relocator::Address helper_get_PLT_address(ResolveInfo& pSym, in helper_get_PLT_address()
127 typedef Relocator::Result (*ApplyFunctionType)(Relocation& pReloc,
170 : Relocator(pConfig), m_Target(pParent) { in HexagonRelocator()
176 Relocator::Result HexagonRelocator::applyRelocation(Relocation& pRelocation) { in applyRelocation()
180 return Relocator::Unknown; in applyRelocation()
191 Relocator::Size HexagonRelocator::getSize(Relocation::Type pType) const { in getSize()
499 Relocator::Result none(Relocation& pReloc, HexagonRelocator& pParent) { in none()
500 return Relocator::OK; in none()
[all …]
DHexagonLDBackend.h85 const Relocator* getRelocator() const;
86 Relocator* getRelocator();
173 Relocator* m_pRelocator;
DHexagonRelocator.h27 class HexagonRelocator : public Relocator {
/frameworks/compile/mclinker/lib/Fragment/
DRelocation.cpp96 void Relocation::apply(Relocator& pRelocator) { in apply()
97 Relocator::Result result = pRelocator.applyRelocation(*this); in apply()
100 case Relocator::OK: { in apply()
104 case Relocator::Overflow: { in apply()
109 case Relocator::BadReloc: { in apply()
114 case Relocator::Unsupported: { in apply()
119 case Relocator::Unknown: { in apply()
138 Relocation::Size Relocation::size(Relocator& pRelocator) const { in size()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsRelocator.cpp110 static Relocator::Address helper_get_PLT_address(ResolveInfo& pSym, in helper_get_PLT_address()
123 typedef Relocator::Result (*ApplyFunctionType)(MipsRelocationInfo&,
143 : Relocator(pConfig), in MipsRelocator()
149 Relocator::Result MipsRelocator::applyRelocation(Relocation& pReloc) { in applyRelocation()
582 Relocator::Address MipsRelocator::getGPAddress() { in getGPAddress()
586 Relocator::Address MipsRelocator::getTPOffset() { in getTPOffset()
590 Relocator::Address MipsRelocator::getDTPOffset() { in getDTPOffset()
594 Relocator::Address MipsRelocator::getGP0() { in getGP0()
672 Relocator::Address MipsRelocator::getGOTOffset(MipsRelocationInfo& pReloc) { in getGOTOffset()
689 Relocator::Address MipsRelocator::getTLSGOTOffset(MipsRelocationInfo& pReloc) { in getTLSGOTOffset()
[all …]
DMipsLDBackend.h51 const Relocator* getRelocator() const;
52 Relocator* getRelocator();
236 Relocator* m_pRelocator;
DMipsRelocator.h26 class MipsRelocator : public Relocator {
/frameworks/compile/mclinker/lib/LD/
DRelocator.cpp28 Relocator::~Relocator() { in ~Relocator()
31 void Relocator::partialScanRelocation(Relocation& pReloc, in partialScanRelocation()
53 void Relocator::issueUndefRef(Relocation& pReloc, in issueUndefRef()
DAndroid.mk41 Relocator.cpp \
/frameworks/compile/mclinker/include/mcld/Fragment/
DRelocation.h22 class Relocator; variable
81 Size size(Relocator& pRelocator) const;
95 void apply(Relocator& pRelocator);
/frameworks/compile/mclinker/include/mcld/LD/
DRelocator.h24 class Relocator {
36 explicit Relocator(const LinkerConfig& pConfig) : m_Config(pConfig) {} in Relocator() function
38 virtual ~Relocator() = 0;
/frameworks/compile/mclinker/include/mcld/Target/
DTargetLDBackend.h39 class Relocator; variable
69 virtual Relocator* getRelocator() = 0;
70 virtual const Relocator* getRelocator() const = 0;

12