Home
last modified time | relevance | path

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

12345678910>>...16

/netbsd-src/usr.sbin/ldpd/
H A Dldp_peer.c467 struct label_mapping *lma; in ldp_peer_add_mapping() local
471 if ((lma = ldp_peer_get_lm(p, a, prefix)) != NULL) { in ldp_peer_add_mapping()
473 lma->label = label; in ldp_peer_add_mapping()
477 lma = malloc(sizeof(*lma)); in ldp_peer_add_mapping()
479 if (!lma) { in ldp_peer_add_mapping()
484 memcpy(&lma->address, a, a->sa_len); in ldp_peer_add_mapping()
485 lma->prefix = prefix; in ldp_peer_add_mapping()
486 lma->label = label; in ldp_peer_add_mapping()
488 rb_tree_insert_node(&p->label_mapping_tree, lma); in ldp_peer_add_mapping()
497 struct label_mapping *lma; in ldp_peer_delete_mapping() local
[all …]
H A Dldp_command.c490 char lma[256]; in show_labels() local
494 strlcpy(lma, inet_ntoa(lm->address.sin.sin_addr), in show_labels()
495 sizeof(lma)); in show_labels()
497 inet_ntoa(p->ldp_id), lm->label, lma, lm->prefix); in show_labels()
/netbsd-src/external/gpl3/binutils.old/dist/ld/emultempl/
H A 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"));
/netbsd-src/external/gpl3/binutils/dist/ld/emultempl/
H A 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"));
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Dbinary.c248 && (! found_low || s->lma < low)) in binary_set_section_contents()
250 low = s->lma; in binary_set_section_contents()
258 s->filepos = (s->lma - low) * opb; in binary_set_section_contents()
H A Delf-nacl.c53 if (seg->count == 0 || seg->sections[0]->lma % minpagesize < sizeof_headers) in segment_eligible_for_headers()
148 sec->lma = lastsec->lma + lastsec->size; in nacl_modify_segment_map()
H A 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()
H A 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()
H A Delf.c1156 newsect->lma = (phdr->p_paddr in _bfd_elf_make_section_from_shdr()
1166 newsect->lma = (phdr->p_paddr in _bfd_elf_make_section_from_shdr()
3490 newsect->lma = hdr->p_paddr / opb; in _bfd_elf_make_section_from_phdr()
3526 newsect->lma = (hdr->p_paddr + hdr->p_filesz) / opb; in _bfd_elf_make_section_from_phdr()
5253 if (((s->lma + s->size / opb) & addr_mask) < (s->lma & addr_mask)) in _bfd_elf_map_sections_to_segments()
5254 wrap_to = (s->lma + s->size / opb) & addr_mask; in _bfd_elf_map_sections_to_segments()
5276 && (((sections[0]->lma & addr_mask) & (maxpagesize - 1)) in _bfd_elf_map_sections_to_segments()
5350 phdr_lma = (sections[0]->lma - phdr_size) & addr_mask & -maxpagesize; in _bfd_elf_map_sections_to_segments()
5361 == (sections[0]->lma & addr_mask & -maxpagesize))) in _bfd_elf_map_sections_to_segments()
5372 if ((sections[0]->lma & addr_mask) < phdr_lma in _bfd_elf_map_sections_to_segments()
[all …]
H A Dsrec.c564 sec->lma = address; in srec_scan()
902 else if ((section->lma + (offset + bytes_to_do) / opb - 1) <= 0xffff) in srec_set_section_contents()
904 else if ((section->lma + (offset + bytes_to_do) / opb - 1) <= 0xffffff in srec_set_section_contents()
911 entry->where = section->lma + offset / opb; in srec_set_section_contents()
1108 + s->section->output_section->lma in srec_write_symbols()
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Dbinary.c247 && (! found_low || s->lma < low)) in binary_set_section_contents()
249 low = s->lma; in binary_set_section_contents()
257 s->filepos = (s->lma - low) * opb; in binary_set_section_contents()
H A Delf-nacl.c53 if (seg->count == 0 || seg->sections[0]->lma % minpagesize < sizeof_headers) in segment_eligible_for_headers()
148 sec->lma = lastsec->lma + lastsec->size; in nacl_modify_segment_map()
H A Delf.c1173 newsect->lma = (phdr->p_paddr in _bfd_elf_make_section_from_shdr()
1183 newsect->lma = (phdr->p_paddr in _bfd_elf_make_section_from_shdr()
2952 newsect->lma = hdr->p_paddr / opb; in _bfd_elf_make_section_from_phdr()
2988 newsect->lma = (hdr->p_paddr + hdr->p_filesz) / opb; in _bfd_elf_make_section_from_phdr()
4715 if (((s->lma + s->size / opb) & addr_mask) < (s->lma & addr_mask)) in _bfd_elf_map_sections_to_segments()
4716 wrap_to = (s->lma + s->size / opb) & addr_mask; in _bfd_elf_map_sections_to_segments()
4738 && (((sections[0]->lma & addr_mask) & (maxpagesize - 1)) in _bfd_elf_map_sections_to_segments()
4812 phdr_lma = (sections[0]->lma - phdr_size) & addr_mask & -maxpagesize; in _bfd_elf_map_sections_to_segments()
4823 == (sections[0]->lma & addr_mask & -maxpagesize))) in _bfd_elf_map_sections_to_segments()
4834 if ((sections[0]->lma & addr_mask) < phdr_lma in _bfd_elf_map_sections_to_segments()
[all …]
H A 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()
H A 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()
H A Dsrec.c564 sec->lma = address; in srec_scan()
902 else if ((section->lma + (offset + bytes_to_do) / opb - 1) <= 0xffff) in srec_set_section_contents()
904 else if ((section->lma + (offset + bytes_to_do) / opb - 1) <= 0xffffff in srec_set_section_contents()
911 entry->where = section->lma + offset / opb; in srec_set_section_contents()
1107 + s->section->output_section->lma in srec_write_symbols()
/netbsd-src/external/gpl3/binutils/dist/gold/
H A Dscript-sections.cc3955 Script_sections::header_size_adjustment(uint64_t lma, in header_size_adjustment() argument
3959 uint64_t hdr_lma = lma - sizeof_headers; in header_size_adjustment()
3961 return lma - hdr_lma; in header_size_adjustment()
4002 const uint64_t lma = ((*p)->has_load_address() in create_segments() local
4010 else if (lma - vma != last_lma - last_vma) in create_segments()
4017 < align_address(lma, abi_pagesize)) in create_segments()
4050 current_seg->set_addresses(vma, lma); in create_segments()
4067 last_lma = lma; in create_segments()
4095 uint64_t lma = first_seg->paddr(); in create_segments() local
4097 uint64_t subtract = this->header_size_adjustment(lma, sizeof_headers); in create_segments()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/gold/
H A Dscript-sections.cc3955 Script_sections::header_size_adjustment(uint64_t lma, in header_size_adjustment() argument
3959 uint64_t hdr_lma = lma - sizeof_headers; in header_size_adjustment()
3961 return lma - hdr_lma; in header_size_adjustment()
4002 const uint64_t lma = ((*p)->has_load_address() in create_segments() local
4010 else if (lma - vma != last_lma - last_vma) in create_segments()
4017 < align_address(lma, abi_pagesize)) in create_segments()
4050 current_seg->set_addresses(vma, lma); in create_segments()
4067 last_lma = lma; in create_segments()
4095 uint64_t lma = first_seg->paddr(); in create_segments() local
4097 uint64_t subtract = this->header_size_adjustment(lma, sizeof_headers); in create_segments()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/binutils/
H A Dobjcopy.c2906 padd->section->lma = pset->lma_val; in copy_object()
3184 bfd_vma lma; /* Octets. */ in copy_object() local
3189 lma = bfd_section_lma (osections[num_sec - 1]) * opb; in copy_object()
3191 if (lma + size < _pad_to) in copy_object()
3193 if (!bfd_set_section_size (osections[num_sec - 1], _pad_to - lma)) in copy_object()
3201 gaps[num_sec - 1] = _pad_to - (lma + size); in copy_object()
3202 if (max_gap < _pad_to - (lma + size)) in copy_object()
3203 max_gap = _pad_to - (lma + size); in copy_object()
4018 bfd_vma lma; in setup_section() local
4127 lma = isection->lma; in setup_section()
[all …]
/netbsd-src/external/gpl3/binutils/dist/binutils/
H A Dobjcopy.c3002 padd->section->lma = pset->lma_val; in copy_object()
3278 bfd_vma lma; /* Octets. */ in copy_object() local
3283 lma = bfd_section_lma (osections[num_sec - 1]) * opb; in copy_object()
3285 if (lma + size < _pad_to) in copy_object()
3287 if (!bfd_set_section_size (osections[num_sec - 1], _pad_to - lma)) in copy_object()
3295 gaps[num_sec - 1] = _pad_to - (lma + size); in copy_object()
3296 if (max_gap < _pad_to - (lma + size)) in copy_object()
3297 max_gap = _pad_to - (lma + size); in copy_object()
4112 bfd_vma lma; in setup_section() local
4241 lma = isection->lma; in setup_section()
[all …]
/netbsd-src/external/gpl3/binutils/dist/ld/
H A Dldwrite.c363 n->lma = s->lma; in clone_section()
502 n->lma = n->vma = vma; in split_sections()
H A Dldlang.c4691 if (section->vma != section->lma) in print_output_section_statement()
4692 minfo (_(" load address 0x%V"), section->lma); in print_output_section_statement()
5552 if (sec1->lma < sec2->lma) in sort_sections_by_lma()
5554 else if (sec1->lma > sec2->lma) in sort_sections_by_lma()
5620 s_end = (s->lma + s->size) & addr_mask; in lang_check_section_addresses()
5621 if (s_end != 0 && s_end < (s->lma & addr_mask)) in lang_check_section_addresses()
5662 s_start = s->lma; in lang_check_section_addresses()
6029 bfd_vma lma = exp_get_abs_int (os->load_base, 0, "load base"); in lang_size_sections_1() local
6030 os->bfd_section->lma = lma; in lang_size_sections_1()
6034 bfd_vma lma = os->lma_region->current; in lang_size_sections_1() local
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/ld/
H A Dldwrite.c358 n->lma = s->lma; in clone_section()
497 n->lma = n->vma = vma; in split_sections()
H A Dldlang.c4690 if (section->vma != section->lma) in print_output_section_statement()
4691 minfo (_(" load address 0x%V"), section->lma); in print_output_section_statement()
5478 if (sec1->lma < sec2->lma) in sort_sections_by_lma()
5480 else if (sec1->lma > sec2->lma) in sort_sections_by_lma()
5546 s_end = (s->lma + s->size) & addr_mask; in lang_check_section_addresses()
5547 if (s_end != 0 && s_end < (s->lma & addr_mask)) in lang_check_section_addresses()
5588 s_start = s->lma; in lang_check_section_addresses()
5955 bfd_vma lma = exp_get_abs_int (os->load_base, 0, "load base"); in lang_size_sections_1() local
5956 os->bfd_section->lma = lma; in lang_size_sections_1()
5960 bfd_vma lma = os->lma_region->current; in lang_size_sections_1() local
[all …]
H A Dldelfgen.c166 apos = asec->output_section->lma + asec->output_offset; in compare_link_order()
167 bpos = bsec->output_section->lma + bsec->output_offset; in compare_link_order()

12345678910>>...16