Lines Matching refs:firstSec
107 if (!p->firstSec) in removeEmptyPTLoad()
109 uint64_t size = p->lastSec->addr + p->lastSec->size - p->firstSec->addr; in removeEmptyPTLoad()
1011 if (!firstSec) in add()
1012 firstSec = sec; in add()
2372 load && !sec->lmaExpr && sec->lmaRegion == load->firstSec->lmaRegion; in createPhdrs()
2374 sec->memRegion == load->firstSec->memRegion && in createPhdrs()
2388 if (tlsHdr->firstSec) in createPhdrs()
2395 if (relRo->firstSec) in createPhdrs()
2468 OutputSection *cmd = p->firstSec; in fixSectionAlignments()
2506 else if (Out::tlsPhdr && Out::tlsPhdr->firstSec == p->firstSec) in fixSectionAlignments()
2523 if (p->p_type == PT_LOAD && p->firstSec) { in fixSectionAlignments()
2536 if (os->ptLoad && os->ptLoad->firstSec == os) in computeFileOffset()
2543 (!Out::tlsPhdr || Out::tlsPhdr->firstSec != os)) in computeFileOffset()
2552 OutputSection *first = os->ptLoad->firstSec; in computeFileOffset()
2641 OutputSection *first = p->firstSec; in setPhdrs()
2888 alignDown(p->firstSec->offset + p->p_filesz, 4), in writeTrapInstr()
2890 alignToPowerOf2(p->firstSec->offset + p->p_filesz, in writeTrapInstr()