Home
last modified time | relevance | path

Searched refs:rightshift (Results 1 – 25 of 49) sorted by relevance

12

/toolchain/binutils/binutils-2.25/bfd/
Dcpu-ns32k.c366 if (howto->rightshift > howto->bitpos) in do_ns32k_reloc()
367 check = relocation >> (howto->rightshift - howto->bitpos); in do_ns32k_reloc()
369 check = relocation << (howto->bitpos - howto->rightshift); in do_ns32k_reloc()
380 if (howto->rightshift > howto->bitpos in do_ns32k_reloc()
384 >> (howto->rightshift - howto->bitpos))); in do_ns32k_reloc()
416 if (howto->rightshift > howto->bitpos in do_ns32k_reloc()
421 >> (howto->rightshift - howto->bitpos))); in do_ns32k_reloc()
463 relocation >>= (bfd_vma) howto->rightshift; in do_ns32k_reloc()
612 if (howto->rightshift == 0) in _bfd_do_ns32k_reloc_contents()
620 check = relocation >> howto->rightshift; in _bfd_do_ns32k_reloc_contents()
[all …]
Dreloc.c489 unsigned int rightshift, in bfd_check_overflow() argument
502 addrmask = N_ONES (addrsize) | (fieldmask << rightshift); in bfd_check_overflow()
503 a = (relocation & addrmask) >> rightshift; in bfd_check_overflow()
523 if (ss != 0 && ss != ((addrmask >> rightshift) & signmask)) in bfd_check_overflow()
799 howto->rightshift, in bfd_perform_relocation()
830 relocation >>= (bfd_vma) howto->rightshift; in bfd_perform_relocation()
1178 howto->rightshift, in bfd_install_relocation()
1209 relocation >>= (bfd_vma) howto->rightshift; in bfd_install_relocation()
1379 unsigned int rightshift = howto->rightshift; in _bfd_relocate_contents() local
1429 | (fieldmask << rightshift)); in _bfd_relocate_contents()
[all …]
Delfxx-aarch64.c193 howto->bitsize + howto->rightshift); in _bfd_aarch64_elf_put_addend()
197 howto->bitsize + howto->rightshift); in _bfd_aarch64_elf_put_addend()
204 addend >>= howto->rightshift; in _bfd_aarch64_elf_put_addend()
223 if (old_addend & ((1 << howto->rightshift) - 1)) in _bfd_aarch64_elf_put_addend()
265 if (old_addend & ((1 << howto->rightshift) - 1)) in _bfd_aarch64_elf_put_addend()
Dnlm32-i386.c155 || rel->howto->rightshift != 0 in nlm_i386_write_import()
279 && rel->howto->rightshift == 0 in nlm_i386_mangle_relocs()
303 && rel->howto->rightshift == 0 in nlm_i386_mangle_relocs()
Delf32-d10v.c340 val = (insn & howto->dst_mask) >> howto->bitpos << howto->rightshift; in extract_rel_addend()
347 sign = sign >> howto->bitpos << howto->rightshift; in extract_rel_addend()
361 addend = (addend >> howto->rightshift << howto->bitpos) & howto->dst_mask; in insert_rel_addend()
Delf32-i860.c83 relocation >>= reloc_entry->howto->rightshift; in i860_howto_pc26_reloc()
146 relocation >>= reloc_entry->howto->rightshift; in i860_howto_pc16_reloc()
964 value = (value - 4) >> howto->rightshift; in elf32_i860_relocate_pc16()
996 value = ((value - 4) >> howto->rightshift) & howto->dst_mask; in elf32_i860_relocate_pc26()
Dnlm32-ppc.c670 || rel->howto->rightshift != 0 in nlm_powerpc_write_import()
777 if (howto->rightshift == rel->howto->rightshift in nlm_powerpc_write_reloc()
Daout-tic30.c435 if (howto->rightshift == 0) in tic30_aout_relocate_contents()
442 check = relocation >> howto->rightshift; in tic30_aout_relocate_contents()
446 signed_check = (check | ((bfd_vma) - 1 & ~((bfd_vma) - 1 >> howto->rightshift))); in tic30_aout_relocate_contents()
498 relocation >>= (bfd_vma) howto->rightshift; in tic30_aout_relocate_contents()
Delf32-crx.c499 check = Rvalue >> howto->rightshift; in crx_elf_final_link_relocate()
513 if (howto->rightshift && (bfd_signed_vma) Rvalue < 0) in crx_elf_final_link_relocate()
517 >> howto->rightshift)); in crx_elf_final_link_relocate()
527 Rvalue >>= (bfd_vma) howto->rightshift; in crx_elf_final_link_relocate()
Dnlm32-sparc.c149 if (tmp->rightshift == rel->howto->rightshift in nlm_sparc_write_reloc()
Dcoff-m88k.c103 relocation >>= (bfd_vma) howto->rightshift; in m88k_special_reloc()
Delf32-score.c1927 offset <<= howto->rightshift; in score_elf_add_to_rel()
1929 offset >>= howto->rightshift; in score_elf_add_to_rel()
1937 offset <<= howto->rightshift; in score_elf_add_to_rel()
1939 offset >>= howto->rightshift; in score_elf_add_to_rel()
2185 imm_offset <<= howto->rightshift; in score_elf_final_link_relocate()
2193 value >>= howto->rightshift; in score_elf_final_link_relocate()
2267 offset = (addend & howto->src_mask) << howto->rightshift; in score_elf_final_link_relocate()
2274 value >>= howto->rightshift; in score_elf_final_link_relocate()
2525 addend <<= howto->rightshift; in s3_bfd_score_elf_relocate_section()
2536 addend >>= howto->rightshift; in s3_bfd_score_elf_relocate_section()
Dcoff-rs6000.c3052 a >>= howto->rightshift; in xcoff_complain_overflow_bitfield_func()
3075 ss = (signmask << howto->rightshift) - 1; in xcoff_complain_overflow_bitfield_func()
3088 if (howto->bitsize + howto->rightshift in xcoff_complain_overflow_bitfield_func()
3123 a = (a & addrmask) >> howto->rightshift; in xcoff_complain_overflow_signed_func()
3130 if (ss != 0 && ss != ((addrmask >> howto->rightshift) & signmask)) in xcoff_complain_overflow_signed_func()
3195 a = (a & addrmask) >> howto->rightshift; in xcoff_complain_overflow_unsigned_func()
3351 howto.rightshift = 0; in xcoff_ppc_relocate_section()
Delf32-bfin.c96 howto->rightshift, in bfin_pcrel24_reloc()
104 if (howto->rightshift && (relocation & 0x01)) in bfin_pcrel24_reloc()
110 relocation >>= (bfd_vma) howto->rightshift; in bfin_pcrel24_reloc()
198 howto->rightshift, in bfin_imm16_reloc()
208 relocation >>= (bfd_vma) howto->rightshift; in bfin_imm16_reloc()
352 howto->rightshift, in bfin_bfd_reloc()
360 if (howto->rightshift && (relocation & 0x01)) in bfin_bfd_reloc()
366 relocation >>= (bfd_vma) howto->rightshift; in bfin_bfd_reloc()
Delf32-cr16.c938 check = Rvalue >> howto->rightshift; in cr16_elf_final_link_relocate()
956 if (howto->rightshift && (bfd_signed_vma) Rvalue < 0) in cr16_elf_final_link_relocate()
960 >> howto->rightshift)); in cr16_elf_final_link_relocate()
971 Rvalue >>= (bfd_vma) howto->rightshift; in cr16_elf_final_link_relocate()
Dpe-mips.c96 …x = ((x & ~howto->dst_mask) | (((x & howto->src_mask) + (diff >> howto->rightshift)) & howto->dst_… in coff_mips_reloc()
Dsyms.c1069 if (r->howto->rightshift != 0 in _bfd_stab_section_find_nearest_line()
Dcoff-arm.c1629 check = relocation >> howto->rightshift; in coff_arm_relocate_section()
1638 & ~((bfd_vma) - 1 >> howto->rightshift))); in coff_arm_relocate_section()
Delfxx-mips.c5997 value >>= howto->rightshift; in mips_elf_calculate_relocation()
6011 value >>= howto->rightshift; in mips_elf_calculate_relocation()
6025 value >>= howto->rightshift; in mips_elf_calculate_relocation()
6039 value >>= howto->rightshift; in mips_elf_calculate_relocation()
6053 value >>= howto->rightshift; in mips_elf_calculate_relocation()
6077 value >>= howto->rightshift; in mips_elf_calculate_relocation()
6087 value >>= howto->rightshift; in mips_elf_calculate_relocation()
6097 value >>= howto->rightshift; in mips_elf_calculate_relocation()
6107 value >>= howto->rightshift; in mips_elf_calculate_relocation()
7855 l <<= lo16_howto->rightshift; in mips_elf_add_lo16_rel_addend()
[all …]
/toolchain/binutils/binutils-2.25/gas/
Dcgen.c47 static int rightshift = 0; variable
501 rightshift = operand->length;
729 rightshift -= field->val.leaf->length; in queue_fixup_recursively()
733 if (rightshift) in queue_fixup_recursively()
734 new_exp = make_right_shifted_expr (expP, rightshift, signed_p); in queue_fixup_recursively()
/toolchain/binutils/binutils-2.25/cpu/
Dfr30.cpu942 (define-pmacro (rightshift-op name insn opc1 opc2 op arg1 arg2 shift-expr)
963 (rightshift-op lsr lsr OP1_B OP2_2 srl Rj Ri (and Rj (const #x1f)))
964 (rightshift-op lsri lsr OP1_B OP2_0 srl u4 Ri u4)
965 (rightshift-op lsr2 lsr2 OP1_B OP2_1 srl u4 Ri (add u4 (const #x10)))
966 (rightshift-op asr asr OP1_B OP2_A sra Rj Ri (and Rj (const #x1f)))
967 (rightshift-op asri asr OP1_B OP2_8 sra u4 Ri u4)
968 (rightshift-op asr2 asr2 OP1_B OP2_9 sra u4 Ri (add u4 (const #x10)))
/toolchain/binutils/binutils-2.25/include/opcode/
Dtilegx.h1194 unsigned int rightshift : 2; member
Dtilepro.h1490 unsigned int rightshift : 2; member
/toolchain/binutils/binutils-2.25/binutils/
Dnlmconv.c1479 && rel->howto->rightshift == 0 in i386_mangle_relocs()
1507 && rel->howto->rightshift == 0 in i386_mangle_relocs()
/toolchain/binutils/binutils-2.25/gas/config/
Dtc-nios2.c975 fixup = ((signed)fixup) >> howto->rightshift; in nios2_check_overflow()
1217 fixup = ((signed)fixup) >> howto->rightshift; in md_apply_fix()

12