/frameworks/compile/mclinker/lib/Target/Mips/ |
H A D | MipsRelocator.h | 147 virtual void setupRel32DynEntry(FragmentRef& pFragRef, ResolveInfo* pSym) = 0; 149 virtual void setupTLSDynEntry(Fragment& pFrag, ResolveInfo* pSym, 153 bool isLocalReloc(ResolveInfo& pSym) const; 156 void setupRelDynEntry(FragmentRef& pFragRef, ResolveInfo* pSym, 183 /// addCopyReloc - add a copy relocation into .rel.dyn for pSym 184 /// @param pSym - A resolved copy symbol that defined in BSS section 185 void addCopyReloc(ResolveInfo& pSym); 188 /// and force define the copy of pSym to BSS section 191 const ResolveInfo& pSym); 206 void setupRel32DynEntry(FragmentRef& pFragRef, ResolveInfo* pSym); [all...] |
H A D | MipsRelocator.cpp | 110 static Relocator::Address helper_get_PLT_address(ResolveInfo& pSym, argument 112 PLTEntryBase* plt_entry = pParent.getSymPLTMap().lookUp(pSym); 476 void MipsRelocator::addCopyReloc(ResolveInfo& pSym) { argument 479 assert(pSym.outSymbol()->hasFragRef()); 480 relEntry.targetRef().assign(*pSym.outSymbol()->fragRef()); 481 relEntry.setSymInfo(&pSym); 485 const ResolveInfo& pSym) { 488 LDSection* bssSectHdr = ResolveInfo::ThreadLocal == pSym.type() 502 Fragment* frag = new FillFragment(0x0, 1, pSym.size()); 507 ResolveInfo::Binding binding = (ResolveInfo::Binding)pSym 484 defineSymbolforCopyReloc(IRBuilder& pBuilder, const ResolveInfo& pSym) argument 747 setupRelDynEntry(FragmentRef& pFragRef, ResolveInfo* pSym, Relocation::Type pType) argument 763 setupRel32DynEntry(FragmentRef& pFragRef, ResolveInfo* pSym) argument 768 setupTLSDynEntry(Fragment& pFrag, ResolveInfo* pSym, Relocation::Type pType) argument 799 setupRel32DynEntry(FragmentRef& pFragRef, ResolveInfo* pSym) argument 805 setupTLSDynEntry(Fragment& pFrag, ResolveInfo* pSym, Relocation::Type pType) argument [all...] |
H A D | MipsLDBackend.h | 38 bool needsLA25Stub(Relocation::Type pType, const mcld::ResolveInfo* pSym); 86 bool hasEntryInStrTab(const LDSymbol& pSym) const;
|
H A D | MipsLDBackend.cpp | 75 const mcld::ResolveInfo* pSym) { 82 if (pSym->isLocal()) 337 bool MipsGNULDBackend::hasEntryInStrTab(const LDSymbol& pSym) const { 338 return ResolveInfo::Section != pSym.type() || m_pGpDispSymbol == &pSym; 74 needsLA25Stub(Relocation::Type pType, const mcld::ResolveInfo* pSym) argument
|
/frameworks/compile/mclinker/lib/Core/ |
H A D | Module.cpp | 56 void Module::CreateAliasList(const ResolveInfo& pSym) { argument 60 result->push_back(&pSym); 69 Module::AliasList* Module::getAliasList(const ResolveInfo& pSym) { argument 75 if (strcmp((*alias_it)->name(), pSym.name()) == 0) {
|
H A D | IRBuilder.cpp | 591 LDSymbol& pSym, 598 relocation->setSymInfo(pSym.resolveInfo()); 589 AddRelocation(LDSection& pSection, Relocation::Type pType, LDSymbol& pSym, uint32_t pOffset, Relocation::Address pAddend) argument
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
H A D | AArch64RelocationHelpers.h | 85 ResolveInfo& pSym, 87 PLTEntryBase* plt_entry = pParent.getSymPLTMap().lookUp(pSym); 117 static inline Relocation& helper_DynRela_init(ResolveInfo* pSym, argument 126 if (pType == llvm::ELF::R_AARCH64_RELATIVE || pSym == NULL) 129 rel_entry.setSymInfo(pSym); 136 static inline bool helper_use_relative_reloc(const ResolveInfo& pSym, argument 139 if (pSym.isDyn() || pSym.isUndef() || 140 pParent.getTarget().isSymbolPreemptible(pSym)) 146 ResolveInfo& pSym, 84 helper_get_PLT_address( ResolveInfo& pSym, AArch64Relocator& pParent) argument 145 helper_get_GOT_address( ResolveInfo& pSym, AArch64Relocator& pParent) argument [all...] |
H A D | AArch64Relocator.h | 123 /// addCopyReloc - add a copy relocation into .rel.dyn for pSym 124 /// @param pSym - A resolved copy symbol that defined in BSS section 125 void addCopyReloc(ResolveInfo& pSym); 128 /// and force define the copy of pSym to BSS section 131 const ResolveInfo& pSym);
|
H A D | AArch64Relocator.cpp | 93 void AArch64Relocator::addCopyReloc(ResolveInfo& pSym) { argument 96 assert(pSym.outSymbol()->hasFragRef()); 97 rel_entry.targetRef().assign(*pSym.outSymbol()->fragRef()); 98 rel_entry.setSymInfo(&pSym); 107 const ResolveInfo& pSym) { 111 if (ResolveInfo::ThreadLocal == pSym.type()) 128 Fragment* frag = new FillFragment(0x0, 1, pSym.size()); 133 ResolveInfo::Binding binding = (ResolveInfo::Binding)pSym.binding(); 139 pSym.name(), 140 (ResolveInfo::Type)pSym 106 defineSymbolforCopyReloc(IRBuilder& pBuilder, const ResolveInfo& pSym) argument [all...] |
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMRelocator.h | 116 /// addCopyReloc - add a copy relocation into .rel.dyn for pSym 117 /// @param pSym - A resolved copy symbol that defined in BSS section 118 void addCopyReloc(ResolveInfo& pSym); 121 /// and force define the copy of pSym to BSS section 124 const ResolveInfo& pSym);
|
H A D | ARMRelocator.cpp | 60 static bool helper_use_relative_reloc(const ResolveInfo& pSym, argument 63 if (pSym.isDyn() || pSym.isUndef() || 64 pFactory.getTarget().isSymbolPreemptible(pSym)) 74 static Relocator::Address helper_get_GOT_address(ResolveInfo& pSym, argument 76 ARMGOTEntry* got_entry = pParent.getSymGOTMap().lookUp(pSym); 118 static Relocator::Address helper_get_PLT_address(ResolveInfo& pSym, argument 120 ARMPLT1* plt_entry = pParent.getSymPLTMap().lookUp(pSym); 324 void ARMRelocator::addCopyReloc(ResolveInfo& pSym) { argument 327 assert(pSym 337 defineSymbolforCopyReloc(IRBuilder& pBuilder, const ResolveInfo& pSym) argument [all...] |
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
H A D | HexagonRelocator.cpp | 27 static Relocation& helper_DynRel_init(ResolveInfo* pSym, argument 36 if (pType == llvm::ELF::R_HEX_RELATIVE || pSym == NULL) 39 rela_entry.setSymInfo(pSym); 46 static bool helper_use_relative_reloc(const ResolveInfo& pSym, argument 49 if (pSym.isDyn() || pSym.isUndef() || 50 pFactory.getTarget().isSymbolPreemptible(pSym)) 84 static Relocator::Address helper_get_GOT_address(ResolveInfo& pSym, argument 86 HexagonGOTEntry* got_entry = pParent.getSymGOTMap().lookUp(pSym); 114 static Relocator::Address helper_get_PLT_address(ResolveInfo& pSym, argument 226 addCopyReloc(ResolveInfo& pSym, HexagonLDBackend& pTarget) argument 406 defineSymbolforCopyReloc( IRBuilder& pBuilder, const ResolveInfo& pSym, HexagonLDBackend& pTarget) argument [all...] |
H A D | HexagonRelocator.h | 117 /// addCopyReloc - add a copy relocation into .rela.dyn for pSym 118 /// @param pSym - A resolved copy symbol that defined in BSS section 119 void addCopyReloc(ResolveInfo& pSym, HexagonLDBackend& pTarget); 122 /// and force define the copy of pSym to BSS section 125 const ResolveInfo& pSym,
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | LDContext.h | 69 void addSymbol(LDSymbol* pSym) { m_SymTab.push_back(pSym); } argument
|
/frameworks/compile/mclinker/lib/Fragment/ |
H A D | Relocation.cpp | 134 void Relocation::setSymInfo(ResolveInfo* pSym) { argument 135 m_pSymInfo = pSym;
|
/frameworks/compile/mclinker/lib/Target/X86/ |
H A D | X86Relocator.cpp | 31 static Relocation& helper_DynRel_init(ResolveInfo* pSym, argument 40 if (pType == llvm::ELF::R_386_RELATIVE || pSym == NULL) 43 rel_entry.setSymInfo(pSym); 50 static bool helper_use_relative_reloc(const ResolveInfo& pSym, argument 53 if (pSym.isDyn() || pSym.isUndef() || 54 pFactory.getTarget().isSymbolPreemptible(pSym)) 123 static Relocator::Address helper_get_PLT_address(ResolveInfo& pSym, argument 125 PLTEntryBase* plt_entry = pParent.getSymPLTMap().lookUp(pSym); 189 void X86Relocator::addCopyReloc(ResolveInfo& pSym, X86GNULDBacken argument 202 defineSymbolforCopyReloc(IRBuilder& pBuilder, const ResolveInfo& pSym, X86GNULDBackend& pTarget) argument 1107 helper_DynRel_init(ResolveInfo* pSym, Fragment& pFrag, uint64_t pOffset, Relocator::Type pType, X86_64Relocator& pParent) argument 1126 helper_use_relative_reloc(const ResolveInfo& pSym, const X86_64Relocator& pFactory) argument 1177 helper_get_PLT_address(ResolveInfo& pSym, X86_64Relocator& pParent) argument [all...] |
H A D | X86Relocator.h | 87 /// addCopyReloc - add a copy relocation into .rel.dyn for pSym 88 /// @param pSym - A resolved copy symbol that defined in BSS section 89 void addCopyReloc(ResolveInfo& pSym, X86GNULDBackend& pTarget); 92 /// and force define the copy of pSym to BSS section 95 const ResolveInfo& pSym,
|
/frameworks/compile/mclinker/include/mcld/Target/ |
H A D | GNULDBackend.h | 144 virtual bool hasEntryInStrTab(const LDSymbol& pSym) const; 252 bool symbolNeedsPLT(const ResolveInfo& pSym) const; 256 const ResolveInfo& pSym) const; 259 bool symbolNeedsDynRel(const ResolveInfo& pSym, 265 bool isSymbolPreemptible(const ResolveInfo& pSym) const; 269 bool symbolFinalValueIsKnown(const ResolveInfo& pSym) const;
|
H A D | TargetLDBackend.h | 186 virtual bool isSymbolPreemptible(const ResolveInfo& pSym) const = 0;
|
/frameworks/compile/mclinker/include/mcld/ |
H A D | Module.h | 156 // create an alias list for pSym, the aliases of pSym 158 void CreateAliasList(const ResolveInfo& pSym); 162 AliasList* getAliasList(const ResolveInfo& pSym);
|
H A D | IRBuilder.h | 448 /// @param [in] pSym The symbol should be the symbol in the input file. 453 LDSymbol& pSym,
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
H A D | Relocation.h | 106 void setSymInfo(ResolveInfo* pSym);
|
/frameworks/compile/mclinker/lib/Target/ |
H A D | GNULDBackend.cpp | 869 void GNULDBackend::emitSymbol32(llvm::ELF::Elf32_Sym& pSym, argument 877 pSym.st_name = pStrtabsize; 880 pSym.st_name = 0; 882 pSym.st_value = pSymbol.value(); 883 pSym.st_size = getSymbolSize(pSymbol); 884 pSym.st_info = getSymbolInfo(pSymbol); 885 pSym.st_other = pSymbol.visibility(); 886 pSym.st_shndx = getSymbolShndx(pSymbol); 890 void GNULDBackend::emitSymbol64(llvm::ELF::Elf64_Sym& pSym, argument 898 pSym 2726 symbolNeedsDynRel(const ResolveInfo& pSym, bool pSymHasPLT, bool isAbsReloc) const argument [all...] |
/frameworks/compile/mclinker/lib/LD/ |
H A D | IdenticalCodeFolding.cpp | 38 static bool isSymCtorOrDtor(const ResolveInfo& pSym) { argument 41 llvm::StringRef name(pSym.name(), pSym.nameSize()); 45 return isCtorOrDtor(pSym.name(), pSym.nameSize());
|