Home
last modified time | relevance | path

Searched refs:relSec (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/lld/ELF/
H A DOutputSections.cpp682 Elf_Crel<ELFT::Is64Bits> &out, InputSection *relSec, in relToCrel() argument
684 const auto &file = *cast<ELFFileBase>(relSec->file); in relToCrel()
685 if (relSec->type == SHT_REL) { in relToCrel()
687 Err(ctx) << relSec << ": REL cannot be converted to CREL"; in relToCrel()
690 auto rels = relSec->getDataAs<typename ELFT::Rela>(); in relToCrel()
708 for (InputSection *relSec : isd->sections) { in finalizeNonAllocCrel()
709 const auto &file = *cast<ELFFileBase>(relSec->file); in finalizeNonAllocCrel()
710 InputSectionBase *sec = relSec->getRelocatedSection(); in finalizeNonAllocCrel()
711 if (relSec->type == SHT_CREL) { in finalizeNonAllocCrel()
712 RelocsCrel<is64> entries(relSec->content_); in finalizeNonAllocCrel()
[all …]
H A DMarkLive.cpp128 auto *relSec = dyn_cast_or_null<InputSectionBase>(d->section); in resolveReloc() local
129 if (!relSec) in resolveReloc()
144 if (!(fromFDE && ((relSec->flags & (SHF_EXECINSTR | SHF_LINK_ORDER)) || in resolveReloc()
145 relSec->nextInSectionGroup))) { in resolveReloc()
152 if (Symbol *s = relSec->getEnclosingSymbol(offset)) in resolveReloc()
157 enqueue(relSec, offset, canonicalSym, reason); in resolveReloc()
H A DICF.cpp456 if (auto *relSec = dyn_cast_or_null<InputSection>(d->section)) in combineRelocHashes() local
457 hash += relSec->eqClass[cnt % 2]; in combineRelocHashes()
H A DInputSection.cpp153 InputSectionBase *const &relSec = f->getSections()[relSecIdx]; in relsOrRelas() local
157 if (!relSec || !cast<InputSection>(relSec)->decodedCrel) { in relsOrRelas()
174 reinterpret_cast<const typename ELFT::Rela *>(relSec->content_), in relsOrRelas()
175 relSec->size / sizeof(typename ELFT::Rela))}; in relsOrRelas()
H A DLinkerScript.cpp920 if (auto *relSec = out->relocationSection) { in addInputSec() local
921 relSec->recordSection(sec); in addInputSec()