Lines Matching defs:OutputSection
43 uint32_t OutputSection::getPhdrFlags() const {
55 void OutputSection::writeHeaderTo(typename ELFT::Shdr *shdr) {
68 OutputSection::OutputSection(Ctx &ctx, StringRef name, uint32_t type,
74 uint64_t OutputSection::getLMA() const {
94 // Record that isec will be placed in the OutputSection. isec does not become
102 void OutputSection::recordSection(InputSectionBase *isec) {
114 void OutputSection::commitSection(InputSection *isec) {
198 void OutputSection::finalizeInputSections() {
289 void OutputSection::sort(llvm::function_ref<int(InputSectionBase *s)> order) {
364 template <class ELFT> void OutputSection::maybeCompress(Ctx &ctx) {
491 void OutputSection::writeTo(Ctx &ctx, uint8_t *buf, parallel::TaskGroup &tg) {
606 static void finalizeShtGroup(Ctx &ctx, OutputSection *os,
625 if (OutputSection *osec = sections[read32(ctx, &idx)]->getOutputSection())
695 template <bool is64> void OutputSection::finalizeNonAllocCrel(Ctx &ctx) {
731 void OutputSection::finalize(Ctx &ctx) {
737 // need to translate the InputSection sh_link to the OutputSection sh_link,
738 // all InputSections in the OutputSection have the same dependency.
824 void OutputSection::sortCtorsDtors() {
844 InputSection *elf::getFirstInputSection(const OutputSection *os) {
853 elf::getInputSections(const OutputSection &os,
878 void OutputSection::sortInitFini() {
883 std::array<uint8_t, 4> OutputSection::getFiller(Ctx &ctx) {
891 void OutputSection::checkDynRelAddends(Ctx &ctx) {
910 const OutputSection *relOsec = rel.inputSec->getOutputSection();
936 template void OutputSection::writeHeaderTo<ELF32LE>(ELF32LE::Shdr *Shdr);
937 template void OutputSection::writeHeaderTo<ELF32BE>(ELF32BE::Shdr *Shdr);
938 template void OutputSection::writeHeaderTo<ELF64LE>(ELF64LE::Shdr *Shdr);
939 template void OutputSection::writeHeaderTo<ELF64BE>(ELF64BE::Shdr *Shdr);
941 template void OutputSection::writeTo<ELF32LE>(Ctx &, uint8_t *,
943 template void OutputSection::writeTo<ELF32BE>(Ctx &, uint8_t *,
945 template void OutputSection::writeTo<ELF64LE>(Ctx &, uint8_t *,
947 template void OutputSection::writeTo<ELF64BE>(Ctx &, uint8_t *,
950 template void OutputSection::maybeCompress<ELF32LE>(Ctx &);
951 template void OutputSection::maybeCompress<ELF32BE>(Ctx &);
952 template void OutputSection::maybeCompress<ELF64LE>(Ctx &);
953 template void OutputSection::maybeCompress<ELF64BE>(Ctx &);