Lines Matching defs:NewSection

3917                                  BinarySection &NewSection) {
3918 if (OldSection.getSize() < NewSection.getOutputSize())
3924 NewSection.setOutputAddress(OldSection.getAddress());
3925 NewSection.setOutputFileOffset(OldSection.getInputFileOffset());
3926 MapSection(NewSection, OldSection.getAddress());
3929 NewSection.addPadding(OldSection.getSize() - NewSection.getOutputSize());
4384 ELFShdrTy NewSection = Section;
4385 NewSection.sh_name = SHStrTab.getOffset(BinSec.getOutputName());
4386 OutputSections.emplace_back(&BinSec, std::move(NewSection));
4425 ELFShdrTy NewSection;
4426 NewSection.sh_type = ELF::SHT_PROGBITS;
4427 NewSection.sh_addr = Section.getOutputAddress();
4428 NewSection.sh_offset = Section.getOutputFileOffset();
4429 NewSection.sh_size = Section.getOutputSize();
4430 NewSection.sh_entsize = 0;
4431 NewSection.sh_flags = Section.getELFFlags();
4432 NewSection.sh_link = 0;
4433 NewSection.sh_info = 0;
4434 NewSection.sh_addralign = Section.getAlignment();
4435 addSection(NewSection, Section);
4487 ELFShdrTy NewSection = Section;
4488 NewSection.sh_offset = BinSec->getOutputFileOffset();
4489 NewSection.sh_size = BinSec->getOutputSize();
4491 if (NewSection.sh_type == ELF::SHT_SYMTAB)
4492 NewSection.sh_info = NumLocalSymbols;
4494 addSection(NewSection, *BinSec);
4508 ELFShdrTy NewSection;
4509 NewSection.sh_type = Section.getELFType();
4510 NewSection.sh_addr = 0;
4511 NewSection.sh_offset = Section.getOutputFileOffset();
4512 NewSection.sh_size = Section.getOutputSize();
4513 NewSection.sh_entsize = 0;
4514 NewSection.sh_flags = Section.getELFFlags();
4515 NewSection.sh_link = 0;
4516 NewSection.sh_info = 0;
4517 NewSection.sh_addralign = Section.getAlignment();
4519 addSection(NewSection, Section);