Lines Matching refs:NewSection
4069 BinarySection &NewSection = in rewriteNoteSections() local
4077 NewSection.setOutputAddress(0); in rewriteNoteSections()
4078 NewSection.setOutputFileOffset(NextAvailableOffset); in rewriteNoteSections()
4221 ELFShdrTy NewSection = Section; in getOutputSections() local
4222 NewSection.sh_name = SHStrTab.getOffset(Name); in getOutputSections()
4223 OutputSections.emplace_back(Name, std::move(NewSection)); in getOutputSections()
4255 ELFShdrTy NewSection; in getOutputSections() local
4256 NewSection.sh_type = ELF::SHT_PROGBITS; in getOutputSections()
4257 NewSection.sh_addr = Section.getOutputAddress(); in getOutputSections()
4258 NewSection.sh_offset = Section.getOutputFileOffset(); in getOutputSections()
4259 NewSection.sh_size = Section.getOutputSize(); in getOutputSections()
4260 NewSection.sh_entsize = 0; in getOutputSections()
4261 NewSection.sh_flags = Section.getELFFlags(); in getOutputSections()
4262 NewSection.sh_link = 0; in getOutputSections()
4263 NewSection.sh_info = 0; in getOutputSections()
4264 NewSection.sh_addralign = Section.getAlignment(); in getOutputSections()
4265 addSection(std::string(Section.getName()), NewSection); in getOutputSections()
4319 ELFShdrTy NewSection = Section; in getOutputSections() local
4320 NewSection.sh_offset = BSec->getOutputFileOffset(); in getOutputSections()
4321 NewSection.sh_size = BSec->getOutputSize(); in getOutputSections()
4323 if (NewSection.sh_type == ELF::SHT_SYMTAB) in getOutputSections()
4324 NewSection.sh_info = NumLocalSymbols; in getOutputSections()
4326 addSection(std::string(SectionName), NewSection); in getOutputSections()
4340 ELFShdrTy NewSection; in getOutputSections() local
4341 NewSection.sh_type = Section.getELFType(); in getOutputSections()
4342 NewSection.sh_addr = 0; in getOutputSections()
4343 NewSection.sh_offset = Section.getOutputFileOffset(); in getOutputSections()
4344 NewSection.sh_size = Section.getOutputSize(); in getOutputSections()
4345 NewSection.sh_entsize = 0; in getOutputSections()
4346 NewSection.sh_flags = Section.getELFFlags(); in getOutputSections()
4347 NewSection.sh_link = 0; in getOutputSections()
4348 NewSection.sh_info = 0; in getOutputSections()
4349 NewSection.sh_addralign = Section.getAlignment(); in getOutputSections()
4351 addSection(std::string(Section.getName()), NewSection); in getOutputSections()