Lines Matching defs:load
1474 // section. We do this because it is common to set a load address by starting
2048 PhdrEntry *load = nullptr;
2068 load = addHdr(PT_LOAD, flags);
2069 load->add(Out::elfHeader);
2070 load->add(Out::programHeaders);
2120 // time, we don't want to create a separate load segment for the headers,
2123 if (!load ||
2125 (sec->lmaRegion && (sec->lmaRegion != load->firstSec->lmaRegion))) &&
2126 load->lastSec != Out::programHeaders) ||
2127 sec->memRegion != load->firstSec->memRegion || flags != newFlags ||
2129 load = addHdr(PT_LOAD, newFlags);
2133 load->add(sec);
2282 // load executables without any address adjustment.
2418 // load and virtual addresses).
2449 // file offsets. For SHF_ALLOC sections we also check that the load address
2472 // When linking with -r there is no need to check for overlapping virtual/load
2478 // Checking for overlapping virtual and load addresses only needs to take
2489 // Finally, check that the load addresses don't overlap. This will usually be
2496 checkOverlap("load address", lmas, false);