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()
1055 if (!firstSec) in add()
1056 firstSec = sec; in add()
2476 load && !sec->lmaExpr && sec->lmaRegion == load->firstSec->lmaRegion; in createPhdrs()
2478 sec->memRegion == load->firstSec->memRegion && in createPhdrs()
2494 if (tlsHdr->firstSec) in createPhdrs()
2501 if (relRo->firstSec) in createPhdrs()
2574 OutputSection *cmd = p->firstSec; in fixSectionAlignments()
2612 else if (Out::tlsPhdr && Out::tlsPhdr->firstSec == p->firstSec) in fixSectionAlignments()
2629 if (p->p_type == PT_LOAD && p->firstSec) { in fixSectionAlignments()
2642 if (os->ptLoad && os->ptLoad->firstSec == os) in computeFileOffset()
2649 (!Out::tlsPhdr || Out::tlsPhdr->firstSec != os)) in computeFileOffset()
2658 OutputSection *first = os->ptLoad->firstSec; in computeFileOffset()
2747 OutputSection *first = p->firstSec; in setPhdrs()
3002 alignDown(p->firstSec->offset + p->p_filesz, 4), in writeTrapInstr()
3004 alignToPowerOf2(p->firstSec->offset + p->p_filesz, in writeTrapInstr()