Lines Matching refs:section
128 LDSection* section = NULL; in readSymbols() local
130 section = pInput.context()->getSection(st_shndx); in readSymbols()
136 assert(section != NULL && "get a invalid section"); in readSymbols()
137 ld_name = section->name(); in readSymbols()
149 section, in readSymbols()
405 LDSection* section = IRBuilder::CreateELFHeader( in readSectionHeaders() local
407 section->setSize(sh_size); in readSectionHeaders()
408 section->setOffset(sh_offset); in readSectionHeaders()
409 section->setInfo(sh_info); in readSectionHeaders()
412 LinkInfo link_info = {section, sh_link, sh_info}; in readSectionHeaders()
420 if (LDFileFormat::Relocation == info->section->kind()) in readSectionHeaders()
421 info->section->setLink(pInput.context()->getSection(info->sh_info)); in readSectionHeaders()
423 info->section->setLink(pInput.context()->getSection(info->sh_link)); in readSectionHeaders()
628 LDSection* section = NULL; in readSymbols() local
630 section = pInput.context()->getSection(st_shndx); in readSymbols()
636 assert(section != NULL && "get a invalid section"); in readSymbols()
637 ld_name = section->name(); in readSymbols()
649 section, in readSymbols()
899 LDSection* section = IRBuilder::CreateELFHeader( in readSectionHeaders() local
901 section->setSize(sh_size); in readSectionHeaders()
902 section->setOffset(sh_offset); in readSectionHeaders()
903 section->setInfo(sh_info); in readSectionHeaders()
906 LinkInfo link_info = {section, sh_link, sh_info}; in readSectionHeaders()
914 if (LDFileFormat::Relocation == info->section->kind()) in readSectionHeaders()
915 info->section->setLink(pInput.context()->getSection(info->sh_info)); in readSectionHeaders()
917 info->section->setLink(pInput.context()->getSection(info->sh_link)); in readSectionHeaders()