Lines Matching refs:firstSec
108 if (!p->firstSec) in removeEmptyPTLoad()
110 uint64_t size = p->lastSec->addr + p->lastSec->size - p->firstSec->addr; in removeEmptyPTLoad()
809 if (!firstSec) in add()
810 firstSec = sec; in add()
2418 load && !sec->lmaExpr && sec->lmaRegion == load->firstSec->lmaRegion; in createPhdrs()
2420 sec->memRegion == load->firstSec->memRegion && in createPhdrs()
2438 if (tlsHdr->firstSec) in createPhdrs()
2445 if (relRo->firstSec) in createPhdrs()
2535 OutputSection *cmd = p->firstSec; in fixSectionAlignments()
2573 else if (ctx.tlsPhdr && ctx.tlsPhdr->firstSec == p->firstSec) in fixSectionAlignments()
2590 if (p->p_type == PT_LOAD && p->firstSec) { in fixSectionAlignments()
2603 if (os->ptLoad && os->ptLoad->firstSec == os) in computeFileOffset()
2609 if (os->type == SHT_NOBITS && (!ctx.tlsPhdr || ctx.tlsPhdr->firstSec != os)) in computeFileOffset()
2618 OutputSection *first = os->ptLoad->firstSec; in computeFileOffset()
2710 OutputSection *first = p->firstSec; in setPhdrs()
2973 ctx.bufferStart + alignDown(p->firstSec->offset + p->p_filesz, 4), in writeTrapInstr()
2974 ctx.bufferStart + alignToPowerOf2(p->firstSec->offset + p->p_filesz, in writeTrapInstr()