Home
last modified time | relevance | path

Searched refs:pSymbol (Results 1 – 15 of 15) sorted by relevance

/frameworks/compile/mclinker/lib/MC/
DSymbolCategory.cpp67 SymbolCategory& SymbolCategory::add(LDSymbol& pSymbol, Category::Type pTarget) { in add() argument
69 m_OutputSymbols.push_back(&pSymbol); in add()
89 SymbolCategory& SymbolCategory::add(LDSymbol& pSymbol) { in add() argument
90 assert(pSymbol.resolveInfo() != NULL); in add()
91 return add(pSymbol, Category::categorize(*pSymbol.resolveInfo())); in add()
94 SymbolCategory& SymbolCategory::forceLocal(LDSymbol& pSymbol) { in forceLocal() argument
95 return add(pSymbol, Category::Local); in forceLocal()
98 SymbolCategory& SymbolCategory::arrange(LDSymbol& pSymbol, in arrange() argument
122 if (m_OutputSymbols[pos] == &pSymbol) in arrange()
135 if (m_OutputSymbols[pos] == &pSymbol) { in arrange()
[all …]
/frameworks/compile/mclinker/include/mcld/MC/
DSymbolCategory.h35 SymbolCategory& add(LDSymbol& pSymbol);
37 SymbolCategory& forceLocal(LDSymbol& pSymbol);
39 SymbolCategory& arrange(LDSymbol& pSymbol, const ResolveInfo& pSourceInfo);
43 SymbolCategory& changeToDynamic(LDSymbol& pSymbol);
153 SymbolCategory& add(LDSymbol& pSymbol, Category::Type pTarget);
155 SymbolCategory& arrange(LDSymbol& pSymbol,
/frameworks/compile/mclinker/lib/LD/
DLDSymbol.cpp57 void LDSymbol::Destroy(LDSymbol*& pSymbol) { in Destroy() argument
58 pSymbol->~LDSymbol(); in Destroy()
59 g_LDSymbolFactory->deallocate(pSymbol); in Destroy()
60 pSymbol = NULL; in Destroy()
/frameworks/compile/mclinker/include/mcld/Target/
DGNULDBackend.h95 virtual bool finalizeTLSSymbol(LDSymbol& pSymbol);
185 size_t getSymbolIdx(const LDSymbol* pSymbol) const;
272 bool isDynamicSymbol(const LDSymbol& pSymbol) const;
350 uint64_t getSymbolSize(const LDSymbol& pSymbol) const;
352 uint64_t getSymbolInfo(const LDSymbol& pSymbol) const;
354 uint64_t getSymbolValue(const LDSymbol& pSymbol) const;
356 uint64_t getSymbolShndx(const LDSymbol& pSymbol) const;
359 virtual bool isTemporary(const LDSymbol& pSymbol) const;
369 LDSymbol& pSymbol,
376 LDSymbol& pSymbol,
DOutputRelocSection.h39 bool addSymbolToDynSym(LDSymbol& pSymbol);
DTargetLDBackend.h112 virtual bool finalizeTLSSymbol(LDSymbol& pSymbol) = 0;
/frameworks/compile/mclinker/lib/Target/
DGNULDBackend.cpp647 bool GNULDBackend::finalizeTLSSymbol(LDSymbol& pSymbol) { in finalizeTLSSymbol() argument
649 if (!pSymbol.hasFragRef()) in finalizeTLSSymbol()
656 uint64_t value = pSymbol.fragRef()->getOutputOffset(); in finalizeTLSSymbol()
657 uint64_t addr = pSymbol.fragRef()->frag()->getParent()->getSection().addr(); in finalizeTLSSymbol()
658 pSymbol.setValue(value + addr - (*tls_seg)->vaddr()); in finalizeTLSSymbol()
870 LDSymbol& pSymbol, in emitSymbol32() argument
876 if (hasEntryInStrTab(pSymbol)) { in emitSymbol32()
878 ::memcpy((pStrtab + pStrtabsize), pSymbol.name(), pSymbol.nameSize()); in emitSymbol32()
882 pSym.st_value = pSymbol.value(); in emitSymbol32()
883 pSym.st_size = getSymbolSize(pSymbol); in emitSymbol32()
[all …]
DOutputRelocSection.cpp74 bool OutputRelocSection::addSymbolToDynSym(LDSymbol& pSymbol) { in addSymbolToDynSym() argument
75 m_Module.getSymbolTable().changeToDynamic(pSymbol); in addSymbolToDynSym()
/frameworks/compile/mclinker/include/mcld/LD/
DBranchIsland.h108 Key(const Stub* pPrototype, const LDSymbol* pSymbol, Stub::SWord pAddend) in Key() argument
109 : m_pPrototype(pPrototype), m_pSymbol(pSymbol), m_Addend(pAddend) {} in Key()
DLDSymbol.h46 static void Destroy(LDSymbol*& pSymbol);
/frameworks/compile/mclinker/include/mcld/Script/
DScriptFile.h85 void addEntryPoint(const std::string& pSymbol);
121 void addAssignment(const std::string& pSymbol,
DAssignment.h36 Assignment(Level pLevel, Type pType, SymOperand& pSymbol, RpnExpr& pRpnExpr);
/frameworks/compile/mclinker/lib/Script/
DAssignment.cpp32 SymOperand& pSymbol, in Assignment() argument
37 m_Symbol(pSymbol), in Assignment()
DScriptFile.cpp85 void ScriptFile::addEntryPoint(const std::string& pSymbol) { in addEntryPoint() argument
86 EntryCmd* entry = new EntryCmd(pSymbol); in addEntryPoint()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsLDBackend.h148 LDSymbol& pSymbol,