Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/usr.bin/binutils/bfd/
H A Dreloc.c492 unsigned int rightshift, in bfd_check_overflow() argument
516 a = (a & addrmask) >> rightshift; in bfd_check_overflow()
519 if (ss != 0 && ss != ((addrmask >> rightshift) & signmask)) in bfd_check_overflow()
525 a = (a & addrmask) >> rightshift; in bfd_check_overflow()
536 a >>= rightshift; in bfd_check_overflow()
538 if (ss != 0 && ss != (((bfd_vma) -1 >> rightshift) & ~ fieldmask)) in bfd_check_overflow()
815 howto->rightshift, in bfd_perform_relocation()
846 relocation >>= (bfd_vma) howto->rightshift; in bfd_perform_relocation()
1194 howto->rightshift, in bfd_install_relocation()
1225 relocation >>= (bfd_vma) howto->rightshift; in bfd_install_relocation()
[all …]
H A Dcpu-ns32k.c385 if (howto->rightshift > howto->bitpos)
386 check = relocation >> (howto->rightshift - howto->bitpos);
388 check = relocation << (howto->bitpos - howto->rightshift);
399 if (howto->rightshift > howto->bitpos
403 >> (howto->rightshift - howto->bitpos)));
435 if (howto->rightshift > howto->bitpos
440 >> (howto->rightshift - howto->bitpos)));
482 relocation >>= (bfd_vma) howto->rightshift;
633 if (howto->rightshift == 0)
641 check = relocation >> howto->rightshift;
[all …]
H A Dnlm32-i386.c170 || rel->howto->rightshift != 0
295 && rel->howto->rightshift == 0
319 && rel->howto->rightshift == 0
H A Delf32-d10v.c376 val = (insn & howto->dst_mask) >> howto->bitpos << howto->rightshift;
383 sign = sign >> howto->bitpos << howto->rightshift;
398 addend = (addend >> howto->rightshift << howto->bitpos) & howto->dst_mask;
H A Delf32-i860.c83 relocation >>= reloc_entry->howto->rightshift; in i860_howto_pc26_reloc()
146 relocation >>= reloc_entry->howto->rightshift; in i860_howto_pc16_reloc()
947 value = (value - 4) >> howto->rightshift; in elf32_i860_relocate_pc16()
979 value = ((value - 4) >> howto->rightshift) & howto->dst_mask; in elf32_i860_relocate_pc26()
H A Dnlm32-ppc.c719 || rel->howto->rightshift != 0
827 if (howto->rightshift == rel->howto->rightshift
H A Daout-tic30.c461 if (howto->rightshift == 0)
468 check = relocation >> howto->rightshift;
472 signed_check = (check | ((bfd_vma) - 1 & ~((bfd_vma) - 1 >> howto->rightshift)));
521 relocation >>= (bfd_vma) howto->rightshift;
H A Dnlm32-sparc.c188 if (tmp->rightshift == rel->howto->rightshift
H A Dcoff-m88k.c112 relocation >>= (bfd_vma) howto->rightshift;
H A Delf32-arm.h1491 signed_addend >>= howto->rightshift;
1568 addend >>= howto->rightshift;
1591 bfd_signed_vma reloc_signed_max = ((1 << (howto->bitsize - 1)) - 1) >> howto->rightshift;
1659 check = relocation >> howto->rightshift;
1666 signed_check = check | ~((bfd_vma) -1 >> howto->rightshift);
1715 signed_addend <<= howto->rightshift;
1723 relocation >>= howto->rightshift;
1974 addend >>= howto->rightshift;
2079 if (howto->rightshift)
H A Dcoff-rs6000.c3066 a >>= howto->rightshift;
3089 ss = (signmask << howto->rightshift) - 1;
3102 if (howto->bitsize + howto->rightshift
3138 a = (a & addrmask) >> howto->rightshift;
3145 if (ss != 0 && ss != ((addrmask >> howto->rightshift) & signmask))
3211 a = (a & addrmask) >> howto->rightshift;
3372 howto.rightshift = 0;
/openbsd-src/gnu/usr.bin/binutils-2.17/bfd/
H A Dcpu-ns32k.c383 if (howto->rightshift > howto->bitpos)
384 check = relocation >> (howto->rightshift - howto->bitpos);
386 check = relocation << (howto->bitpos - howto->rightshift);
397 if (howto->rightshift > howto->bitpos
401 >> (howto->rightshift - howto->bitpos)));
433 if (howto->rightshift > howto->bitpos
438 >> (howto->rightshift - howto->bitpos)));
480 relocation >>= (bfd_vma) howto->rightshift;
631 if (howto->rightshift == 0)
639 check = relocation >> howto->rightshift;
[all …]
H A Dreloc.c493 unsigned int rightshift, in bfd_check_overflow() argument
507 a = (relocation & addrmask) >> rightshift;; in bfd_check_overflow()
527 if (ss != 0 && ss != ((addrmask >> rightshift) & signmask)) in bfd_check_overflow()
807 howto->rightshift, in bfd_perform_relocation()
838 relocation >>= (bfd_vma) howto->rightshift; in bfd_perform_relocation()
1186 howto->rightshift, in bfd_install_relocation()
1217 relocation >>= (bfd_vma) howto->rightshift; in bfd_install_relocation()
1387 unsigned int rightshift = howto->rightshift; in _bfd_relocate_contents() local
1437 a = (relocation & addrmask) >> rightshift; in _bfd_relocate_contents()
1456 if (ss != 0 && ss != ((addrmask >> rightshift) & signmask)) in _bfd_relocate_contents()
[all …]
H A 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()
H A Delf32-d10v.c350 val = (insn & howto->dst_mask) >> howto->bitpos << howto->rightshift; in extract_rel_addend()
357 sign = sign >> howto->bitpos << howto->rightshift; in extract_rel_addend()
371 addend = (addend >> howto->rightshift << howto->bitpos) & howto->dst_mask; in insert_rel_addend()
H A Delf32-i860.c83 relocation >>= reloc_entry->howto->rightshift; in i860_howto_pc26_reloc()
146 relocation >>= reloc_entry->howto->rightshift; in i860_howto_pc16_reloc()
947 value = (value - 4) >> howto->rightshift; in elf32_i860_relocate_pc16()
979 value = ((value - 4) >> howto->rightshift) & howto->dst_mask; in elf32_i860_relocate_pc26()
H A Dnlm32-ppc.c670 || rel->howto->rightshift != 0 in nlm_powerpc_write_import()
777 if (howto->rightshift == rel->howto->rightshift in nlm_powerpc_write_reloc()
H A Daout-tic30.c419 if (howto->rightshift == 0) in tic30_aout_relocate_contents()
426 check = relocation >> howto->rightshift; in tic30_aout_relocate_contents()
430 signed_check = (check | ((bfd_vma) - 1 & ~((bfd_vma) - 1 >> howto->rightshift))); in tic30_aout_relocate_contents()
482 relocation >>= (bfd_vma) howto->rightshift; in tic30_aout_relocate_contents()
H A Dnlm32-sparc.c150 if (tmp->rightshift == rel->howto->rightshift in nlm_sparc_write_reloc()
H A Delf32-crx.c488 check = Rvalue >> howto->rightshift; in crx_elf_final_link_relocate()
502 if (howto->rightshift && (bfd_signed_vma) Rvalue < 0) in crx_elf_final_link_relocate()
506 >> howto->rightshift)); in crx_elf_final_link_relocate()
516 Rvalue >>= (bfd_vma) howto->rightshift; in crx_elf_final_link_relocate()
H A Dcoff-m88k.c112 relocation >>= (bfd_vma) howto->rightshift;
H A Delf32-arm.c3238 signed_addend >>= howto->rightshift; in elf32_arm_final_link_relocate()
3336 addend >>= howto->rightshift; in elf32_arm_final_link_relocate()
3357 bfd_signed_vma reloc_signed_max = ((1 << (howto->bitsize - 1)) - 1) >> howto->rightshift; in elf32_arm_final_link_relocate()
3437 check = relocation >> howto->rightshift; in elf32_arm_final_link_relocate()
3444 signed_check = check | ~((bfd_vma) -1 >> howto->rightshift); in elf32_arm_final_link_relocate()
3476 bfd_signed_vma reloc_signed_max = ((1 << (howto->bitsize - 1)) - 1) >> howto->rightshift; in elf32_arm_final_link_relocate()
3507 check = relocation >> howto->rightshift; in elf32_arm_final_link_relocate()
3514 signed_check = check | ~((bfd_vma) -1 >> howto->rightshift); in elf32_arm_final_link_relocate()
3549 bfd_signed_vma reloc_signed_max = ((1 << (howto->bitsize - 1)) - 1) >> howto->rightshift; in elf32_arm_final_link_relocate()
3581 check = relocation >> howto->rightshift; in elf32_arm_final_link_relocate()
[all …]
H A 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()
H A Dcoff-rs6000.c3061 a >>= howto->rightshift;
3084 ss = (signmask << howto->rightshift) - 1;
3097 if (howto->bitsize + howto->rightshift
3133 a = (a & addrmask) >> howto->rightshift;
3140 if (ss != 0 && ss != ((addrmask >> howto->rightshift) & signmask))
3206 a = (a & addrmask) >> howto->rightshift;
3367 howto.rightshift = 0;
H A Dpe-mips.c90 …x = ((x & ~howto->dst_mask) | (((x & howto->src_mask) + (diff >> howto->rightshift)) & howto->dst_… in coff_mips_reloc()

123