| /mirbsd/src/gnu/usr.bin/binutils/bfd/ |
| D | coff-maxq.c | 89 short addend = 0; in coff_maxq20_reloc() local 115 addend = reloc_entry->addend; in coff_maxq20_reloc() 117 if (addend > call_addr || addend > 0) in coff_maxq20_reloc() 118 call_addr = symbol_in->section->output_section->vma + addend; in coff_maxq20_reloc() 119 else if (addend < call_addr && addend > 0) in coff_maxq20_reloc() 120 call_addr = call_addr + addend; in coff_maxq20_reloc() 121 else if (addend < 0) in coff_maxq20_reloc() 122 call_addr = call_addr + addend; in coff_maxq20_reloc() 149 addend = (reloc_entry->addend - reloc_entry->addend); in coff_maxq20_reloc() 152 addend = reloc_entry->addend; in coff_maxq20_reloc() [all …]
|
| D | elf32-v850.c | 225 bfd_vma addend; member 238 remember_hi16s_reloc (bfd *abfd, bfd_vma addend, bfd_byte *address) in remember_hi16s_reloc() argument 250 entry->addend = addend; in remember_hi16s_reloc() 269 find_remembered_hi16s_reloc (bfd_vma addend, bfd_boolean *already_found) in find_remembered_hi16s_reloc() argument 280 if (entry->addend == addend in find_remembered_hi16s_reloc() 450 unsigned long addend) in v850_elf_perform_lo16_relocation() argument 455 if ((BIT15_SET (*insn + addend) && ! BIT15_SET (addend)) in v850_elf_perform_lo16_relocation() 456 || (OVERFLOWS (addend, *insn) in v850_elf_perform_lo16_relocation() 457 && ((! BIT15_SET (*insn)) || (BIT15_SET (addend))))) in v850_elf_perform_lo16_relocation() 461 (addend, & already_updated); in v850_elf_perform_lo16_relocation() [all …]
|
| D | nlm32-alpha.c | 433 rel->addend = 0; in nlm_alpha_read_reloc() 446 rel->addend = 0; in nlm_alpha_read_reloc() 452 rel->addend = 0; in nlm_alpha_read_reloc() 457 rel->addend = - bfd_get_section_vma (abfd, data_sec); in nlm_alpha_read_reloc() 463 rel->addend = 0; in nlm_alpha_read_reloc() 494 rel->addend = 0; in nlm_alpha_read_reloc() 501 rel->addend += gp_value; in nlm_alpha_read_reloc() 506 rel->addend += lita_address; in nlm_alpha_read_reloc() 514 rel->addend = r_symndx; in nlm_alpha_read_reloc() 522 rel->addend = (r_offset << 8) + r_size; in nlm_alpha_read_reloc() [all …]
|
| D | coff-alpha.c | 640 rptr->addend = 0; 655 rptr->addend = 0; 657 rptr->addend = - (intern->r_vaddr + 4); 665 rptr->addend += ecoff_data (abfd)->gp; 673 rptr->addend = intern->r_size; 680 rptr->addend = (intern->r_offset << 8) + intern->r_size; 689 rptr->addend = intern->r_vaddr; 694 rptr->addend = intern->r_symndx + ecoff_data (abfd)->gp; 705 rptr->addend = ecoff_data (abfd)->gp; 730 intern->r_size = rel->addend; [all …]
|
| D | elf32-d10v.c | 367 bfd_vma addend) in insert_rel_addend() argument 371 addend = (addend >> howto->rightshift << howto->bitpos) & howto->dst_mask; in insert_rel_addend() 377 insn |= addend; in insert_rel_addend() 382 insn |= addend; in insert_rel_addend() 387 insn |= addend; in insert_rel_addend() 479 bfd_vma addend; in elf32_d10v_relocate_section() local 482 addend = extract_rel_addend (input_bfd, where, howto); in elf32_d10v_relocate_section() 484 addend = _bfd_elf_rel_local_sym (output_bfd, sym, &msec, addend); in elf32_d10v_relocate_section() 485 addend -= relocation; in elf32_d10v_relocate_section() 486 addend += msec->output_section->vma + msec->output_offset; in elf32_d10v_relocate_section() [all …]
|
| D | nlm32-i386.c | 135 rel->addend = 0; in nlm_i386_read_reloc() 153 if (rel->addend != 0 in nlm_i386_write_import() 247 bfd_vma addend; in nlm_i386_mangle_relocs() local 264 addend = rel->addend + sym->value; in nlm_i386_mangle_relocs() 275 addend += nlm_fixed_header (abfd)->dataImageSize; in nlm_i386_mangle_relocs() 277 if (addend != 0 in nlm_i386_mangle_relocs() 289 val += addend; in nlm_i386_mangle_relocs() 291 rel->addend = 0; in nlm_i386_mangle_relocs()
|
| D | nlm32-sparc.c | 83 unsigned char addend[4]; member 94 bfd_vma val, addend; in nlm_sparc_read_reloc() local 109 addend = bfd_get_32 (abfd, tmp_reloc.addend); in nlm_sparc_read_reloc() 113 rel->addend = addend; in nlm_sparc_read_reloc() 127 __FUNCTION__, rel->address, rel->addend, type, rel->howto); in nlm_sparc_read_reloc() 180 __FUNCTION__, val, rel->addend, rel->howto->type); in nlm_sparc_write_reloc() 183 bfd_put_32 (abfd, rel->addend, tmp_reloc.addend); in nlm_sparc_write_reloc()
|
| D | reloc.c | 650 relocation += reloc_entry->addend; in bfd_perform_relocation() 699 reloc_entry->addend = relocation; in bfd_perform_relocation() 787 relocation -= reloc_entry->addend; in bfd_perform_relocation() 788 reloc_entry->addend = 0; in bfd_perform_relocation() 792 reloc_entry->addend = relocation; in bfd_perform_relocation() 798 reloc_entry->addend = 0; in bfd_perform_relocation() 1036 relocation += reloc_entry->addend; in bfd_install_relocation() 1083 reloc_entry->addend = relocation; in bfd_install_relocation() 1170 relocation -= reloc_entry->addend; in bfd_install_relocation() 1171 reloc_entry->addend = 0; in bfd_install_relocation() [all …]
|
| D | coff-i386.c | 96 diff = symbol->value + reloc_entry->addend; 99 diff = reloc_entry->addend; 123 diff = reloc_entry->addend - symbol->value; 125 diff = -reloc_entry->addend; 129 diff = reloc_entry->addend; 386 cache_ptr->addend = - coffsym->native->u.syment.n_value; \ 389 cache_ptr->addend = - (ptr->section->vma + ptr->value); \ 391 cache_ptr->addend = 0; \ 393 cache_ptr->addend += asect->vma; \
|
| D | pe-mips.c | 76 diff = symbol->value + reloc_entry->addend; in coff_mips_reloc() 79 diff = reloc_entry->addend; in coff_mips_reloc() 87 diff = reloc_entry->addend; in coff_mips_reloc() 370 cache_ptr->addend = - coffsym->native->u.syment.n_value; \ 373 cache_ptr->addend = - (ptr->section->vma + ptr->value); \ 375 cache_ptr->addend = 0; \ 377 cache_ptr->addend += asect->vma; \ 608 bfd_vma addend = 0; in coff_pe_mips_relocate_section() local 632 addend = - sym->n_value; in coff_pe_mips_relocate_section() 634 addend = 0; in coff_pe_mips_relocate_section() [all …]
|
| D | cpu-ns32k.c | 217 relocation += reloc_entry->addend; 265 reloc_entry->addend = relocation; 356 relocation -= reloc_entry->addend; 357 reloc_entry->addend = 0; 361 reloc_entry->addend = relocation; 367 reloc_entry->addend = 0; 793 address, value, addend) in _bfd_ns32k_final_link_relocate() argument 800 bfd_vma addend; 812 relocation = value + addend;
|
| D | elf32-pj.c | 70 insn += sym_value + reloc_entry->addend; in pj_elf_reloc() 79 insn += sym_value + reloc_entry->addend; in pj_elf_reloc() 85 insn += sym_value + reloc_entry->addend in pj_elf_reloc() 92 insn += sym_value + reloc_entry->addend; in pj_elf_reloc() 98 insn += (sym_value + reloc_entry->addend) >> 16; in pj_elf_reloc()
|
| D | coff-a29k.c | 140 signed_value += sym_value + reloc_entry->addend; 163 unsigned_value += sym_value + reloc_entry->addend; 172 part1_consth_value = sym_value + reloc_entry->addend; 186 unsigned_value += reloc_entry->addend; /* r_symndx */ 195 unsigned_value = insn + sym_value + reloc_entry->addend; 202 unsigned_value = insn + sym_value + reloc_entry->addend; 209 insn += sym_value + reloc_entry->addend; 286 relent->addend = reloc->r_symndx; 300 relent->addend = 0; 302 relent->addend = 0;
|
| D | coff-mips.c | 379 rptr->addend += ecoff_data (abfd)->gp; 429 && reloc_entry->addend == 0) 451 bfd_vma addend; member 482 && reloc_entry->addend == 0) 500 relocation += reloc_entry->addend; 510 n->addend = relocation; 560 val += l->addend; 620 && reloc_entry->addend == 0) 706 val = ((insn & 0xffff) + reloc_entry->addend) & 0xffff; 905 bfd_vma addend; local [all …]
|
| D | elf-hppa.h | 1533 bfd_signed_vma addend = rel->r_addend; in elf_hppa_final_link_relocate() local 1574 value = hppa_field_adjust (value, -8 + addend, e_lsel); in elf_hppa_final_link_relocate() 1579 value = hppa_field_adjust (value, -8 + addend, e_fsel); in elf_hppa_final_link_relocate() 1581 value = hppa_field_adjust (value, -8 + addend, e_rsel); in elf_hppa_final_link_relocate() 1608 value = hppa_field_adjust (value, -8 + addend, e_rsel); in elf_hppa_final_link_relocate() 1610 value = hppa_field_adjust (value, -8 + addend, e_fsel); in elf_hppa_final_link_relocate() 1671 bfd_put_64 (hppa_info->opd_sec->owner, value + addend, in elf_hppa_final_link_relocate() 1686 addend = 0; in elf_hppa_final_link_relocate() 1690 value + addend, in elf_hppa_final_link_relocate() 1751 value = hppa_field_adjust (value, addend, e_lrsel); in elf_hppa_final_link_relocate() [all …]
|
| D | coff-tic80.c | 520 bfd_vma addend; local 545 addend = - sym->n_value; 547 addend = 0; 550 sym, &addend); 614 contents, addr, val, addend); 625 contents + 2, addr, val, addend); 639 val, addend); 658 val, addend);
|
| D | coff-z8k.c | 132 cache_ptr->addend = ext_reloc.r_offset; 152 relent->addend = reloc->r_offset; in reloc_processing() 238 reloc->howto->name, reloc->addend, input_section->owner, in extra_case() 267 reloc->howto->name, reloc->addend, input_section->owner, in extra_case() 295 reloc->howto->name, reloc->addend, input_section->owner, in extra_case() 322 reloc->howto->name, reloc->addend, input_section->owner, in extra_case()
|
| D | coff-or32.c | 150 signed_value += sym_value + reloc_entry->addend; 167 unsigned_value += sym_value + reloc_entry->addend; 178 part1_consth_value = sym_value + reloc_entry->addend; 196 unsigned_value += reloc_entry->addend; /* r_symndx */ 206 unsigned_value = insn + sym_value + reloc_entry->addend; 214 unsigned_value = insn + sym_value + reloc_entry->addend; 222 insn += sym_value + reloc_entry->addend; 315 relent->addend = reloc->r_symndx; 325 relent->addend = 0;
|
| D | coff-i960.c | 88 cache_ptr->addend = 0; \ 91 cache_ptr->addend = - (ptr->section->vma + ptr->value); \ 93 cache_ptr->addend = 0; \ 95 cache_ptr->addend += asect->vma; \ 392 bfd_vma addend; local 412 addend = - sym->n_value; 414 addend = 0; 537 addend += input_section->vma; 541 val, addend);
|
| D | elf32-i960.c | 59 reloc_entry->addend -= symbol->value; in elf32_i960_relocate() 64 reloc_entry->addend -= symbol->section->output_section->vma; in elf32_i960_relocate() 72 || reloc_entry->addend == 0)) in elf32_i960_relocate()
|
| D | bout.c | 533 value += reloc->addend; in get_value() 570 word += value + reloc_entry->addend; in calljx_callback() 611 + balsym->symbol.value + reloc_entry->addend in callj_callback() 628 + reloc_entry->addend in callj_callback() 757 cache_ptr->addend = 0; in b_out_slurp_reloc_table() 780 cache_ptr->addend = - obj_textsec (abfd)->vma; in b_out_slurp_reloc_table() 785 cache_ptr->addend = - obj_datasec (abfd)->vma; in b_out_slurp_reloc_table() 790 cache_ptr->addend = - obj_bsssec (abfd)->vma; in b_out_slurp_reloc_table() 795 cache_ptr->addend = 0; in b_out_slurp_reloc_table() 808 cache_ptr->addend = 0; in b_out_slurp_reloc_table() [all …]
|
| D | coff-m68k.c | 287 diff = symbol->value + reloc_entry->addend; 295 diff = reloc_entry->addend; 364 cache_ptr->addend = - coffsym->native->u.syment.n_value; \ 367 cache_ptr->addend = - (ptr->section->vma + ptr->value); \ 369 cache_ptr->addend = 0; \ 373 cache_ptr->addend += asect->vma; \
|
| D | i386lynx.c | 152 r_addend = g->addend + (*(g->sym_ptr_ptr))->section->output_section->vma; 240 r_addend = g->addend + (*(g->sym_ptr_ptr))->section->output_section->vma; 312 cache_ptr->addend = ad; \ 320 cache_ptr->addend = ad - su->textsec->vma; \ 325 cache_ptr->addend = ad - su->datasec->vma; \ 330 cache_ptr->addend = ad - su->bsssec->vma; \ 336 cache_ptr->addend = ad; \
|
| D | elf32-arm.c | 2533 bfd_signed_vma addend, in elf32_thumb_to_arm_stub() argument 2615 - addend in elf32_thumb_to_arm_stub() 2640 bfd_signed_vma addend, in elf32_arm_to_thumb_stub() argument 2727 + offset + addend) in elf32_arm_to_thumb_stub() 2815 bfd_vma addend; in elf32_arm_final_link_relocate() local 2852 addend = bfd_get_32 (input_bfd, hit_data) & howto->src_mask; in elf32_arm_final_link_relocate() 2854 if (addend & ((howto->src_mask + 1) >> 1)) in elf32_arm_final_link_relocate() 2858 signed_addend |= addend; in elf32_arm_final_link_relocate() 2861 signed_addend = addend; in elf32_arm_final_link_relocate() 2864 addend = signed_addend = rel->r_addend; in elf32_arm_final_link_relocate() [all …]
|
| /mirbsd/src/gnu/usr.bin/binutils/gas/ |
| D | literal.c | 45 add_to_literal_pool (sym, addend, sec, size) in add_to_literal_pool() argument 47 valueT addend; 68 if (fixp->fx_addsy == sym && fixp->fx_offset == addend) 87 fix_new (frag_now, p - frag_now->fr_literal, size, sym, addend, 0,
|