Home
last modified time | relevance | path

Searched refs:lma (Results 1 – 25 of 114) sorted by relevance

12345

/toolchain/binutils/binutils-2.25/ld/emultempl/
Drxelf.em58 { "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/
Dbinary.c245 && (! 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()
Delf-nacl.c55 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()
Delf.c1000 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 …]
Daout-target.h69 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()
Dcoff-tic54x.c89 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()
Dsrec.c563 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()
Dhp300hpux.c234 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()
Daout-tic30.c349 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()
Dihex.c372 sec->lma = extbase + segbase + addr; in ihex_scan()
681 n->where = section->lma + offset; in ihex_set_section_contents()
Dbfd-in.h281 #define bfd_get_section_lma(bfd, ptr) ((void) bfd, (ptr)->lma)
288 #define bfd_section_lma(bfd, ptr) ((ptr)->lma)
Dverilog.c132 entry->where = section->lma + offset; in verilog_set_section_contents()
/toolchain/binutils/binutils-2.25/binutils/
Dobjcopy.c1847 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/
Dscript-sections.cc3752 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 …]
Dscript-sections.h285 header_size_adjustment(uint64_t lma, size_t sizeof_headers) const;
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-scripts/
Drgn-at6.d5 # Test that lma is aligned as for vma when lma_region==region.
Drgn-at7.d5 # Test that lma is only aligned by script when lma_region!=region.
Drgn-at8.d5 # Test that lma is aligned when lma_region!=region and requested by script.
Drgn-at9.d5 # Test that lma is adjusted in case the section start vma is aligned and
Drgn-at11.d5 # Test that lma is not adjusted in case the section start vma is aligned and
Drgn-at10.d5 # Test that lma is adjusted in case the section start vma is aligned and
Dempty-aligned.t22 /* Same when setting vma and lma. This also shouldn't result in
/toolchain/binutils/binutils-2.25/ld/
Dldwrite.c390 n->lma = s->lma; in clone_section()
533 n->lma = n->vma = vma; in split_sections()
Dldlang.c4012 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/
Dbinutils.exp158 binutils_test strip "-T ${srcdir}/${subdir}/lma.lnk" lma "strip -T lma.lnk"

12345