Lines Matching refs:firstSec
169 if (!p->firstSec) in removeEmptyPTLoad()
171 uint64_t size = p->lastSec->addr + p->lastSec->size - p->firstSec->addr; in removeEmptyPTLoad()
1077 if (!firstSec) in add()
1078 firstSec = sec; in add()
2397 load && !sec->lmaExpr && sec->lmaRegion == load->firstSec->lmaRegion; in createPhdrs()
2399 sec->memRegion == load->firstSec->memRegion && in createPhdrs()
2413 if (tlsHdr->firstSec) in createPhdrs()
2420 if (relRo->firstSec) in createPhdrs()
2493 OutputSection *cmd = p->firstSec; in fixSectionAlignments()
2531 else if (Out::tlsPhdr && Out::tlsPhdr->firstSec == p->firstSec) in fixSectionAlignments()
2548 if (p->p_type == PT_LOAD && p->firstSec) { in fixSectionAlignments()
2561 if (os->ptLoad && os->ptLoad->firstSec == os) in computeFileOffset()
2576 OutputSection *first = os->ptLoad->firstSec; in computeFileOffset()
2672 OutputSection *first = p->firstSec; in setPhdrs()
2920 fillTrap(Out::bufferStart + alignDown(p->firstSec->offset + p->p_filesz, in writeTrapInstr()
2922 Out::bufferStart + alignTo(p->firstSec->offset + p->p_filesz, in writeTrapInstr()