/frameworks/compile/mclinker/lib/Target/ |
D | GNULDBackend.cpp | 719 uint64_t GNULDBackend::getSymbolSize(const LDSymbol& pSymbol) const in getSymbolSize() 723 if (pSymbol.isDyn() || pSymbol.desc() == ResolveInfo::Undefined) in getSymbolSize() 725 return pSymbol.resolveInfo()->size(); in getSymbolSize() 729 uint64_t GNULDBackend::getSymbolInfo(const LDSymbol& pSymbol) const in getSymbolInfo() 733 if (pSymbol.resolveInfo()->isLocal()) in getSymbolInfo() 735 else if (pSymbol.resolveInfo()->isGlobal()) in getSymbolInfo() 737 else if (pSymbol.resolveInfo()->isWeak()) in getSymbolInfo() 739 else if (pSymbol.resolveInfo()->isAbsolute()) { in getSymbolInfo() 744 if (pSymbol.visibility() == llvm::ELF::STV_INTERNAL || in getSymbolInfo() 745 pSymbol.visibility() == llvm::ELF::STV_HIDDEN) in getSymbolInfo() [all …]
|
D | OutputRelocSection.cpp | 42 Relocation* OutputRelocSection::getEntry(const ResolveInfo& pSymbol, in getEntry() argument 67 Relocation *&Entry = m_SymRelMap[&pSymbol]; in getEntry()
|
/frameworks/compile/mclinker/lib/MC/ |
D | SymbolCategory.cpp | 63 SymbolCategory& SymbolCategory::add(LDSymbol& pSymbol) in add() argument 65 m_OutputSymbols.push_back(&pSymbol); in add() 67 assert(NULL != pSymbol.resolveInfo()); in add() 68 Category::Type target = Category::categorize(*pSymbol.resolveInfo()); in add() 91 SymbolCategory& SymbolCategory::forceLocal(LDSymbol& pSymbol) in forceLocal() argument 93 m_OutputSymbols.insert(localEnd(), &pSymbol); in forceLocal() 105 SymbolCategory& SymbolCategory::arrange(LDSymbol& pSymbol, const ResolveInfo& pSourceInfo) in arrange() argument 107 assert(NULL != pSymbol.resolveInfo()); in arrange() 109 Category::Type target = Category::categorize(*pSymbol.resolveInfo()); in arrange() 132 if (m_OutputSymbols[pos] == &pSymbol) in arrange()
|
/frameworks/compile/mclinker/include/mcld/Target/ |
D | GNULDBackend.h | 225 size_t getSymbolIdx(LDSymbol* pSymbol) const; 260 uint64_t getSymbolSize(const LDSymbol& pSymbol) const; 262 uint64_t getSymbolInfo(const LDSymbol& pSymbol) const; 264 uint64_t getSymbolValue(const LDSymbol& pSymbol) const; 266 uint64_t getSymbolShndx(const LDSymbol& pSymbol, const Layout& pLayout) const; 309 static bool isDynamicSymbol(const LDSymbol& pSymbol, const Output& pOutput);
|
D | OutputRelocSection.h | 44 Relocation* getEntry(const ResolveInfo& pSymbol,
|
D | PLT.h | 76 virtual PLTEntry* getPLTEntry(const ResolveInfo& pSymbol, bool& pExist) = 0;
|
D | GOT.h | 95 virtual GOTEntry* getEntry(const ResolveInfo& pSymbol, bool& pExist) = 0;
|
D | TargetLDBackend.h | 130 virtual bool finalizeSymbol(LDSymbol& pSymbol) const = 0;
|
/frameworks/compile/mclinker/lib/Target/X86/ |
D | X86GOT.h | 33 const mcld::ResolveInfo& pSymbol,bool& pExist); 36 const mcld::ResolveInfo& pSymbol,bool& pExist); 52 GOTEntry* getEntry(const ResolveInfo& pSymbol, bool& pExist);
|
D | X86PLT.cpp | 112 PLTEntry* X86PLT::getPLTEntry(const ResolveInfo& pSymbol, bool& pExist) in getPLTEntry() argument 114 X86PLT1 *&PLTEntry = m_PLTEntryMap[&pSymbol]; in getPLTEntry() 119 GOTEntry *&GOTPLTEntry = m_GOT.m_GOTPLTMap[&pSymbol]; in getPLTEntry() 137 GOTEntry* X86PLT::getGOTPLTEntry(const ResolveInfo& pSymbol, bool& pExist) in getGOTPLTEntry() argument 139 GOTEntry *&GOTPLTEntry = m_GOT.m_GOTPLTMap[&pSymbol]; in getGOTPLTEntry() 144 X86PLT1 *&PLTEntry = m_PLTEntryMap[&pSymbol]; in getGOTPLTEntry()
|
D | X86PLT.h | 54 PLTEntry* getPLTEntry(const ResolveInfo& pSymbol, bool& pExist) ; 56 GOTEntry* getGOTPLTEntry(const ResolveInfo& pSymbol, bool& pExist);
|
D | X86GOTPLT.cpp | 103 GOTEntry*& X86GOTPLT::lookupGOTPLTMap(const ResolveInfo& pSymbol) in lookupGOTPLTMap() argument 105 return m_GOTPLTMap[&pSymbol]; in lookupGOTPLTMap()
|
D | X86GOTPLT.h | 58 GOTEntry*& lookupGOTPLTMap(const ResolveInfo& pSymbol);
|
D | X86LDBackend.h | 182 bool finalizeSymbol(LDSymbol& pSymbol) const;
|
D | X86LDBackend.cpp | 609 bool X86GNULDBackend::finalizeSymbol(LDSymbol& pSymbol) const in finalizeSymbol()
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMPLT.cpp | 76 PLTEntry* ARMPLT::getPLTEntry(const ResolveInfo& pSymbol, bool& pExist) in getPLTEntry() argument 78 ARMPLT1 *&PLTEntry = m_PLTEntryMap[&pSymbol]; in getPLTEntry() 83 GOTEntry *&GOTPLTEntry = m_GOT.lookupGOTPLTMap(pSymbol); in getPLTEntry() 104 GOTEntry* ARMPLT::getGOTPLTEntry(const ResolveInfo& pSymbol, bool& pExist) in getGOTPLTEntry() argument 106 GOTEntry *&GOTPLTEntry = m_GOT.lookupGOTPLTMap(pSymbol); in getGOTPLTEntry() 111 ARMPLT1 *&PLTEntry = m_PLTEntryMap[&pSymbol]; in getGOTPLTEntry()
|
D | ARMGOT.h | 60 GOTEntry* getEntry(const ResolveInfo& pSymbol, bool& pExist); 68 GOTEntry*& lookupGOTPLTMap(const ResolveInfo& pSymbol);
|
D | ARMPLT.h | 53 PLTEntry* getPLTEntry(const ResolveInfo& pSymbol, bool& pExist) ; 55 GOTEntry* getGOTPLTEntry(const ResolveInfo& pSymbol, bool& pExist);
|
D | ARMGOT.cpp | 126 GOTEntry*& ARMGOT::lookupGOTPLTMap(const ResolveInfo& pSymbol) in lookupGOTPLTMap() argument 128 return m_GOTPLTMap[&pSymbol]; in lookupGOTPLTMap()
|
D | ARMLDBackend.h | 193 bool finalizeSymbol(LDSymbol& pSymbol) const;
|
D | ARMLDBackend.cpp | 787 bool ARMGNULDBackend::finalizeSymbol(LDSymbol& pSymbol) const in finalizeSymbol()
|
/frameworks/compile/mclinker/include/mcld/MC/ |
D | SymbolCategory.h | 40 SymbolCategory& add(LDSymbol& pSymbol); 42 SymbolCategory& forceLocal(LDSymbol& pSymbol); 44 SymbolCategory& arrange(LDSymbol& pSymbol, const ResolveInfo& pSourceInfo);
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
D | MipsLDBackend.cpp | 238 bool MipsGNULDBackend::isGOTSymbol(const LDSymbol& pSymbol) const in isGOTSymbol() 241 m_LocalGOTSyms.end(), &pSymbol) != m_LocalGOTSyms.end() || in isGOTSymbol() 243 m_GlobalGOTSyms.end(), &pSymbol) != m_GlobalGOTSyms.end(); in isGOTSymbol() 249 LDSymbol& pSymbol, in emitDynamicSymbol() argument 258 entry = m_pSymIndexMap->insert(&pSymbol, sym_exist); in emitDynamicSymbol() 264 sym32.st_value = pSymbol.value(); in emitDynamicSymbol() 265 sym32.st_size = getSymbolSize(pSymbol); in emitDynamicSymbol() 266 sym32.st_info = getSymbolInfo(pSymbol); in emitDynamicSymbol() 267 sym32.st_other = pSymbol.visibility(); in emitDynamicSymbol() 268 sym32.st_shndx = getSymbolShndx(pSymbol, pLayout); in emitDynamicSymbol() [all …]
|
D | MipsLDBackend.h | 136 bool finalizeSymbol(LDSymbol& pSymbol) const; 186 bool isGOTSymbol(const LDSymbol& pSymbol) const; 190 LDSymbol& pSymbol,
|