Home | History | Annotate | Download | only in LD

Lines Matching full:pinput

47 bool ELFDynObjReader::isMyFormat(Input &pInput) const
49 assert(pInput.hasMemArea());
54 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(),
67 pInput.memArea()->release(region);
72 bool ELFDynObjReader::readHeader(Input& pInput)
74 assert(pInput.hasMemArea());
77 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(),
81 bool shdr_result = m_pELFReader->readSectionHeaders(pInput, ELF_hdr);
82 pInput.memArea()->release(region);
85 bool dyn_result = m_pELFReader->readDynamic(pInput);
91 bool ELFDynObjReader::readSymbols(Input& pInput)
93 assert(pInput.hasMemArea());
95 LDSection* symtab_shdr = pInput.context()->getSection(".dynsym");
97 note(diag::note_has_no_symtab) << pInput.name()
98 << pInput.path()
105 fatal(diag::fatal_cannot_read_strtab) << pInput.name()
106 << pInput.path()
111 MemoryRegion* symtab_region = pInput.memArea()->request(
112 pInput.fileOffset() + symtab_shdr->offset(), symtab_shdr->size());
114 MemoryRegion* strtab_region = pInput.memArea()->request(
115 pInput.fileOffset() + strtab_shdr->offset(), strtab_shdr->size());
117 bool result = m_pELFReader->readSymbols(pInput, m_Builder,
119 pInput.memArea()->release(symtab_region);
120 pInput.memArea()->release(strtab_region);