/toolchain/binutils/binutils-2.25/ld/emultempl/ |
D | rxelf.em | 58 { "ignore-lma", no_argument, NULL, OPTION_IGNORE_LMA}, 59 { "no-ignore-lma", no_argument, NULL, OPTION_NO_IGNORE_LMA}, 67 fprintf (file, _(" --ignore-lma Ignore segment LMAs [default]\n" 69 fprintf (file, _(" --no-ignore-lma Don'\''t ignore segment LMAs\n"));
|
/toolchain/binutils/binutils-2.25/bfd/ |
D | binary.c | 245 && (! found_low || s->lma < low)) in binary_set_section_contents() 247 low = s->lma; in binary_set_section_contents() 253 s->filepos = s->lma - low; in binary_set_section_contents()
|
D | elf-nacl.c | 55 if (seg->count == 0 || seg->sections[0]->lma % minpagesize < sizeof_headers) in segment_eligible_for_headers() 151 sec->lma = lastsec->lma + lastsec->size; in nacl_modify_segment_map()
|
D | elf.c | 1000 newsect->lma = (phdr->p_paddr in _bfd_elf_make_section_from_shdr() 1010 newsect->lma = (phdr->p_paddr in _bfd_elf_make_section_from_shdr() 2495 newsect->lma = hdr->p_paddr; in _bfd_elf_make_section_from_phdr() 2531 newsect->lma = hdr->p_paddr + hdr->p_filesz; in _bfd_elf_make_section_from_phdr() 3922 if (((s->lma + s->size) & addr_mask) < (s->lma & addr_mask)) in _bfd_elf_map_sections_to_segments() 3923 wrap_to = (s->lma + s->size) & addr_mask; in _bfd_elf_map_sections_to_segments() 3994 || (sections[0]->lma & addr_mask) < phdr_size in _bfd_elf_map_sections_to_segments() 3995 || ((sections[0]->lma & addr_mask) % maxpagesize in _bfd_elf_map_sections_to_segments() 3997 || (sections[0]->lma & addr_mask & -maxpagesize) < wrap_to) in _bfd_elf_map_sections_to_segments() 4017 else if (last_hdr->lma - last_hdr->vma != hdr->lma - hdr->vma) in _bfd_elf_map_sections_to_segments() [all …]
|
D | aout-target.h | 69 obj_textsec (abfd)->lma = obj_textsec (abfd)->vma; in MY() 70 obj_datasec (abfd)->lma = obj_datasec (abfd)->vma; in MY() 71 obj_bsssec (abfd)->lma = obj_bsssec (abfd)->vma; in MY()
|
D | coff-tic54x.c | 89 sect->lma = (sect->lma & ADDR_MASK) | PG_TO_FLAG(page); in bfd_ticoff_set_section_load_page() 107 page = FLAG_TO_PG (sect->lma); in bfd_ticoff_get_section_load_page()
|
D | srec.c | 563 sec->lma = address; in srec_scan() 907 else if ((section->lma + (offset + bytes_to_do) / opb - 1) <= 0xffff) in srec_set_section_contents() 909 else if ((section->lma + (offset + bytes_to_do) / opb - 1) <= 0xffffff in srec_set_section_contents() 916 entry->where = section->lma + offset / opb; in srec_set_section_contents() 1106 + s->section->output_section->lma in srec_write_symbols()
|
D | hp300hpux.c | 234 obj_textsec (abfd)->lma = obj_textsec (abfd)->vma; in MY() 235 obj_datasec (abfd)->lma = obj_datasec (abfd)->vma; in MY() 236 obj_bsssec (abfd)->lma = obj_bsssec (abfd)->vma; in MY()
|
D | aout-tic30.c | 349 obj_textsec (abfd)->lma = obj_textsec (abfd)->vma; in tic30_aout_callback() 350 obj_datasec (abfd)->lma = obj_datasec (abfd)->vma; in tic30_aout_callback() 351 obj_bsssec (abfd)->lma = obj_bsssec (abfd)->vma; in tic30_aout_callback()
|
D | ihex.c | 372 sec->lma = extbase + segbase + addr; in ihex_scan() 681 n->where = section->lma + offset; in ihex_set_section_contents()
|
D | bfd-in.h | 281 #define bfd_get_section_lma(bfd, ptr) ((void) bfd, (ptr)->lma) 288 #define bfd_section_lma(bfd, ptr) ((ptr)->lma)
|
D | verilog.c | 132 entry->where = section->lma + offset; in verilog_set_section_contents()
|
/toolchain/binutils/binutils-2.25/binutils/ |
D | objcopy.c | 1847 padd->section->lma = pset->lma_val; in copy_object() 2044 bfd_vma lma; in copy_object() local 2047 lma = bfd_section_lma (obfd, osections[c - 1]); in copy_object() 2049 if (lma + size < pad_to) in copy_object() 2052 pad_to - lma)) in copy_object() 2060 gaps[c - 1] = pad_to - (lma + size); in copy_object() 2061 if (max_gap < pad_to - (lma + size)) in copy_object() 2062 max_gap = pad_to - (lma + size); in copy_object() 2691 bfd_vma lma; in setup_section() local 2785 lma = isection->lma; in setup_section() [all …]
|
/toolchain/binutils/binutils-2.25/gold/ |
D | script-sections.cc | 3752 Script_sections::header_size_adjustment(uint64_t lma, in header_size_adjustment() argument 3756 uint64_t hdr_lma = lma - sizeof_headers; in header_size_adjustment() 3758 return lma - hdr_lma; in header_size_adjustment() 3799 const uint64_t lma = ((*p)->has_load_address() in create_segments() local 3807 else if (lma - vma != last_lma - last_vma) in create_segments() 3814 < align_address(lma, abi_pagesize)) in create_segments() 3847 current_seg->set_addresses(vma, lma); in create_segments() 3861 last_lma = lma; in create_segments() 3889 uint64_t lma = first_seg->paddr(); in create_segments() local 3891 uint64_t subtract = this->header_size_adjustment(lma, sizeof_headers); in create_segments() [all …]
|
D | script-sections.h | 285 header_size_adjustment(uint64_t lma, size_t sizeof_headers) const;
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-scripts/ |
D | rgn-at6.d | 5 # Test that lma is aligned as for vma when lma_region==region.
|
D | rgn-at7.d | 5 # Test that lma is only aligned by script when lma_region!=region.
|
D | rgn-at8.d | 5 # Test that lma is aligned when lma_region!=region and requested by script.
|
D | rgn-at9.d | 5 # Test that lma is adjusted in case the section start vma is aligned and
|
D | rgn-at11.d | 5 # Test that lma is not adjusted in case the section start vma is aligned and
|
D | rgn-at10.d | 5 # Test that lma is adjusted in case the section start vma is aligned and
|
D | empty-aligned.t | 22 /* Same when setting vma and lma. This also shouldn't result in
|
/toolchain/binutils/binutils-2.25/ld/ |
D | ldwrite.c | 390 n->lma = s->lma; in clone_section() 533 n->lma = n->vma = vma; in split_sections()
|
D | ldlang.c | 4012 if (section->vma != section->lma) in print_output_section_statement() 4013 minfo (_(" load address 0x%V"), section->lma); in print_output_section_statement() 4748 s_start = s->lma; in lang_check_section_addresses() 4759 s_start = s->lma; in lang_check_section_addresses() 5030 bfd_vma lma = exp_get_abs_int (os->load_base, 0, "load base"); in lang_size_sections_1() local 5031 os->bfd_section->lma = lma; in lang_size_sections_1() 5035 bfd_vma lma = os->lma_region->current; in lang_size_sections_1() local 5038 lma += dotdelta; in lang_size_sections_1() 5049 lma = align_power (lma, section_alignment); in lang_size_sections_1() 5051 os->bfd_section->lma = lma; in lang_size_sections_1() [all …]
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-elf/ |
D | binutils.exp | 158 binutils_test strip "-T ${srcdir}/${subdir}/lma.lnk" lma "strip -T lma.lnk"
|