Home
last modified time | relevance | path

Searched refs:branch_offset (Results 1 – 9 of 9) sorted by relevance

/toolchain/binutils/binutils-2.25/gold/
Darm.cc3987 int32_t branch_offset = branch_target - address; in arm_branch_common() local
3995 && (Bits<26>::has_overflow32(branch_offset) in arm_branch_common()
4016 branch_offset = branch_target - address; in arm_branch_common()
4017 gold_assert(!Bits<26>::has_overflow32(branch_offset)); in arm_branch_common()
4027 val = (val & 0xffffff) | 0xfa000000 | ((branch_offset & 2) << 23); in arm_branch_common()
4030 val = Bits<32>::bit_select32(val, (branch_offset >> 2), 0xffffffUL); in arm_branch_common()
4032 return (Bits<26>::has_overflow32(branch_offset) in arm_branch_common()
4127 int32_t branch_offset = branch_target - address; in thumb_branch_common() local
4133 && ((!thumb2 && Bits<23>::has_overflow32(branch_offset)) in thumb_branch_common()
4134 || (thumb2 && Bits<25>::has_overflow32(branch_offset)) in thumb_branch_common()
[all …]
Daarch64.cc1313 int64_t branch_offset = 0; in stub_type_for_reloc() local
1318 branch_offset = dest - location; in stub_type_for_reloc()
1324 if (aarch64_valid_branch_offset_p(branch_offset)) in stub_type_for_reloc()
5131 construct_b(unsigned char* view, unsigned int branch_offset) in construct_b() argument
5133 update_view_two_parts<32>(view, 0x05, (branch_offset >> 2), in construct_b()
5398 typename elfcpp::Swap<size, big_endian>::Valtype branch_offset = in maybe_apply_stub() local
5404 rela_general<32>(view, branch_offset, 0, arp); in maybe_apply_stub()
/toolchain/binutils/binutils-2.25/bfd/
Delfnn-aarch64.c2190 bfd_signed_vma branch_offset; in aarch64_type_of_stub() local
2210 branch_offset = (bfd_signed_vma) (destination - location); in aarch64_type_of_stub()
2218 && (branch_offset > AARCH64_MAX_FWD_BRANCH_OFFSET in aarch64_type_of_stub()
2219 || branch_offset < AARCH64_MAX_BWD_BRANCH_OFFSET)) in aarch64_type_of_stub()
2435 bfd_signed_vma branch_offset = 0; in aarch64_build_one_stub() local
2534 branch_offset = veneered_insn_loc - veneer_entry_loc; in aarch64_build_one_stub()
2535 branch_offset >>= 2; in aarch64_build_one_stub()
2536 branch_offset &= 0x3ffffff; in aarch64_build_one_stub()
2539 bfd_putl32 (template[1] | branch_offset, in aarch64_build_one_stub()
4228 bfd_signed_vma branch_offset; in make_branch_to_erratum_835769_stub() local
[all …]
Delf32-arm.c3641 bfd_signed_vma branch_offset; in arm_type_of_stub() local
3714 branch_offset = (bfd_signed_vma)(destination - location); in arm_type_of_stub()
3728 && (branch_offset > THM_MAX_FWD_BRANCH_OFFSET in arm_type_of_stub()
3729 || (branch_offset < THM_MAX_BWD_BRANCH_OFFSET))) in arm_type_of_stub()
3731 && (branch_offset > THM2_MAX_FWD_BRANCH_OFFSET in arm_type_of_stub()
3732 || (branch_offset < THM2_MAX_BWD_BRANCH_OFFSET))) in arm_type_of_stub()
3734 && (branch_offset > THM2_MAX_FWD_COND_BRANCH_OFFSET in arm_type_of_stub()
3735 || (branch_offset < THM2_MAX_BWD_COND_BRANCH_OFFSET)) in arm_type_of_stub()
3813 && (branch_offset <= THM_MAX_FWD_BRANCH_OFFSET) in arm_type_of_stub()
3814 && (branch_offset >= THM_MAX_BWD_BRANCH_OFFSET)) in arm_type_of_stub()
[all …]
Delf32-metag.c3582 bfd_vma branch_offset; in metag_type_of_stub() local
3595 branch_offset = destination - location; in metag_type_of_stub()
3601 if (branch_offset + max_branch_offset >= 2*max_branch_offset) in metag_type_of_stub()
Delfxx-mips.c11003 bfd_vma plt_address, got_address, got_offset, branch_offset; in _bfd_mips_vxworks_finish_dynamic_symbol() local
11033 branch_offset = -(plt_offset / 4 + 1) & 0xffff; in _bfd_mips_vxworks_finish_dynamic_symbol()
11046 bfd_put_32 (output_bfd, plt_entry[0] | branch_offset, loc); in _bfd_mips_vxworks_finish_dynamic_symbol()
11057 bfd_put_32 (output_bfd, plt_entry[0] | branch_offset, loc); in _bfd_mips_vxworks_finish_dynamic_symbol()
Delf64-ppc.c10071 bfd_vma branch_offset; in ppc_type_of_stub() local
10128 branch_offset = destination - location; in ppc_type_of_stub()
10136 if (branch_offset + max_branch_offset >= 2 * max_branch_offset - local_off) in ppc_type_of_stub()
/toolchain/binutils/binutils-2.25/gas/config/
Dtc-nds32.c4910 offsetT branch_offset; in nds32_elf_append_relax_relocs() local
4939 branch_offset = fragP->fr_offset; in nds32_elf_append_relax_relocs()
4972 branch_offset = fragP->fr_offset; in nds32_elf_append_relax_relocs()
5059 exp.X_add_number = branch_offset; in nds32_elf_append_relax_relocs()
5064 exp.X_add_number = branch_offset; in nds32_elf_append_relax_relocs()
5377 offsetT branch_offset = fragP->fr_offset; in nds32_calc_branch_offset() local
5391 branch_target_address = S_GET_VALUE (branch_symbol) + branch_offset; in nds32_calc_branch_offset()
5713 offsetT branch_offset = fragP->fr_offset; in md_convert_frag() local
5789 branch_target_address = S_GET_VALUE (branch_symbol) + branch_offset; in md_convert_frag()
5873 exp.X_add_number = branch_offset; in md_convert_frag()
Dtc-cris.c3362 int branch_offset; in gen_cond_branch_32() local
3368 branch_offset = -2 - 8; in gen_cond_branch_32()
3374 branch_offset = -2 - 8; in gen_cond_branch_32()
3380 branch_offset = -2 - 6; in gen_cond_branch_32()
3402 writep[opc_offset] = branch_disp (branch_offset); in gen_cond_branch_32()