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()
2432 load && !sec->lmaExpr && sec->lmaRegion == load->firstSec->lmaRegion; in createPhdrs()
2434 sec->memRegion == load->firstSec->memRegion && in createPhdrs()
2448 if (tlsHdr->firstSec) in createPhdrs()
2455 if (relRo->firstSec) in createPhdrs()
2528 OutputSection *cmd = p->firstSec; in fixSectionAlignments()
2566 else if (Out::tlsPhdr && Out::tlsPhdr->firstSec == p->firstSec) in fixSectionAlignments()
2583 if (p->p_type == PT_LOAD && p->firstSec) { in fixSectionAlignments()
2596 if (os->ptLoad && os->ptLoad->firstSec == os) in computeFileOffset()
2611 OutputSection *first = os->ptLoad->firstSec; in computeFileOffset()
2707 OutputSection *first = p->firstSec; in setPhdrs()
2961 fillTrap(Out::bufferStart + alignDown(p->firstSec->offset + p->p_filesz, in writeTrapInstr()
2963 Out::bufferStart + alignTo(p->firstSec->offset + p->p_filesz, in writeTrapInstr()