Lines Matching refs:isec
100 void OutputSection::recordSection(InputSectionBase *isec) { in recordSection() argument
101 partition = isec->partition; in recordSection()
102 isec->parent = this; in recordSection()
107 isd->sectionBases.push_back(isec); in recordSection()
113 void OutputSection::commitSection(InputSection *isec) { in commitSection() argument
118 type = isec->type; in commitSection()
119 entsize = isec->entsize; in commitSection()
120 flags = isec->flags; in commitSection()
123 if ((flags ^ isec->flags) & SHF_TLS) in commitSection()
124 error("incompatible section flags for " + name + "\n>>> " + toString(isec) + in commitSection()
125 ": 0x" + utohexstr(isec->flags) + "\n>>> output section " + name + in commitSection()
128 if (type != isec->type) { in commitSection()
129 if (!canMergeToProgbits(type) || !canMergeToProgbits(isec->type)) in commitSection()
130 error("section type mismatch for " + isec->name + "\n>>> " + in commitSection()
131 toString(isec) + ": " + in commitSection()
132 getELFSectionTypeName(config->emachine, isec->type) + in commitSection()
141 isec->parent = this; in commitSection()
145 uint64_t andFlags = (flags & isec->flags) & andMask; in commitSection()
146 uint64_t orFlags = (flags | isec->flags) & orMask; in commitSection()
151 alignment = std::max(alignment, isec->alignment); in commitSection()
156 if (entsize != isec->entsize) in commitSection()
349 InputSection *isec = sections[i]; in writeTo() local
350 isec->writeTo<ELFT>(buf); in writeTo()
354 uint8_t *start = buf + isec->outSecOff + isec->getSize(); in writeTo()
360 if (isec->nopFiller) { in writeTo()