Home
last modified time | relevance | path

Searched refs:inputSec (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/lld/ELF/
H A DSyntheticSections.h442 DynamicReloc(RelType type, const InputSectionBase *inputSec, in DynamicReloc() argument
445 : sym(&sym), inputSec(inputSec), offsetInSec(offsetInSec), type(type), in DynamicReloc()
448 DynamicReloc(RelType type, const InputSectionBase *inputSec,
450 : sym(nullptr), inputSec(inputSec), offsetInSec(offsetInSec), type(type), in sym()
454 DynamicReloc(RelType type, const InputSectionBase *inputSec, in DynamicReloc() argument
457 : sym(nullptr), outputSec(outputSec), inputSec(inputSec), in DynamicReloc()
476 const InputSectionBase *inputSec; variable
608 return inputSec->getVA(inputSec->relocs()[relocIdx].offset); in getOffset()
611 const InputSectionBase *inputSec; member
H A DWriter.cpp1572 const Relocation &reloc = elem.inputSec->relocs()[elem.relocIdx]; in finalizeAddressDependentContent()
1575 part.relaDyn->addReloc({R_AARCH64_AUTH_RELATIVE, elem.inputSec, in finalizeAddressDependentContent()
1671 const InputSectionBase *inputSec = dyn_cast<InputSectionBase>(sec); in fixSymbolsAfterShrinking() local
1672 if (!inputSec || !inputSec->bytesDropped) in fixSymbolsAfterShrinking()
1675 const size_t OldSize = inputSec->content().size(); in fixSymbolsAfterShrinking()
1676 const size_t NewSize = OldSize - inputSec->bytesDropped; in fixSymbolsAfterShrinking()
1682 << def->value - inputSec->bytesDropped << " bytes\n"); in fixSymbolsAfterShrinking()
1683 def->value -= inputSec->bytesDropped; in fixSymbolsAfterShrinking()
1691 << def->size << " to " << def->size - inputSec->bytesDropped in fixSymbolsAfterShrinking()
1693 def->size -= inputSec->bytesDropped; in fixSymbolsAfterShrinking()
H A DOutputSections.cpp916 const OutputSection *relOsec = rel.inputSec->getOutputSection(); in checkDynRelAddends()
921 (rel.inputSec == ctx.in.ppc64LongBranchTarget.get() || in checkDynRelAddends()
922 rel.inputSec == ctx.in.igotPlt.get())) in checkDynRelAddends()
925 rel.inputSec->getOffset(rel.offsetInSec); in checkDynRelAddends()
H A DSyntheticSections.cpp1645 return inputSec->getVA(offsetInSec); in getOffset()
1658 uint64_t ca = inputSec->getRelocTargetVA( in computeAddend()