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.h432 DynamicReloc(RelType type, const InputSectionBase *inputSec, in DynamicReloc() argument
435 : sym(&sym), inputSec(inputSec), offsetInSec(offsetInSec), type(type), in DynamicReloc()
438 DynamicReloc(RelType type, const InputSectionBase *inputSec,
440 : sym(nullptr), inputSec(inputSec), offsetInSec(offsetInSec), type(type), in sym()
444 DynamicReloc(RelType type, const InputSectionBase *inputSec, in DynamicReloc() argument
447 : sym(nullptr), outputSec(outputSec), inputSec(inputSec), in DynamicReloc()
466 const InputSectionBase *inputSec; variable
602 return inputSec->getVA(inputSec->relocs()[relocIdx].offset); in getOffset()
605 const InputSectionBase *inputSec; member
H A DWriter.cpp1485 const Relocation &reloc = elem.inputSec->relocs()[elem.relocIdx]; in finalizeAddressDependentContent()
1488 part.relaDyn->addReloc({R_AARCH64_AUTH_RELATIVE, elem.inputSec, in finalizeAddressDependentContent()
1568 const InputSectionBase *inputSec = dyn_cast<InputSectionBase>(sec); in fixSymbolsAfterShrinking() local
1569 if (!inputSec || !inputSec->bytesDropped) in fixSymbolsAfterShrinking()
1572 const size_t OldSize = inputSec->content().size(); in fixSymbolsAfterShrinking()
1573 const size_t NewSize = OldSize - inputSec->bytesDropped; in fixSymbolsAfterShrinking()
1579 << def->value - inputSec->bytesDropped << " bytes\n"); in fixSymbolsAfterShrinking()
1580 def->value -= inputSec->bytesDropped; in fixSymbolsAfterShrinking()
1588 << def->size << " to " << def->size - inputSec->bytesDropped in fixSymbolsAfterShrinking()
1590 def->size -= inputSec->bytesDropped; in fixSymbolsAfterShrinking()
H A DOutputSections.cpp889 const OutputSection *relOsec = rel.inputSec->getOutputSection(); in checkDynRelAddends()
894 (rel.inputSec == in.ppc64LongBranchTarget.get() || in checkDynRelAddends()
895 rel.inputSec == in.igotPlt.get())) in checkDynRelAddends()
898 bufStart + relOsec->offset + rel.inputSec->getOffset(rel.offsetInSec); in checkDynRelAddends()
H A DSyntheticSections.cpp1590 return inputSec->getVA(offsetInSec); in getOffset()
1603 uint64_t ca = InputSection::getRelocTargetVA(inputSec->file, type, addend, in computeAddend()