Searched refs:YamlPhdr (Results 1 – 2 of 2) sorted by relevance
479 ELFYAML::ProgramHeader &YamlPhdr = Doc.ProgramHeaders[I]; in initProgramHeaders() local482 Phdr.p_type = YamlPhdr.Type; in initProgramHeaders()483 Phdr.p_flags = YamlPhdr.Flags; in initProgramHeaders()484 Phdr.p_vaddr = YamlPhdr.VAddr; in initProgramHeaders()485 Phdr.p_paddr = YamlPhdr.PAddr; in initProgramHeaders()488 if (!YamlPhdr.FirstSec && !YamlPhdr.LastSec) in initProgramHeaders()492 size_t First = NameToIndex[*YamlPhdr.FirstSec]; in initProgramHeaders()494 reportError("unknown section or fill referenced: '" + *YamlPhdr.FirstSec + in initProgramHeaders()497 size_t Last = NameToIndex[*YamlPhdr.LastSec]; in initProgramHeaders()499 reportError("unknown section or fill referenced: '" + *YamlPhdr.LastSec + in initProgramHeaders()[all …]
314 for (const auto &YamlPhdr : Doc.ProgramHeaders) { in initProgramHeaders() local316 Phdr.p_type = YamlPhdr.Type; in initProgramHeaders()317 Phdr.p_flags = YamlPhdr.Flags; in initProgramHeaders()318 Phdr.p_vaddr = YamlPhdr.VAddr; in initProgramHeaders()319 Phdr.p_paddr = YamlPhdr.PAddr; in initProgramHeaders()721 for (auto &YamlPhdr : Doc.ProgramHeaders) { in setProgramHeaderLayout() local723 std::vector<Fragment> Fragments = getPhdrFragments(YamlPhdr, SHeaders); in setProgramHeaderLayout()725 if (YamlPhdr.Offset) { in setProgramHeaderLayout()726 PHeader.p_offset = *YamlPhdr.Offset; in setProgramHeaderLayout()728 if (YamlPhdr.Sections.size()) in setProgramHeaderLayout()[all …]