/frameworks/compile/mclinker/lib/Target/Mips/ |
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, 185 void addCopyReloc(ResolveInfo& pSym); 191 const ResolveInfo& pSym); 206 void setupRel32DynEntry(FragmentRef& pFragRef, ResolveInfo* pSym); 207 void setupTLSDynEntry(Fragment& pFrag, ResolveInfo* pSym, 221 void setupRel32DynEntry(FragmentRef& pFragRef, ResolveInfo* pSym); 222 void setupTLSDynEntry(Fragment& pFrag, ResolveInfo* pSym,
|
D | MipsRelocator.cpp | 110 static Relocator::Address helper_get_PLT_address(ResolveInfo& pSym, in helper_get_PLT_address() argument 112 PLTEntryBase* plt_entry = pParent.getSymPLTMap().lookUp(pSym); in helper_get_PLT_address() 476 void MipsRelocator::addCopyReloc(ResolveInfo& pSym) { in addCopyReloc() argument 479 assert(pSym.outSymbol()->hasFragRef()); in addCopyReloc() 480 relEntry.targetRef().assign(*pSym.outSymbol()->fragRef()); in addCopyReloc() 481 relEntry.setSymInfo(&pSym); in addCopyReloc() 485 const ResolveInfo& pSym) { in defineSymbolforCopyReloc() argument 488 LDSection* bssSectHdr = ResolveInfo::ThreadLocal == pSym.type() in defineSymbolforCopyReloc() 502 Fragment* frag = new FillFragment(0x0, 1, pSym.size()); in defineSymbolforCopyReloc() 507 ResolveInfo::Binding binding = (ResolveInfo::Binding)pSym.binding(); in defineSymbolforCopyReloc() [all …]
|
D | MipsLDBackend.h | 38 bool needsLA25Stub(Relocation::Type pType, const mcld::ResolveInfo* pSym); 86 bool hasEntryInStrTab(const LDSymbol& pSym) const;
|
D | MipsLDBackend.cpp | 75 const mcld::ResolveInfo* pSym) { in needsLA25Stub() argument 82 if (pSym->isLocal()) in needsLA25Stub() 337 bool MipsGNULDBackend::hasEntryInStrTab(const LDSymbol& pSym) const { in hasEntryInStrTab() 338 return ResolveInfo::Section != pSym.type() || m_pGpDispSymbol == &pSym; in hasEntryInStrTab()
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
D | AArch64RelocationHelpers.h | 85 ResolveInfo& pSym, in helper_get_PLT_address() argument 87 PLTEntryBase* plt_entry = pParent.getSymPLTMap().lookUp(pSym); in helper_get_PLT_address() 117 static inline Relocation& helper_DynRela_init(ResolveInfo* pSym, in helper_DynRela_init() argument 126 if (pType == llvm::ELF::R_AARCH64_RELATIVE || pSym == NULL) in helper_DynRela_init() 129 rel_entry.setSymInfo(pSym); in helper_DynRela_init() 136 static inline bool helper_use_relative_reloc(const ResolveInfo& pSym, in helper_use_relative_reloc() argument 139 if (pSym.isDyn() || pSym.isUndef() || in helper_use_relative_reloc() 140 pParent.getTarget().isSymbolPreemptible(pSym)) in helper_use_relative_reloc() 146 ResolveInfo& pSym, in helper_get_GOT_address() argument 148 AArch64GOTEntry* got_entry = pParent.getSymGOTMap().lookUp(pSym); in helper_get_GOT_address()
|
D | AArch64Relocator.cpp | 93 void AArch64Relocator::addCopyReloc(ResolveInfo& pSym) { in addCopyReloc() argument 96 assert(pSym.outSymbol()->hasFragRef()); in addCopyReloc() 97 rel_entry.targetRef().assign(*pSym.outSymbol()->fragRef()); in addCopyReloc() 98 rel_entry.setSymInfo(&pSym); in addCopyReloc() 107 const ResolveInfo& pSym) { in defineSymbolforCopyReloc() argument 111 if (ResolveInfo::ThreadLocal == pSym.type()) in defineSymbolforCopyReloc() 128 Fragment* frag = new FillFragment(0x0, 1, pSym.size()); in defineSymbolforCopyReloc() 133 ResolveInfo::Binding binding = (ResolveInfo::Binding)pSym.binding(); in defineSymbolforCopyReloc() 139 pSym.name(), in defineSymbolforCopyReloc() 140 (ResolveInfo::Type)pSym.type(), in defineSymbolforCopyReloc() [all …]
|
D | AArch64Relocator.h | 125 void addCopyReloc(ResolveInfo& pSym); 131 const ResolveInfo& pSym);
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
D | HexagonRelocator.cpp | 27 static Relocation& helper_DynRel_init(ResolveInfo* pSym, in helper_DynRel_init() argument 36 if (pType == llvm::ELF::R_HEX_RELATIVE || pSym == NULL) in helper_DynRel_init() 39 rela_entry.setSymInfo(pSym); in helper_DynRel_init() 46 static bool helper_use_relative_reloc(const ResolveInfo& pSym, in helper_use_relative_reloc() argument 49 if (pSym.isDyn() || pSym.isUndef() || in helper_use_relative_reloc() 50 pFactory.getTarget().isSymbolPreemptible(pSym)) in helper_use_relative_reloc() 84 static Relocator::Address helper_get_GOT_address(ResolveInfo& pSym, in helper_get_GOT_address() argument 86 HexagonGOTEntry* got_entry = pParent.getSymGOTMap().lookUp(pSym); in helper_get_GOT_address() 114 static Relocator::Address helper_get_PLT_address(ResolveInfo& pSym, in helper_get_PLT_address() argument 116 PLTEntryBase* plt_entry = pParent.getSymPLTMap().lookUp(pSym); in helper_get_PLT_address() [all …]
|
D | HexagonRelocator.h | 119 void addCopyReloc(ResolveInfo& pSym, HexagonLDBackend& pTarget); 125 const ResolveInfo& pSym,
|
/frameworks/compile/mclinker/lib/Core/ |
D | Module.cpp | 56 void Module::CreateAliasList(const ResolveInfo& pSym) { in CreateAliasList() argument 60 result->push_back(&pSym); in CreateAliasList() 69 Module::AliasList* Module::getAliasList(const ResolveInfo& pSym) { in getAliasList() argument 75 if (strcmp((*alias_it)->name(), pSym.name()) == 0) { in getAliasList()
|
D | IRBuilder.cpp | 592 LDSymbol& pSym, in AddRelocation() argument 599 relocation->setSymInfo(pSym.resolveInfo()); in AddRelocation()
|
/frameworks/compile/mclinker/lib/Target/X86/ |
D | X86Relocator.cpp | 31 static Relocation& helper_DynRel_init(ResolveInfo* pSym, in helper_DynRel_init() argument 40 if (pType == llvm::ELF::R_386_RELATIVE || pSym == NULL) in helper_DynRel_init() 43 rel_entry.setSymInfo(pSym); in helper_DynRel_init() 50 static bool helper_use_relative_reloc(const ResolveInfo& pSym, in helper_use_relative_reloc() argument 53 if (pSym.isDyn() || pSym.isUndef() || in helper_use_relative_reloc() 54 pFactory.getTarget().isSymbolPreemptible(pSym)) in helper_use_relative_reloc() 123 static Relocator::Address helper_get_PLT_address(ResolveInfo& pSym, in helper_get_PLT_address() argument 125 PLTEntryBase* plt_entry = pParent.getSymPLTMap().lookUp(pSym); in helper_get_PLT_address() 189 void X86Relocator::addCopyReloc(ResolveInfo& pSym, X86GNULDBackend& pTarget) { in addCopyReloc() argument 192 assert(pSym.outSymbol()->hasFragRef()); in addCopyReloc() [all …]
|
D | X86Relocator.h | 89 void addCopyReloc(ResolveInfo& pSym, X86GNULDBackend& pTarget); 95 const ResolveInfo& pSym,
|
/frameworks/compile/mclinker/lib/Target/ |
D | GNULDBackend.cpp | 869 void GNULDBackend::emitSymbol32(llvm::ELF::Elf32_Sym& pSym, in emitSymbol32() argument 877 pSym.st_name = pStrtabsize; in emitSymbol32() 880 pSym.st_name = 0; in emitSymbol32() 882 pSym.st_value = pSymbol.value(); in emitSymbol32() 883 pSym.st_size = getSymbolSize(pSymbol); in emitSymbol32() 884 pSym.st_info = getSymbolInfo(pSymbol); in emitSymbol32() 885 pSym.st_other = pSymbol.visibility(); in emitSymbol32() 886 pSym.st_shndx = getSymbolShndx(pSymbol); in emitSymbol32() 890 void GNULDBackend::emitSymbol64(llvm::ELF::Elf64_Sym& pSym, in emitSymbol64() argument 898 pSym.st_name = pStrtabsize; in emitSymbol64() [all …]
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMRelocator.cpp | 60 static bool helper_use_relative_reloc(const ResolveInfo& pSym, in helper_use_relative_reloc() argument 63 if (pSym.isDyn() || pSym.isUndef() || in helper_use_relative_reloc() 64 pFactory.getTarget().isSymbolPreemptible(pSym)) in helper_use_relative_reloc() 74 static Relocator::Address helper_get_GOT_address(ResolveInfo& pSym, in helper_get_GOT_address() argument 76 ARMGOTEntry* got_entry = pParent.getSymGOTMap().lookUp(pSym); in helper_get_GOT_address() 118 static Relocator::Address helper_get_PLT_address(ResolveInfo& pSym, in helper_get_PLT_address() argument 120 ARMPLT1* plt_entry = pParent.getSymPLTMap().lookUp(pSym); in helper_get_PLT_address() 324 void ARMRelocator::addCopyReloc(ResolveInfo& pSym) { in addCopyReloc() argument 327 assert(pSym.outSymbol()->hasFragRef()); in addCopyReloc() 328 rel_entry.targetRef().assign(*pSym.outSymbol()->fragRef()); in addCopyReloc() [all …]
|
D | ARMRelocator.h | 118 void addCopyReloc(ResolveInfo& pSym); 124 const ResolveInfo& pSym);
|
/frameworks/compile/mclinker/include/mcld/Target/ |
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;
|
D | TargetLDBackend.h | 186 virtual bool isSymbolPreemptible(const ResolveInfo& pSym) const = 0;
|
/frameworks/compile/mclinker/lib/LD/ |
D | IdenticalCodeFolding.cpp | 38 static bool isSymCtorOrDtor(const ResolveInfo& pSym) { in isSymCtorOrDtor() argument 41 llvm::StringRef name(pSym.name(), pSym.nameSize()); in isSymCtorOrDtor() 45 return isCtorOrDtor(pSym.name(), pSym.nameSize()); in isSymCtorOrDtor()
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | LDContext.h | 69 void addSymbol(LDSymbol* pSym) { m_SymTab.push_back(pSym); } in addSymbol() argument
|
/frameworks/compile/mclinker/lib/Fragment/ |
D | Relocation.cpp | 134 void Relocation::setSymInfo(ResolveInfo* pSym) { in setSymInfo() argument 135 m_pSymInfo = pSym; in setSymInfo()
|
/frameworks/compile/mclinker/include/mcld/ |
D | Module.h | 158 void CreateAliasList(const ResolveInfo& pSym); 162 AliasList* getAliasList(const ResolveInfo& pSym);
|
D | IRBuilder.h | 452 LDSymbol& pSym,
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
D | Relocation.h | 106 void setSymInfo(ResolveInfo* pSym);
|