reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
549 zero(SHeader); 550 SHeader.sh_name = DotShStrtab.getOffset(IsStatic ? ".symtab" : ".dynsym"); 553 SHeader.sh_type = YAMLSec->Type; 555 SHeader.sh_type = IsStatic ? ELF::SHT_SYMTAB : ELF::SHT_DYNSYM; 560 SHeader.sh_link = toSectionIndex(RawSec->Link, RawSec->Name); 571 SHeader.sh_link = Link; 575 SHeader.sh_flags = *YAMLSec->Flags; 577 SHeader.sh_flags = ELF::SHF_ALLOC; 581 SHeader.sh_info = (RawSec && RawSec->Info) ? (unsigned)(*RawSec->Info) 583 SHeader.sh_entsize = (YAMLSec && YAMLSec->EntSize) 586 SHeader.sh_addralign = YAMLSec ? (uint64_t)YAMLSec->AddressAlign : 8; 587 SHeader.sh_addr = YAMLSec ? (uint64_t)YAMLSec->Address : 0; 589 auto &OS = CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign); 589 auto &OS = CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign); 592 SHeader.sh_size = writeContent(OS, RawSec->Content, RawSec->Size); 599 SHeader.sh_size = arrayDataSize(makeArrayRef(Syms));