Lines Matching defs:isec

97 // Record that isec will be placed in the OutputSection. isec does not become
104 // 3. Call commitSection(isec).
105 void OutputSection::recordSection(InputSectionBase *isec) {
106 partition = isec->partition;
107 isec->parent = this;
111 isd->sectionBases.push_back(isec);
115 // isec. Also check whether the InputSection flags and type are consistent with
117 void OutputSection::commitSection(InputSection *isec) {
118 if (LLVM_UNLIKELY(type != isec->type)) {
120 type = isec->type;
121 } else if (isStaticRelSecType(type) && isStaticRelSecType(isec->type) &&
122 (type == SHT_CREL) != (isec->type == SHT_CREL)) {
133 !canMergeToProgbits(isec->type)) {
140 errorOrWarn("section type mismatch for " + isec->name + "\n>>> " +
141 toString(isec) + ": " +
142 getELFSectionTypeName(config->emachine, isec->type) +
153 // initialize type, entsize and flags from isec.
155 entsize = isec->entsize;
156 flags = isec->flags;
159 if ((flags ^ isec->flags) & SHF_TLS)
161 toString(isec) + ": 0x" + utohexstr(isec->flags) +
165 isec->parent = this;
169 uint64_t andFlags = (flags & isec->flags) & andMask;
170 uint64_t orFlags = (flags | isec->flags) & orMask;
175 addralign = std::max(addralign, isec->addralign);
180 if (entsize != isec->entsize)
533 InputSection *isec = sections[i];
534 if (auto *s = dyn_cast<SyntheticSection>(isec))
535 s->writeTo(buf + isec->outSecOff);
537 isec->writeTo<ELFT>(buf + isec->outSecOff);
543 convertArmInstructionstoBE8(isec, buf + isec->outSecOff);
547 uint8_t *start = buf + isec->outSecOff + isec->getSize();
553 if (isec->nopFiller) {