Lines Matching defs:pInput

45 bool ELFObjectReader::isMyFormat(Input &pInput) const
47 assert(pInput.hasMemArea());
52 MemoryRegion* region = pInput.memArea()->request(0, hdr_size);
64 pInput.memArea()->release(region);
69 bool ELFObjectReader::readObject(Input& pInput)
71 assert(pInput.hasMemArea());
74 MemoryRegion* region = pInput.memArea()->request(0, hdr_size);
76 bool result = m_pELFReader->readSectionHeaders(pInput, m_Linker, ELF_hdr);
77 pInput.memArea()->release(region);
82 bool ELFObjectReader::readSections(Input& pInput)
85 LDContext::sect_iterator section, sectEnd = pInput.context()->sectEnd();
86 for (section = pInput.context()->sectBegin(); section != sectEnd; ++section) {
96 m_pELFReader->readSymbol(pInput,
108 pInput.memArea()->request((*section)->offset(),
116 pInput.context()->getSectionTable()[value[index]] = NULL;
118 pInput.memArea()->release(region);
126 if (NULL == pInput.context()->getSectionTable()[link_index]) {
143 if (!m_pELFReader->readRegularSection(pInput, m_Linker, **section))
152 if (!m_pELFReader->readTargetSection(pInput, m_Linker, **section))
190 bool ELFObjectReader::readSymbols(Input& pInput)
192 assert(pInput.hasMemArea());
194 LDSection* symtab_shdr = pInput.context()->getSection(".symtab");
199 MemoryRegion* symtab_region = pInput.memArea()->request(symtab_shdr->offset(),
201 MemoryRegion* strtab_region = pInput.memArea()->request(strtab_shdr->offset(),
204 bool result = m_pELFReader->readSymbols(pInput,
208 pInput.memArea()->release(symtab_region);
209 pInput.memArea()->release(strtab_region);
213 bool ELFObjectReader::readRelocations(Input& pInput)
215 assert(pInput.hasMemArea());
217 MemoryArea* mem = pInput.memArea();
218 LDContext::sect_iterator section, sectEnd = pInput.context()->sectEnd();
219 for (section = pInput.context()->sectBegin(); section != sectEnd; ++section) {
227 bool result = m_pELFReader->readRela(pInput, m_Linker, **section, *region);
235 bool result = m_pELFReader->readRel(pInput, m_Linker, **section, *region);