Home
last modified time | relevance | path

Searched refs:vma (Results 1 – 25 of 199) sorted by relevance

12345678

/mirbsd/src/gnu/usr.bin/binutils/bfd/
Dmmo.c373 static void mmo_xore_64 (asection *, bfd_vma vma, bfd_vma value);
374 static void mmo_xore_32 (asection *, bfd_vma vma, unsigned int);
375 static void mmo_xore_16 (asection *, bfd_vma vma, unsigned int);
607 bfd_vma vma = bfd_get_section_vma (abfd, sec); in mmo_find_sec_w_addr() local
614 if (infop->addr >= vma && infop->addr < vma + sec->size) in mmo_find_sec_w_addr()
622 bfd_vma vma = bfd_get_section_vma (abfd, sec); in mmo_find_sec_w_addr_grow() local
629 if (infop->addr >= vma && infop->addr < vma + MAX_ARTIFICIAL_SECTION_SIZE) in mmo_find_sec_w_addr_grow()
639 mmo_decide_section (bfd *abfd, bfd_vma vma) in mmo_decide_section() argument
645 info.addr = vma; in mmo_decide_section()
658 if ((vma >> 56) == 0) in mmo_decide_section()
[all …]
Daout-tic30.c195 relocation = (symbol->section->vma >> 2); in tic30_aout_fix_16()
220 relocation = (symbol->section->vma >> 2); in tic30_aout_fix_32()
329 obj_textsec (abfd)->vma = N_TXTADDR (*execp); in tic30_aout_callback()
330 obj_datasec (abfd)->vma = N_DATADDR (*execp); in tic30_aout_callback()
331 obj_bsssec (abfd)->vma = N_BSSADDR (*execp); in tic30_aout_callback()
333 obj_textsec (abfd)->lma = obj_textsec (abfd)->vma; in tic30_aout_callback()
334 obj_datasec (abfd)->lma = obj_datasec (abfd)->vma; in tic30_aout_callback()
335 obj_bsssec (abfd)->lma = obj_bsssec (abfd)->vma; in tic30_aout_callback()
524 relocation -= (input_section->output_section->vma + input_section->output_offset); in tic30_aout_final_link_relocate()
701 bfd_vma vma = 0; in MY_bfd_final_link() local
[all …]
Dtekhex.c253 bfd_vma vma; member
265 #define enda(x) (x->vma + x->size)
300 find_chunk (bfd *abfd, bfd_vma vma) in find_chunk() argument
304 vma &= ~CHUNK_MASK; in find_chunk()
305 while (d && (d->vma) != vma) in find_chunk()
317 d->vma = vma; in find_chunk()
378 section->vma = getvalue (&src); in first_phase()
379 section->size = getvalue (&src) - section->vma; in first_phase()
413 new->symbol.value = getvalue (&src) - section->vma; in first_phase()
545 for (addr = section->vma; count != 0; count--, addr++) in move_section_contents()
[all …]
Dcoff-mips.c498 relocation += symbol->section->output_section->vma;
650 gp = symbol->section->output_section->vma + 0x4000;
697 relocation += symbol->section->output_section->vma;
796 contents + refhi->r_vaddr - input_section->vma);
801 contents + reflo->r_vaddr - input_section->vma)
820 contents + refhi->r_vaddr - input_section->vma);
987 int_rel.r_vaddr - input_section->vma)))
1100 + s->output_section->vma
1107 relocation -= int_rel.r_vaddr - input_section->vma;
1122 int_rel.r_vaddr - input_section->vma)))
[all …]
Dcoff-a29k.c65 symbol->section->output_section->vma +
151 + input_section->output_section->vma
304 relent->address-= section->vma;
357 loc = contents + rel->r_vaddr - input_section->vma;
381 val = (sec->output_section->vma
384 - sec->vma);
394 + sec->output_section->vma
401 rel->r_vaddr - input_section->vma, TRUE)))
410 input_section, rel->r_vaddr - input_section->vma)))
450 if (signed_value == - (long) (rel->r_vaddr - input_section->vma))
[all …]
Dcoff-alpha.c815 if (sec->vma < lo
821 lo = sec->vma;
838 + h->u.def.section->output_section->vma
969 - (input_section->vma + rel->address));
974 - (input_section->output_section->vma
1015 relocation += symbol->section->output_section->vma;
1075 relocation += symbol->section->output_section->vma;
1108 relocation += symbol->section->output_section->vma;
1334 + hsec->output_section->vma
1461 lita_vma = lita_sec->output_offset + lita_sec->output_section->vma;
[all …]
Dpdp11.c564 obj_textsec (abfd)->vma = N_TXTADDR(*execp); in NAME()
565 obj_datasec (abfd)->vma = N_DATADDR(*execp); in NAME()
566 obj_bsssec (abfd)->vma = N_BSSADDR(*execp); in NAME()
617 || (execp->a_entry >= obj_textsec(abfd)->vma in NAME()
618 && execp->a_entry < obj_textsec(abfd)->vma + obj_textsec(abfd)->size)) in NAME()
809 bfd_vma vma = 0; in adjust_o_magic() local
815 obj_textsec (abfd)->vma = vma; in adjust_o_magic()
817 vma = obj_textsec (abfd)->vma; in adjust_o_magic()
820 vma += obj_textsec (abfd)->size; in adjust_o_magic()
827 vma += pad; in adjust_o_magic()
[all …]
Daoutx.h550 obj_textsec (abfd)->vma = N_TXTADDR (*execp); in NAME()
551 obj_datasec (abfd)->vma = N_DATADDR (*execp); in NAME()
552 obj_bsssec (abfd)->vma = N_BSSADDR (*execp); in NAME()
608 || (execp->a_entry >= obj_textsec (abfd)->vma in NAME()
609 && execp->a_entry < (obj_textsec (abfd)->vma in NAME()
869 bfd_vma vma = 0; in adjust_o_magic() local
875 obj_textsec (abfd)->vma = vma; in adjust_o_magic()
877 vma = obj_textsec (abfd)->vma; in adjust_o_magic()
880 vma += obj_textsec (abfd)->size; in adjust_o_magic()
887 vma += pad; in adjust_o_magic()
[all …]
Dcoff-or32.c71 symbol->section->output_section->vma +
154 + input_section->output_section->vma
326 relent->address-= section->vma;
381 loc = contents + rel->r_vaddr - input_section->vma;
405 val = (sec->output_section->vma
408 - sec->vma);
418 + sec->output_section->vma
425 rel->r_vaddr - input_section->vma, TRUE)))
434 input_section, rel->r_vaddr - input_section->vma)))
460 signed_value -= (input_section->output_section->vma
[all …]
Daout-target.h48 obj_textsec (abfd)->vma = N_TXTADDR (*execp); in MY()
49 obj_datasec (abfd)->vma = N_DATADDR (*execp); in MY()
50 obj_bsssec (abfd)->vma = N_BSSADDR (*execp); in MY()
56 && execp->a_entry > obj_textsec (abfd)->vma) in MY()
60 adjust = execp->a_entry - obj_textsec (abfd)->vma; in MY()
63 obj_textsec (abfd)->vma += adjust; in MY()
64 obj_datasec (abfd)->vma += adjust; in MY()
65 obj_bsssec (abfd)->vma += adjust; in MY()
69 obj_textsec (abfd)->lma = obj_textsec (abfd)->vma; in MY()
70 obj_datasec (abfd)->lma = obj_datasec (abfd)->vma; in MY()
[all …]
Dcoff-sh.c408 symbol->section->output_section->vma +
436 *addendp += sec->vma;
537 cache_ptr->addend = - (ptr->section->vma + ptr->value); \
615 sym_value -= (input_section->output_section->vma
760 laddr = irel->r_vaddr - sec->vma + 4;
800 paddr += sec->vma;
840 - sec->vma
841 + sec->output_section->vma
860 + h->root.u.def.section->output_section->vma
864 symval += bfd_get_32 (abfd, contents + paddr - sec->vma);
[all …]
Dcoff-i960.c91 cache_ptr->addend = - (ptr->section->vma + ptr->value); \
95 cache_ptr->addend += asect->vma; \
440 val = (sec->output_section->vma
443 - sec->vma);
455 + sec->output_section->vma
462 rel->r_vaddr - input_section->vma, TRUE)))
488 rel->r_vaddr - input_section->vma)))
520 + (rel->r_vaddr - input_section->vma)));
524 contents + (rel->r_vaddr - input_section->vma));
537 addend += input_section->vma;
[all …]
Dcoff-mcore.c232 - input_section->vma
234 + input_section->output_section->vma;
313 * addendp = sec->vma - 2; /* XXX guess - is this right ? */
399 loc = contents + rel->r_vaddr - input_section->vma;
431 + sec->output_section->vma
457 + sec->output_section->vma
464 rel->r_vaddr - input_section->vma, TRUE)))
504 input_section, contents, rel->r_vaddr - input_section->vma,
528 input_section, rel->r_vaddr - input_section->vma)))
Dcoff-tic80.c482 *addendp = (sec -> output_section -> vma + sec -> output_offset) - sec -> vma;
568 val = (sec->output_section->vma
572 val -= sec->vma;
584 + sec->output_section->vma
592 rel->r_vaddr - input_section->vma, TRUE)))
597 addr = rel->r_vaddr - input_section->vma;
717 rel->r_vaddr - input_section->vma)))
Delf32-m68k.c1531 outrel.r_offset = (sgot->output_section->vma
1554 relocation += sgot->output_section->vma;
1584 relocation = (splt->output_section->vma
1654 outrel.r_offset += (input_section->output_section->vma
1871 sgot->output_section->vma
1874 - (splt->output_section->vma
1886 (splt->output_section->vma
1893 rela.r_offset = (sgot->output_section->vma
1923 rela.r_offset = (sgot->output_section->vma
1973 + h->root.u.def.section->output_section->vma
[all …]
Dcoff-arm.c590 relocation += symbol->section->output_section->vma; in aoutarm_fix_pcrel_26()
593 relocation -= input_section->output_section->vma; in aoutarm_fix_pcrel_26()
695 relocation += symbol->section->output_section->vma; in coff_thumb_pcrel_common()
698 relocation -= input_section->output_section->vma; in coff_thumb_pcrel_common()
903 - input_section->vma in arm_emit_base_file_entry()
905 + input_section->output_section->vma; in arm_emit_base_file_entry()
1204 addend -= rel->r_vaddr - input_section->vma; in coff_arm_relocate_section()
1257 val = (sec->output_section->vma in coff_arm_relocate_section()
1260 - sec->vma); in coff_arm_relocate_section()
1279 + h_sec->output_section->vma in coff_arm_relocate_section()
[all …]
Daix5ppc-core.c129 sec->vma = core.c_stackorg;
139 sec->vma = 0;
153 sec->vma = 0;
167 sec->vma = core.c_dataorg;
190 sec->vma = ldinfo.ldinfo_dataorg;
218 sec->vma = vminfo.vminfo_addr;
Dtrad-core.c187 core_datasec (abfd)->vma = HOST_DATA_START_ADDR;
189 core_datasec (abfd)->vma = HOST_TEXT_START_ADDR + (NBPG * u.u_tsize);
193 core_stacksec (abfd)->vma = HOST_STACK_START_ADDR;
195 core_stacksec (abfd)->vma = HOST_STACK_END_ADDR - (NBPG * u.u_ssize);
212 core_regsec (abfd)->vma = - (bfd_vma) (unsigned long) u.u_ar0;
Dlynx-core.c57 make_bfd_asection (abfd, name, flags, size, vma, filepos) in make_bfd_asection() argument
62 bfd_vma vma;
80 asect->vma = vma;
Delf32-i386.c2071 return elf_hash_table (info)->tls_sec->vma; in dtpoff_base()
2085 return htab->tls_size + htab->tls_sec->vma - address; in tpoff()
2202 relocation = (sec->output_section->vma in elf_i386_relocate_section()
2245 addend += msec->output_section->vma + msec->output_offset; in elf_i386_relocate_section()
2288 relocation = (input_section->output_section->vma in elf_i386_relocate_section()
2364 outrel.r_offset = (htab->sgot->output_section->vma in elf_i386_relocate_section()
2380 relocation = htab->sgot->output_section->vma in elf_i386_relocate_section()
2382 - htab->sgotplt->output_section->vma in elf_i386_relocate_section()
2412 relocation -= htab->sgotplt->output_section->vma in elf_i386_relocate_section()
2418 relocation = htab->sgotplt->output_section->vma in elf_i386_relocate_section()
[all …]
Dhpux-core.c118 make_bfd_asection (abfd, name, flags, size, vma, alignment_power) in make_bfd_asection() argument
123 bfd_vma vma;
141 asect->vma = vma;
332 asect->size, asect->vma,
/mirbsd/src/gnu/usr.bin/binutils/ld/
Dmri.c41 etree_type *vma; member
78 etree_type *vma, in mri_add_to_list() argument
86 (*ptr)->vma = vma; in mri_add_to_list()
95 mri_output_section (const char *name, etree_type *vma) in mri_output_section() argument
97 mri_add_to_list (&address, name, vma, 0, 0, 0); in mri_output_section()
145 olist->vma = alist->vma; in mri_draw_tree()
153 mri_add_to_list (&order, alist->name, alist->vma, 0, 0, 0); in mri_draw_tree()
206 base = p->vma ? p->vma : exp_nameop (NAME, "."); in mri_draw_tree()
Dldwrite.c365 n->vma = s->vma; in clone_section()
382 printf ("vma %x size %x\n", s->vma, s->size); in ds()
445 bfd_vma vma = original_sec->vma; in split_sections() local
506 vma += shift_offset; in split_sections()
507 n->lma = n->vma = vma; in split_sections()
/mirbsd/src/gnu/usr.bin/binutils/binutils/
Dobjdump.c620 objdump_print_value (bfd_vma vma, struct disassemble_info *info, in objdump_print_value() argument
628 bfd_sprintf_vma (aux->abfd, buf, vma); in objdump_print_value()
675 find_symbol_for_address (bfd_vma vma, in find_symbol_for_address() argument
710 if (bfd_asymbol_value (sym) > vma) in find_symbol_for_address()
712 else if (bfd_asymbol_value (sym) < vma) in find_symbol_for_address()
741 && vma >= bfd_get_section_vma (abfd, sec) in find_symbol_for_address()
742 && vma < (bfd_get_section_vma (abfd, sec) in find_symbol_for_address()
786 && vma >= bfd_get_section_vma (abfd, sec) in find_symbol_for_address()
787 && vma < (bfd_get_section_vma (abfd, sec) in find_symbol_for_address()
798 || bfd_asymbol_value (sorted_syms [thisplace]) > vma) in find_symbol_for_address()
[all …]
Daddr2line.c131 bfd_vma vma; in find_address_in_section() local
140 vma = bfd_get_section_vma (abfd, section); in find_address_in_section()
141 if (pc < vma) in find_address_in_section()
145 if (pc >= vma + size) in find_address_in_section()
148 found = bfd_find_nearest_line (abfd, section, syms, pc - vma, in find_address_in_section()

12345678