Home
last modified time | relevance | path

Searched refs:symval (Results 1 – 25 of 34) sorted by relevance

12

/toolchain/binutils/binutils-2.25/bfd/
Delf32-rl78.c1664 bfd_vma symval; in rl78_offset_for_reloc() local
1696 symval = isym->st_value; in rl78_offset_for_reloc()
1702 symval += rel->r_addend; in rl78_offset_for_reloc()
1708 symval = _bfd_merged_section_offset (abfd, & ssec, in rl78_offset_for_reloc()
1710 symval); in rl78_offset_for_reloc()
1715 symval += in rl78_offset_for_reloc()
1718 symval += rel->r_addend; in rl78_offset_for_reloc()
1741 symval = (h->root.u.def.value in rl78_offset_for_reloc()
1745 symval += rel->r_addend; in rl78_offset_for_reloc()
1751 RL78_STACK_PUSH (symval); in rl78_offset_for_reloc()
[all …]
Delf32-rx.c1716 bfd_vma symval; in rx_offset_for_reloc() local
1748 symval = isym->st_value; in rx_offset_for_reloc()
1754 symval += rel->r_addend; in rx_offset_for_reloc()
1760 symval = _bfd_merged_section_offset (abfd, & ssec, in rx_offset_for_reloc()
1762 symval); in rx_offset_for_reloc()
1767 symval += in rx_offset_for_reloc()
1770 symval += rel->r_addend; in rx_offset_for_reloc()
1793 symval = (h->root.u.def.value in rx_offset_for_reloc()
1797 symval += rel->r_addend; in rx_offset_for_reloc()
1803 RX_STACK_PUSH (symval); in rx_offset_for_reloc()
[all …]
Delf32-ip2k.c539 bfd_vma symval; in ip2k_test_page_insn() local
542 symval = symbol_value (abfd, misc->symtab_hdr, misc->isymbuf, irel); in ip2k_test_page_insn()
543 if (symval == UNDEFINED_SYMBOL) in ip2k_test_page_insn()
550 if (PAGENO (symval + irel->r_addend) != in ip2k_test_page_insn()
609 bfd_vma symval = BASEADDR (sym_sec) + isym->st_value in adjust_all_relocations() local
612 if ((baseaddr + addr + noadj) <= symval in adjust_all_relocations()
613 && symval < (baseaddr + endaddr)) in adjust_all_relocations()
671 bfd_vma symval = BASEADDR (sym_sec) + isym->st_value in adjust_all_relocations() local
674 if ((baseaddr + addr) <= symval in adjust_all_relocations()
675 && symval <= (baseaddr + endaddr)) in adjust_all_relocations()
[all …]
Delf32-m32c.c1228 bfd_vma symval; in m32c_offset_for_reloc() local
1239 symval = isym->st_value; in m32c_offset_for_reloc()
1241 symval += ssec->output_section->vma in m32c_offset_for_reloc()
1261 symval = (h->root.u.def.value in m32c_offset_for_reloc()
1265 return symval; in m32c_offset_for_reloc()
1461 bfd_vma symval; in m32c_elf_relax_section() local
1528 symval = OFFSET_FOR_RELOC (srel); in m32c_elf_relax_section()
1538 pcrel = symval - pc + srel->r_addend; in m32c_elf_relax_section()
1616 && symval <= e->max_disp) in m32c_elf_relax_section()
1653 symval = OFFSET_FOR_RELOC (srel); in m32c_elf_relax_section()
[all …]
Delf32-avr.c1634 bfd_vma symval, in elf32_avr_adjust_diff_reloc_value() argument
1680 bfd_vma end_address = symval + irel->r_addend; in elf32_avr_adjust_diff_reloc_value()
1792 bfd_vma symval; in elf32_avr_relax_delete_bytes() local
1831 symval = isym->st_value; in elf32_avr_relax_delete_bytes()
1836 symval += sym_sec->output_section->vma in elf32_avr_relax_delete_bytes()
1845 (unsigned int) symval, in elf32_avr_relax_delete_bytes()
1846 (unsigned int) (symval + irel->r_addend), in elf32_avr_relax_delete_bytes()
1849 if (symval <= shrinked_insn_address in elf32_avr_relax_delete_bytes()
1850 && (symval + irel->r_addend) > shrinked_insn_address) in elf32_avr_relax_delete_bytes()
1855 symval, in elf32_avr_relax_delete_bytes()
[all …]
Delf32-h8300.c734 bfd_vma symval; in elf32_h8_relax_section() local
794 symval = isym->st_value; in elf32_h8_relax_section()
798 symval += sym_sec->output_section->vma in elf32_h8_relax_section()
819 symval = (h->root.u.def.value in elf32_h8_relax_section()
837 bfd_vma value = symval + irel->r_addend; in elf32_h8_relax_section()
972 bfd_vma value = symval + irel->r_addend; in elf32_h8_relax_section()
1052 value = bfd_h8300_pad_address (abfd, symval + irel->r_addend); in elf32_h8_relax_section()
1140 value = bfd_h8300_pad_address (abfd, symval + irel->r_addend); in elf32_h8_relax_section()
1229 value = bfd_h8300_pad_address (abfd, symval + irel->r_addend); in elf32_h8_relax_section()
1374 value = bfd_h8300_pad_address (abfd, symval + irel->r_addend); in elf32_h8_relax_section()
Delf-m10200.c594 bfd_vma symval; in mn10200_elf_relax_section() local
645 symval = (isym->st_value in mn10200_elf_relax_section()
667 symval = (h->root.u.def.value in mn10200_elf_relax_section()
684 bfd_vma value = symval; in mn10200_elf_relax_section()
737 bfd_vma value = symval; in mn10200_elf_relax_section()
794 bfd_vma value = symval; in mn10200_elf_relax_section()
823 if (symval != (sec->output_section->vma + sec->output_offset in mn10200_elf_relax_section()
936 bfd_vma value = symval; in mn10200_elf_relax_section()
Delf64-alpha.c3040 elf64_alpha_relax_got_load (struct alpha_relax_info *info, bfd_vma symval, in elf64_alpha_relax_got_load() argument
3074 && (symval >= (bfd_vma)-0x8000 || symval < 0x8000))) in elf64_alpha_relax_got_load()
3078 insn |= (symval & 0xffff); in elf64_alpha_relax_got_load()
3087 disp = symval - info->gp; in elf64_alpha_relax_got_load()
3099 disp = symval - (r_type == R_ALPHA_GOTDTPREL ? dtp_base : tp_base); in elf64_alpha_relax_got_load()
3154 elf64_alpha_relax_opt_call (struct alpha_relax_info *info, bfd_vma symval) in elf64_alpha_relax_opt_call() argument
3163 return symval; in elf64_alpha_relax_opt_call()
3197 ofs = (symval - info->tsec->output_section->vma in elf64_alpha_relax_opt_call()
3220 return symval + 8; in elf64_alpha_relax_opt_call()
3225 bfd_vma symval, Elf_Internal_Rela *irel) in elf64_alpha_relax_with_lituse() argument
[all …]
Delf32-crx.c995 bfd_vma symval; in elf32_crx_relax_section() local
1044 symval = (isym->st_value in elf32_crx_relax_section()
1065 symval = (h->root.u.def.value in elf32_crx_relax_section()
1082 bfd_vma value = symval; in elf32_crx_relax_section()
1131 bfd_vma value = symval; in elf32_crx_relax_section()
1176 bfd_vma value = symval; in elf32_crx_relax_section()
1228 bfd_vma value = symval; in elf32_crx_relax_section()
Delf32-v850.c2908 bfd_vma raddr, paddr, symval; in v850_elf_relax_delete_bytes() local
2937 symval = isym.st_value; in v850_elf_relax_delete_bytes()
2961 symval = h->root.u.def.value; in v850_elf_relax_delete_bytes()
2970 paddr = symval + irel->r_addend; in v850_elf_relax_delete_bytes()
2972 if ( (symval >= addr + count && symval < toaddr) in v850_elf_relax_delete_bytes()
2975 else if ( (symval < addr + count || symval >= toaddr) in v850_elf_relax_delete_bytes()
3169 bfd_vma symval; in v850_elf_relax_section() local
3318 symval = isym->st_value; in v850_elf_relax_section()
3337 symval = h->root.u.def.value; in v850_elf_relax_section()
3340 if (symval + irelcall->r_addend != irelcall->r_offset + 4) in v850_elf_relax_section()
[all …]
Delf-m10300.c3184 bfd_vma symval; in mn10300_elf_relax_section() local
3209 symval = sym_hash->root.root.u.def.value; in mn10300_elf_relax_section()
3212 symval, in mn10300_elf_relax_section()
3230 && h->root.root.u.def.value == symval in mn10300_elf_relax_section()
3329 bfd_vma symval; in mn10300_elf_relax_section() local
3392 symval = isym->st_value; in mn10300_elf_relax_section()
3405 symval += irel->r_addend; in mn10300_elf_relax_section()
3407 symval = _bfd_merged_section_offset (abfd, & sym_sec, in mn10300_elf_relax_section()
3409 symval); in mn10300_elf_relax_section()
3412 symval += irel->r_addend; in mn10300_elf_relax_section()
[all …]
Dsrec.c347 bfd_vma symval; in srec_scan() local
423 symval = 0; in srec_scan()
426 symval <<= 4; in srec_scan()
427 symval += NIBBLE (c); in srec_scan()
436 if (! srec_new_symbol (abfd, symname, symval)) in srec_scan()
Delf32-msp430.c1789 bfd_vma symval; in msp430_elf_relax_section() local
1840 symval = (isym->st_value in msp430_elf_relax_section()
1860 symval = (h->root.u.def.value in msp430_elf_relax_section()
1873 bfd_signed_vma value = symval; in msp430_elf_relax_section()
1967 bfd_vma symval; in msp430_elf_relax_section() local
2007 symval = (isym->st_value in msp430_elf_relax_section()
2027 symval = (h->root.u.def.value in msp430_elf_relax_section()
2045 bfd_vma value = symval; in msp430_elf_relax_section()
Delf32-m68hc11.c721 bfd_vma symval; in m68hc11_elf_relax_section() local
821 symval = (isym->st_value in m68hc11_elf_relax_section()
848 symval = (h->root.u.def.value in m68hc11_elf_relax_section()
893 value = symval; in m68hc11_elf_relax_section()
Delf32-cr16.c1791 bfd_vma symval; in elf32_cr16_relax_section() local
1841 symval = (isym->st_value in elf32_cr16_relax_section()
1862 symval = (h->root.u.def.value in elf32_cr16_relax_section()
1879 bfd_vma value = symval; in elf32_cr16_relax_section()
1926 bfd_vma value = symval; in elf32_cr16_relax_section()
1973 bfd_vma value = symval; in elf32_cr16_relax_section()
2090 bfd_vma value = symval; in elf32_cr16_relax_section()
Delf32-microblaze.c1720 bfd_vma symval; in microblaze_elf_relax_section() local
1760 symval = _bfd_elf_rela_local_sym (abfd, isym, &sym_sec, irel); in microblaze_elf_relax_section()
1778 symval = (h->root.u.def.value in microblaze_elf_relax_section()
1787 symval = symval + irel->r_addend in microblaze_elf_relax_section()
1793 symval += irel->r_addend; in microblaze_elf_relax_section()
1795 if ((symval & 0xffff8000) == 0 in microblaze_elf_relax_section()
1796 || (symval & 0xffff8000) == 0xffff8000) in microblaze_elf_relax_section()
Delf64-mmix.c2612 bfd_vma symval; in mmix_elf_relax_section() local
2696 symval = (isym->st_value in mmix_elf_relax_section()
2724 symval = (h->root.u.def.value in mmix_elf_relax_section()
2731 bfd_vma value = symval + irel->r_addend; in mmix_elf_relax_section()
2786 = symval + irel->r_addend; in mmix_elf_relax_section()
Dcoff-sh.c741 bfd_vma laddr, paddr, symval; in sh_relax_section() local
848 symval = (sym.n_value in sh_relax_section()
868 symval = (h->root.u.def.value in sh_relax_section()
873 symval += bfd_get_32 (abfd, contents + paddr - sec->vma); in sh_relax_section()
876 foff = (symval in sh_relax_section()
/toolchain/binutils/binutils-2.25/gold/
Dtarget-reloc.h304 Symbol_value<size> symval; in relocate_section() local
344 symval.set_output_symtab_index(sym->symtab_index()); in relocate_section()
346 symval.set_no_output_symtab_entry(); in relocate_section()
347 symval.set_output_value(sym->value()); in relocate_section()
349 symval.set_is_tls_symbol(); in relocate_section()
351 symval.set_is_ifunc_symbol(); in relocate_section()
352 psymval = &symval; in relocate_section()
454 Symbol_value<size> symval; in apply_relocation() local
456 symval.set_output_symtab_index(sym->symtab_index()); in apply_relocation()
457 symval.set_output_value(sym->value()); in apply_relocation()
[all …]
Dtilegx.cc4343 Symbol_value<size> symval; in relocate() local
4347 symval.set_output_value(target->plt_address_for_global(gsym)); in relocate()
4348 psymval = &symval; in relocate()
4355 symval.set_output_value(target->plt_address_for_local(object, r_sym)); in relocate()
4356 psymval = &symval; in relocate()
4413 symval.set_output_value(got_offset); in relocate()
4414 psymval = &symval; in relocate()
4567 symval.set_output_value( in relocate()
4569 psymval = &symval; in relocate()
4627 symval.set_output_value(got_offset); in relocate()
[all …]
Darm.cc9419 Symbol_value<32> symval; in relocate() local
9469 symval.set_output_value(target->plt_address_for_global(gsym)); in relocate()
9470 psymval = &symval; in relocate()
9510 symval.set_output_value( in relocate()
9512 psymval = &symval; in relocate()
9531 symval.set_output_value(stripped_value); in relocate()
9532 psymval = &symval; in relocate()
10296 Symbol_value<32> symval; in relocate_special_relocatable() local
10305 symval.set_output_value(stripped_value); in relocate_special_relocatable()
10306 psymval = &symval; in relocate_special_relocatable()
[all …]
Dsparc.cc3205 Symbol_value<size> symval; in relocate() local
3213 symval.set_output_value(value); in relocate()
3215 psymval = &symval; in relocate()
3222 symval.set_output_value(target->plt_address_for_local(object, r_sym)); in relocate()
3223 psymval = &symval; in relocate()
3765 Symbol_value<size> symval; in relocate_tls() local
3773 symval.set_output_value(value); in relocate_tls()
3774 Reloc::wdisp30(view, object, &symval, addend, address); in relocate_tls()
3827 Symbol_value<size> symval; in relocate_tls() local
3835 symval.set_output_value(value); in relocate_tls()
[all …]
Daarch64.cc3719 Symbol_value<size> symval; in scan_reloc_for_stub() local
3727 symval.set_output_value(this->plt_section()->address() in scan_reloc_for_stub()
3729 psymval = &symval; in scan_reloc_for_stub()
3831 Symbol_value<size> symval; in scan_reloc_section_for_stubs() local
3859 object->compute_final_local_value(r_sym, psymval, &symval, in scan_reloc_section_for_stubs()
3866 if (!symval.has_output_value()) in scan_reloc_section_for_stubs()
3874 psymval = &symval; in scan_reloc_section_for_stubs()
3893 symval.set_output_symtab_index(sym->symtab_index()); in scan_reloc_section_for_stubs()
3895 symval.set_no_output_symtab_entry(); in scan_reloc_section_for_stubs()
3909 symval.set_output_value(value); in scan_reloc_section_for_stubs()
[all …]
Dmips.cc9605 Symbol_value<size> symval; in relocate() local
9617 symval.set_output_value(psymval->value(object, 1)); in relocate()
9618 psymval = &symval; in relocate()
9634 symval.set_output_value(psymval->value(object, 0) | 1); in relocate()
9635 psymval = &symval; in relocate()
9666 symval.set_output_value(value); in relocate()
9667 psymval = &symval; in relocate()
9691 symval.set_output_value(target->adjusted_gp_value(object)); in relocate()
9692 psymval = &symval; in relocate()
9730 symval.set_output_value(value); in relocate()
[all …]
/toolchain/binutils/binutils-2.25/gas/
Dwrite.c666 expressionS *symval; in resolve_reloc_expr_symbols() local
672 symval = symbol_get_value_expression (r->u.a.offset_sym); in resolve_reloc_expr_symbols()
676 if (symval->X_op == O_constant) in resolve_reloc_expr_symbols()
678 else if (symval->X_op == O_symbol) in resolve_reloc_expr_symbols()
680 sym = symval->X_add_symbol; in resolve_reloc_expr_symbols()
681 offset = symval->X_add_number; in resolve_reloc_expr_symbols()
682 symval = symbol_get_value_expression (symval->X_add_symbol); in resolve_reloc_expr_symbols()
685 || symval->X_op != O_constant in resolve_reloc_expr_symbols()
700 symval = symbol_get_value_expression (r->u.a.sym); in resolve_reloc_expr_symbols()
701 if (symval->X_op == O_constant) in resolve_reloc_expr_symbols()
[all …]

12