Lines Matching refs:section
358 const Section* section, in Add() argument
364 if (section != nullptr) { in Add()
365 DCHECK_LE(section->GetAddress(), addr); in Add()
366 DCHECK_LE(addr, section->GetAddress() + section->header_.sh_size); in Add()
367 section_index = section->GetSectionIndex(); in Add()
640 for (auto* section : sections_) { in End()
641 section->header_.sh_name = shstrtab_.Write(section->name_); in End()
642 if (section->link_ != nullptr) { in End()
643 section->header_.sh_link = section->link_->GetSectionIndex(); in End()
645 if (section->header_.sh_offset == 0) { in End()
646 section->header_.sh_type = SHT_NOBITS; in End()
655 for (auto* section : sections_) { in End()
656 shdrs.push_back(section->header_); in End()
951 for (auto* section : sections_) { in MakeProgramHeaders()
952 const Elf_Shdr& shdr = section->header_; in MakeProgramHeaders()
961 load.p_flags = section->phdr_flags_; in MakeProgramHeaders()
982 for (auto* section : sections_) { in MakeProgramHeaders()
983 const Elf_Shdr& shdr = section->header_; in MakeProgramHeaders()
987 if (section->phdr_type_ != 0) { in MakeProgramHeaders()
989 phdr.p_type = section->phdr_type_; in MakeProgramHeaders()
990 phdr.p_flags = section->phdr_flags_; in MakeProgramHeaders()