Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/lld/ELF/
H A DSyntheticSections.h449 DynamicReloc(RelType type, const InputSectionBase *inputSec, in DynamicReloc() argument
452 : type(type), sym(&sym), inputSec(inputSec), offsetInSec(offsetInSec), in DynamicReloc()
455 DynamicReloc(RelType type, const InputSectionBase *inputSec,
457 : type(type), sym(nullptr), inputSec(inputSec), offsetInSec(offsetInSec), in type()
461 DynamicReloc(RelType type, const InputSectionBase *inputSec, in DynamicReloc() argument
464 : type(type), sym(nullptr), inputSec(inputSec), offsetInSec(offsetInSec), in DynamicReloc()
481 const InputSectionBase *inputSec; variable
541 InputSectionBase *inputSec, uint64_t offsetInSec, Symbol &sym,
591 uint64_t getOffset() const { return inputSec->getVA(offsetInSec); } in getOffset()
593 const InputSectionBase *inputSec; member
H A DWriter.cpp1805 const InputSectionBase *inputSec = dyn_cast<InputSectionBase>(sec->repl); in fixSymbolsAfterShrinking() local
1806 if (!inputSec || !inputSec->bytesDropped) in fixSymbolsAfterShrinking()
1809 const size_t OldSize = inputSec->data().size(); in fixSymbolsAfterShrinking()
1810 const size_t NewSize = OldSize - inputSec->bytesDropped; in fixSymbolsAfterShrinking()
1816 << def->value - inputSec->bytesDropped << " bytes\n"); in fixSymbolsAfterShrinking()
1817 def->value -= inputSec->bytesDropped; in fixSymbolsAfterShrinking()
1825 << def->size << " to " << def->size - inputSec->bytesDropped in fixSymbolsAfterShrinking()
1827 def->size -= inputSec->bytesDropped; in fixSymbolsAfterShrinking()
H A DOutputSections.cpp556 const OutputSection *relOsec = rel.inputSec->getOutputSection(); in checkDynRelAddends()
559 bufStart + relOsec->offset + rel.inputSec->getOffset(rel.offsetInSec); in checkDynRelAddends()
H A DSyntheticSections.cpp1573 return inputSec->getVA(offsetInSec); in getOffset()
1586 return InputSection::getRelocTargetVA(inputSec->file, type, addend, in computeAddend()
1617 RelType dynType, InputSectionBase *inputSec, uint64_t offsetInSec, in addRelativeReloc() argument
1625 addReloc(DynamicReloc::AddendOnlyWithTargetVA, dynType, inputSec, offsetInSec, in addRelativeReloc()
1642 InputSectionBase *inputSec, in addReloc() argument
1649 inputSec->relocations.push_back( in addReloc()
1651 addReloc({dynType, inputSec, offsetInSec, kind, sym, addend, expr}); in addReloc()