Home | History | Annotate | Download | only in gold

Lines Matching defs:lma

176   // LMA values, or both.
2265 // With LMA computations, if an explicit region has not been specified then
2266 // we will want to set the difference between the VMA and the LMA of the
2268 // VMA and LMA of the last section to be added to first matched region.
2376 // Determine if an LMA region has been set for this section.
2383 // The LMA address was explicitly set to the given region.
2395 // explicit VMA region has been set, so set the LMA equal to
2401 // The LMA address was not explicitly or implicitly set.
2405 // last section to use this region. Set the LMA of this
2406 // section so that the difference between its' VMA and LMA
2407 // is the same as the difference between the VMA and LMA of
2506 // If the LMA region is different from the VMA region, then increment the
3746 // Return the amount we have to subtract from the LMA to accommodate
3752 Script_sections::header_size_adjustment(uint64_t lma,
3756 uint64_t hdr_lma = lma - sizeof_headers;
3758 return lma - hdr_lma;
3799 const uint64_t lma = ((*p)->has_load_address()
3807 else if (lma - vma != last_lma - last_vma)
3809 // This section has a different LMA relationship than the
3814 < align_address(lma, abi_pagesize))
3847 current_seg->set_addresses(vma, lma);
3861 last_lma = lma;
3889 uint64_t lma = first_seg->paddr();
3891 uint64_t subtract = this->header_size_adjustment(lma, sizeof_headers);
3893 if ((lma & (abi_pagesize - 1)) >= sizeof_headers)
3895 first_seg->set_addresses(vma - subtract, lma - subtract);
3902 if (lma < subtract || vma < subtract)
3909 // using non-existent or protected memory. We test LMA rather
3913 && !this->block_in_region (NULL, layout, lma - subtract, subtract))
3919 load_seg->set_addresses(vma - subtract, lma - subtract);
4224 uint64_t lma = osec->has_load_address() ? osec->load_address() : vma;
4235 lma = (*p)->load_address();
4248 uint64_t subtract = this->header_size_adjustment(lma,
4250 if (lma >= subtract && vma >= subtract)
4252 lma -= subtract;
4268 oseg->set_addresses(vma, lma);