Lines Matching refs:Section

56   class Section {
58 Section(const std::string& name, Elf_Word type, Elf_Word flags, in Section() function
59 const Section* link, Elf_Word info, Elf_Word align, Elf_Word entsize) in Section()
67 virtual ~Section() {} in ~Section()
107 const Section* const link_;
109 DISALLOW_COPY_AND_ASSIGN(Section);
113 class DynamicSection FINAL : public Section {
115 void AddDynamicTag(Elf_Sword tag, Elf_Word value, const Section* section) { in AddDynamicTag()
120 DynamicSection(const std::string& name, Section* link) in DynamicSection()
121 : Section(name, SHT_DYNAMIC, SHF_ALLOC, in DynamicSection()
148 const Section* section_;
160 class RawSection FINAL : public Section {
163 const Section* link, Elf_Word info, Elf_Word align, Elf_Word entsize,
164 PatchFn patch = nullptr, const Section* patch_base_section = nullptr)
165 : Section(name, type, flags, link, info, align, entsize), in Section() function
214 const Section* patch_base_section_;
219 class OatSection FINAL : public Section {
222 const Section* link, Elf_Word info, Elf_Word align, in OatSection()
224 : Section(name, type, flags, link, info, align, entsize), in OatSection()
246 class NoBitsSection FINAL : public Section {
249 : Section(name, SHT_NOBITS, SHF_ALLOC, nullptr, 0, kPageSize, 0), in NoBitsSection()
267 class StrtabSection FINAL : public Section {
270 : Section(name, SHT_STRTAB, flags, nullptr, 0, 1, 0) { in StrtabSection()
298 class SymtabSection FINAL : public Section {
302 void AddSymbol(const std::string& name, const Section* section,
313 : Section(name, type, flags, strtab, 0, sizeof(Elf_Off), sizeof(Elf_Sym)), in SymtabSection()
349 const Section* section_;
373 class HashSection FINAL : public Section {
376 : Section(name, SHT_HASH, flags, symtab, in HashSection()
608 std::vector<Section*> sections; in Write()
622 for (Section* section : other_sections_) { in Write()
699 const Section* eh_frame = FindSection(".eh_frame"); in Write()
702 const Section* eh_frame_hdr = FindSection(".eh_frame_hdr"); in Write()
738 for (Section* section : sections) { in Write()
759 void RegisterSection(Section* section) { in RegisterSection()
763 const Section* FindSection(const char* name) { in FindSection()
812 const Section& section) { in MakeProgramHeader()
937 std::vector<Section*> other_sections_;