Lines Matching refs:section

53 /// readRegularSection - read a regular section and create fragments.
103 // If the section should not be included, set the st_shndx SHN_UNDEF
104 // - A section in interrelated groups are not included.
121 // get ld_value - ld_value must be section relative.
127 // get section
128 LDSection* section = NULL;
130 section = pInput.context()->getSection(st_shndx);
135 // Section symbol's st_name is the section index.
136 assert(section != NULL && "get a invalid section");
137 ld_name = section->name();
149 section,
302 /// readSectionHeaders - read ELF section header table and create LDSections
325 // If the file has no section header table, e_shoff holds zero.
383 // create all LDSections, including first NULL section.
405 LDSection* section = IRBuilder::CreateELFHeader(
407 section->setSize(sh_size);
408 section->setOffset(sh_offset);
409 section->setInfo(sh_info);
412 LinkInfo link_info = {section, sh_link, sh_info};
420 if (LDFileFormat::Relocation == info->section->kind())
421 info->section->setLink(pInput.context()->getSection(info->sh_info));
423 info->section->setLink(pInput.context()->getSection(info->sh_link));
430 /// This is used to get the signature of a group section.
553 /// readRegularSection - read a regular section and create fragments.
603 // If the section should not be included, set the st_shndx SHN_UNDEF
604 // - A section in interrelated groups are not included.
621 // get ld_value - ld_value must be section relative.
627 // get section
628 LDSection* section = NULL;
630 section = pInput.context()->getSection(st_shndx);
635 // Section symbol's st_name is the section index.
636 assert(section != NULL && "get a invalid section");
637 ld_name = section->name();
649 section,
796 /// readSectionHeaders - read ELF section header table and create LDSections
819 // If the file has no section header table, e_shoff holds zero.
877 // create all LDSections, including first NULL section.
899 LDSection* section = IRBuilder::CreateELFHeader(
901 section->setSize(sh_size);
902 section->setOffset(sh_offset);
903 section->setInfo(sh_info);
906 LinkInfo link_info = {section, sh_link, sh_info};
914 if (LDFileFormat::Relocation == info->section->kind())
915 info->section->setLink(pInput.context()->getSection(info->sh_info));
917 info->section->setLink(pInput.context()->getSection(info->sh_link));
924 /// This is used to get the signature of a group section.