/toolchain/binutils/binutils-2.25/bfd/ |
D | mmo.c | 378 static void mmo_xore_64 (asection *, bfd_vma vma, bfd_vma value); 379 static void mmo_xore_32 (asection *, bfd_vma vma, unsigned int); 380 static void mmo_xore_16 (asection *, bfd_vma vma, unsigned int); 610 bfd_vma vma = bfd_get_section_vma (abfd, sec); in mmo_find_sec_w_addr() local 617 if (infop->addr >= vma && infop->addr < vma + sec->size) in mmo_find_sec_w_addr() 625 bfd_vma vma = bfd_get_section_vma (abfd, sec); in mmo_find_sec_w_addr_grow() local 632 if (infop->addr >= vma && infop->addr < vma + MAX_ARTIFICIAL_SECTION_SIZE) in mmo_find_sec_w_addr_grow() 642 mmo_decide_section (bfd *abfd, bfd_vma vma) in mmo_decide_section() argument 648 info.addr = vma; in mmo_decide_section() 661 if ((vma >> 56) == 0) in mmo_decide_section() [all …]
|
D | aout-tic30.c | 194 relocation = (symbol->section->vma >> 2); in tic30_aout_fix_16() 219 relocation = (symbol->section->vma >> 2); in tic30_aout_fix_32() 345 obj_textsec (abfd)->vma = N_TXTADDR (*execp); in tic30_aout_callback() 346 obj_datasec (abfd)->vma = N_DATADDR (*execp); in tic30_aout_callback() 347 obj_bsssec (abfd)->vma = N_BSSADDR (*execp); in tic30_aout_callback() 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() 540 relocation -= (input_section->output_section->vma + input_section->output_offset); in tic30_aout_final_link_relocate() 717 bfd_vma vma = 0; in MY_bfd_final_link() local [all …]
|
D | coff-alpha.c | 776 if (sec->vma < lo in alpha_ecoff_get_relocated_section_contents() 782 lo = sec->vma; in alpha_ecoff_get_relocated_section_contents() 799 + h->u.def.section->output_section->vma in alpha_ecoff_get_relocated_section_contents() 930 - (input_section->vma + rel->address)); in alpha_ecoff_get_relocated_section_contents() 935 - (input_section->output_section->vma in alpha_ecoff_get_relocated_section_contents() 976 relocation += symbol->section->output_section->vma; in alpha_ecoff_get_relocated_section_contents() 1036 relocation += symbol->section->output_section->vma; in alpha_ecoff_get_relocated_section_contents() 1069 relocation += symbol->section->output_section->vma; in alpha_ecoff_get_relocated_section_contents() 1309 + hsec->output_section->vma in alpha_convert_external_reloc() 1434 lita_vma = lita_sec->output_offset + lita_sec->output_section->vma; in alpha_relocate_section() [all …]
|
D | coff-mips.c | 460 relocation += symbol->section->output_section->vma; in mips_refhi_reloc() 598 gp = symbol->section->output_section->vma + 0x4000; in mips_gprel_reloc() 645 relocation += symbol->section->output_section->vma; in mips_gprel_reloc() 757 contents + refhi->r_vaddr - input_section->vma); in mips_relocate_hi() 762 contents + reflo->r_vaddr - input_section->vma) in mips_relocate_hi() 781 contents + refhi->r_vaddr - input_section->vma); in mips_relocate_hi() 946 int_rel.r_vaddr - input_section->vma))) in mips_relocate_section() 1059 + s->output_section->vma in mips_relocate_section() 1066 relocation -= int_rel.r_vaddr - input_section->vma; in mips_relocate_section() 1081 int_rel.r_vaddr - input_section->vma))) in mips_relocate_section() [all …]
|
D | pdp11.c | 569 obj_textsec (abfd)->vma = N_TXTADDR(*execp); in NAME() 570 obj_datasec (abfd)->vma = N_DATADDR(*execp); in NAME() 571 obj_bsssec (abfd)->vma = N_BSSADDR(*execp); in NAME() 622 || (execp->a_entry >= obj_textsec(abfd)->vma in NAME() 623 && execp->a_entry < obj_textsec(abfd)->vma + obj_textsec(abfd)->size)) in NAME() 810 bfd_vma vma = 0; in adjust_o_magic() local 816 obj_textsec (abfd)->vma = vma; in adjust_o_magic() 818 vma = obj_textsec (abfd)->vma; in adjust_o_magic() 821 vma += obj_textsec (abfd)->size; in adjust_o_magic() 828 vma += pad; in adjust_o_magic() [all …]
|
D | aoutx.h | 570 obj_textsec (abfd)->vma = N_TXTADDR (*execp); in NAME() 571 obj_datasec (abfd)->vma = N_DATADDR (*execp); in NAME() 572 obj_bsssec (abfd)->vma = N_BSSADDR (*execp); in NAME() 628 || (execp->a_entry >= obj_textsec (abfd)->vma in NAME() 629 && execp->a_entry < (obj_textsec (abfd)->vma in NAME() 899 bfd_vma vma = 0; in adjust_o_magic() local 905 obj_textsec (abfd)->vma = vma; in adjust_o_magic() 907 vma = obj_textsec (abfd)->vma; in adjust_o_magic() 910 vma += obj_textsec (abfd)->size; in adjust_o_magic() 917 vma += pad; in adjust_o_magic() [all …]
|
D | tekhex.c | 255 bfd_vma vma; member 267 #define enda(x) (x->vma + x->size) 316 find_chunk (bfd *abfd, bfd_vma vma, bfd_boolean create) in find_chunk() argument 320 vma &= ~CHUNK_MASK; in find_chunk() 321 while (d && (d->vma) != vma) in find_chunk() 334 d->vma = vma; in find_chunk() 406 if (!getvalue (&src, §ion->vma)) in first_phase() 410 section->size = val - section->vma; in first_phase() 485 new_symbol->symbol.value = val - section->vma; in first_phase() 628 for (addr = section->vma; count != 0; count--, addr++) in move_section_contents() [all …]
|
D | coff-i960.c | 78 cache_ptr->addend = - (ptr->section->vma + ptr->value); \ 82 cache_ptr->addend += asect->vma; \ 432 val = (sec->output_section->vma in coff_i960_relocate_section() 435 - sec->vma); in coff_i960_relocate_section() 447 + sec->output_section->vma in coff_i960_relocate_section() 454 rel->r_vaddr - input_section->vma, TRUE))) in coff_i960_relocate_section() 480 rel->r_vaddr - input_section->vma))) in coff_i960_relocate_section() 512 + (rel->r_vaddr - input_section->vma))); in coff_i960_relocate_section() 516 contents + (rel->r_vaddr - input_section->vma)); in coff_i960_relocate_section() 529 addend += input_section->vma; in coff_i960_relocate_section() [all …]
|
D | coff-sh.c | 404 symbol->section->output_section->vma + in get_symbol_value() 431 *addendp += sec->vma; in coff_sh_rtype_to_howto() 546 cache_ptr->addend = - (ptr->section->vma + ptr->value); \ 622 sym_value -= (input_section->output_section->vma in sh_reloc() 769 laddr = irel->r_vaddr - sec->vma + 4; in sh_relax_section() 809 paddr += sec->vma; in sh_relax_section() 849 - sec->vma in sh_relax_section() 850 + sec->output_section->vma in sh_relax_section() 869 + h->root.u.def.section->output_section->vma in sh_relax_section() 873 symval += bfd_get_32 (abfd, contents + paddr - sec->vma); in sh_relax_section() [all …]
|
D | aout-target.h | 48 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 …]
|
D | coff-mcore.c | 219 - input_section->vma in mcore_emit_base_file_entry() 221 + input_section->output_section->vma; in mcore_emit_base_file_entry() 316 * addendp = sec->vma - 2; /* XXX guess - is this right ? */ in coff_mcore_rtype_to_howto() 393 loc = contents + rel->r_vaddr - input_section->vma; in coff_mcore_relocate_section() 425 + sec->output_section->vma in coff_mcore_relocate_section() 451 + sec->output_section->vma in coff_mcore_relocate_section() 458 rel->r_vaddr - input_section->vma, TRUE))) in coff_mcore_relocate_section() 498 input_section, contents, rel->r_vaddr - input_section->vma, in coff_mcore_relocate_section() 523 input_section, rel->r_vaddr - input_section->vma))) in coff_mcore_relocate_section()
|
D | elf64-s390.c | 422 + symbol->section->output_section->vma in s390_elf_ldisp_reloc() 427 relocation -= (input_section->output_section->vma in s390_elf_ldisp_reloc() 2220 return elf_hash_table (info)->tls_sec->vma; in dtpoff_base() 2234 return htab->tls_size + htab->tls_sec->vma - address; in tpoff() 2332 relocation = (htab->elf.iplt->output_section->vma in elf_s390_relocate_section() 2341 relocation -= htab->elf.sgot->output_section->vma; in elf_s390_relocate_section() 2364 relocation += htab->elf.sgot->output_section->vma; in elf_s390_relocate_section() 2424 relocation += htab->elf.igotplt->output_section->vma; in elf_s390_relocate_section() 2437 relocation += htab->elf.sgot->output_section->vma; in elf_s390_relocate_section() 2532 + h->root.u.def.section->output_section->vma in elf_s390_relocate_section() [all …]
|
D | coff-arm.c | 547 osect_vma = h->root.u.def.section->output_section->vma; in coff_arm_rtype_to_howto() 558 osect_vma = sec->output_section->vma; in coff_arm_rtype_to_howto() 613 relocation += symbol->section->output_section->vma; in aoutarm_fix_pcrel_26() 616 relocation -= input_section->output_section->vma; in aoutarm_fix_pcrel_26() 718 relocation += symbol->section->output_section->vma; in coff_thumb_pcrel_common() 721 relocation -= input_section->output_section->vma; in coff_thumb_pcrel_common() 942 - input_section->vma in arm_emit_base_file_entry() 944 + input_section->output_section->vma); in arm_emit_base_file_entry() 1246 addend -= rel->r_vaddr - input_section->vma; in coff_arm_relocate_section() 1301 val = (sec->output_section->vma in coff_arm_relocate_section() [all …]
|
D | elf32-s390.c | 397 + symbol->section->output_section->vma in s390_elf_ldisp_reloc() 402 relocation -= (input_section->output_section->vma in s390_elf_ldisp_reloc() 2268 return elf_hash_table (info)->tls_sec->vma; in dtpoff_base() 2282 return htab->tls_size + htab->tls_sec->vma - address; in tpoff() 2376 relocation = (htab->elf.iplt->output_section->vma in elf_s390_relocate_section() 2384 relocation -= htab->elf.sgot->output_section->vma; in elf_s390_relocate_section() 2405 relocation += htab->elf.sgot->output_section->vma; in elf_s390_relocate_section() 2464 relocation += htab->elf.igotplt->output_section->vma; in elf_s390_relocate_section() 2477 relocation += htab->elf.sgot->output_section->vma; in elf_s390_relocate_section() 2571 + h->root.u.def.section->output_section->vma in elf_s390_relocate_section() [all …]
|
D | coff-tic80.c | 462 *addendp = (sec -> output_section -> vma + sec -> output_offset) - sec -> vma; in coff_tic80_rtype_to_howto() 545 val = (sec->output_section->vma in coff_tic80_relocate_section() 549 val -= sec->vma; in coff_tic80_relocate_section() 561 + sec->output_section->vma in coff_tic80_relocate_section() 569 rel->r_vaddr - input_section->vma, TRUE))) in coff_tic80_relocate_section() 574 addr = rel->r_vaddr - input_section->vma; in coff_tic80_relocate_section() 694 rel->r_vaddr - input_section->vma))) in coff_tic80_relocate_section()
|
D | aix5ppc-core.c | 132 sec->vma = core.c_stackorg; in xcoff64_core_p() 142 sec->vma = 0; in xcoff64_core_p() 156 sec->vma = 0; in xcoff64_core_p() 170 sec->vma = core.c_dataorg; in xcoff64_core_p() 193 sec->vma = ldinfo.ldinfo_dataorg; in xcoff64_core_p() 221 sec->vma = vminfo.vminfo_addr; in xcoff64_core_p()
|
D | trad-core.c | 183 core_datasec (abfd)->vma = HOST_DATA_START_ADDR; in trad_unix_core_file_p() 185 core_datasec (abfd)->vma = HOST_TEXT_START_ADDR + (NBPG * u.u_tsize); in trad_unix_core_file_p() 189 core_stacksec (abfd)->vma = HOST_STACK_START_ADDR; in trad_unix_core_file_p() 191 core_stacksec (abfd)->vma = HOST_STACK_END_ADDR - (NBPG * u.u_ssize); in trad_unix_core_file_p() 208 core_regsec (abfd)->vma = - (bfd_vma) (unsigned long) u.u_ar0; in trad_unix_core_file_p()
|
D | elfnn-aarch64.c | 1685 bfd_vma vma; member 2161 place = (input_section->output_section->vma + input_section->output_offset in aarch64_relocate() 2208 + input_sec->output_section->vma + rel->r_offset); in aarch64_type_of_stub() 2454 + stub_entry->target_section->output_section->vma); in aarch64_build_one_stub() 2458 bfd_vma place = (stub_entry->stub_offset + stub_sec->output_section->vma in aarch64_build_one_stub() 2528 veneered_insn_loc = stub_entry->target_section->output_section->vma in aarch64_build_one_stub() 2531 veneer_entry_loc = stub_entry->stub_sec->output_section->vma in aarch64_build_one_stub() 3017 if (amap->vma > bmap->vma) in elf_aarch64_compare_mapping() 3019 else if (amap->vma < bmap->vma) in elf_aarch64_compare_mapping() 3085 unsigned int span_start = sec_data->map[span].vma; in _bfd_aarch64_erratum_835769_scan() [all …]
|
D | elf32-i386.c | 3114 return elf_hash_table (info)->tls_sec->vma; in elf_i386_dtpoff_base() 3133 return static_tls_size + htab->tls_sec->vma - address; in elf_i386_tpoff() 3224 relocation = (sec->output_section->vma in elf_i386_relocate_section() 3275 addend += msec->output_section->vma + msec->output_offset; in elf_i386_relocate_section() 3357 relocation = (plt->output_section->vma in elf_i386_relocate_section() 3395 outrel.r_offset = (input_section->output_section->vma in elf_i386_relocate_section() 3407 + h->root.u.def.section->output_section->vma in elf_i386_relocate_section() 3486 relocation = (base_got->output_section->vma in elf_i386_relocate_section() 3488 - gotplt->output_section->vma in elf_i386_relocate_section() 3498 relocation -= (gotplt->output_section->vma in elf_i386_relocate_section() [all …]
|
D | elf64-hppa.c | 1981 + sopd->output_section->vma); in elf64_hppa_finish_dynamic_symbol() 2003 value = (eh->root.u.def.value + eh->root.u.def.section->vma); in elf64_hppa_finish_dynamic_symbol() 2027 + splt->output_section->vma); in elf64_hppa_finish_dynamic_symbol() 2141 + eh->root.u.def.section->output_section->vma in elf64_hppa_finalize_opd() 2174 + sopd->output_section->vma); in elf64_hppa_finalize_opd() 2268 + hppa_info->opd_sec->output_section->vma); in elf64_hppa_finalize_dlt() 2276 value += eh->root.u.def.section->output_section->vma; in elf64_hppa_finalize_dlt() 2278 value += eh->root.u.def.section->vma; in elf64_hppa_finalize_dlt() 2312 + sdlt->output_section->vma); in elf64_hppa_finalize_dlt() 2378 + rent->sec->output_section->vma); in elf64_hppa_finalize_dynreloc() [all …]
|
/toolchain/binutils/binutils-2.25/ld/ |
D | mri.c | 40 etree_type *vma; member 80 etree_type *vma, in mri_add_to_list() argument 88 (*ptr)->vma = vma; in mri_add_to_list() 97 mri_output_section (const char *name, etree_type *vma) in mri_output_section() argument 99 mri_add_to_list (&address, name, vma, 0, 0, 0); in mri_output_section() 147 olist->vma = alist->vma; in mri_draw_tree() 155 mri_add_to_list (&order, alist->name, alist->vma, 0, 0, 0); in mri_draw_tree() 208 base = p->vma ? p->vma : exp_nameop (NAME, "."); in mri_draw_tree()
|
/toolchain/binutils/binutils-2.25/ld/emultempl/ |
D | spu_ovl.S | 33 #define vma reserved1 macro 146 lqx vma, tab1, off1 # 1,6 8 158 rotqbyi size1, vma, 4 # 1,4 14 220 lqx vma, tab2, off2 # 1,6 7 237 lqx vma, tab2, off2 # 1,6 6 252 rotqbyi size2, vma, 4 # 1,4 13 288 rotqbyi sz, vma, 8 # 1,4 -5 297 rotqbyi sz, vma, 8 # 1,4 0 299 rotqbyi osize, vma, 4 # 1,4 1 330 wrch $MFC_LSA, vma # 1,6 17 [all …]
|
/toolchain/binutils/binutils-2.25/binutils/testsuite/binutils-all/ |
D | objcopy.exp | 306 while {[regexp $headers_regexp $got all name size vma rest]} { 307 set vma 0x$vma 310 if {$low == "" || $vma < $low} { 311 set low $vma 327 if ![regexp $want $got all start vma] then { 330 set vma 0x$vma 331 if {$vma != $low + 0x123} then { 332 send_log "$vma != $low + 0x123\n" 347 while {[regexp $headers_regexp $got all name size vma rest]} { 348 set vma 0x$vma [all …]
|
/toolchain/binutils/binutils-2.25/binutils/ |
D | objdump.c | 770 objdump_print_value (bfd_vma vma, struct disassemble_info *inf, in objdump_print_value() argument 778 bfd_sprintf_vma (aux->abfd, buf, vma); in objdump_print_value() 826 find_symbol_for_address (bfd_vma vma, in find_symbol_for_address() argument 862 if (bfd_asymbol_value (sym) > vma) in find_symbol_for_address() 864 else if (bfd_asymbol_value (sym) < vma) in find_symbol_for_address() 915 && vma >= bfd_get_section_vma (abfd, sec) in find_symbol_for_address() 916 && vma < (bfd_get_section_vma (abfd, sec) in find_symbol_for_address() 975 bfd_vma vma, struct disassemble_info *inf, in objdump_print_addr_with_sym() argument 978 objdump_print_value (vma, inf, skip_zeroes); in objdump_print_addr_with_sym() 987 if (vma < secaddr) in objdump_print_addr_with_sym() [all …]
|
/toolchain/binutils/binutils-2.25/gprof/ |
D | corefile.c | 462 addr - core_text_sect->vma, in get_src_info() 763 bfd_vma vma, min_vma = ~(bfd_vma) 0, max_vma = 0; in core_create_line_syms() local 791 vma_high = core_text_sect->vma + bfd_get_section_size (core_text_sect); in core_create_line_syms() 792 for (vma = core_text_sect->vma; vma < vma_high; vma += min_insn_size) in core_create_line_syms() 796 if (!get_src_info (vma, &filename, &dummy.name, &dummy.line_num) in core_create_line_syms() 826 min_vma = MIN (vma, min_vma); in core_create_line_syms() 827 max_vma = MAX (vma, max_vma); in core_create_line_syms() 858 for (vma = core_text_sect->vma; vma < vma_high; vma += min_insn_size) in core_create_line_syms() 862 if (!get_src_info (vma, &filename, <ab.limit->name, <ab.limit->line_num) in core_create_line_syms() 872 ltab.limit->addr = vma; in core_create_line_syms()
|