| /openbsd-src/gnu/usr.bin/binutils/bfd/ |
| H A D | reloc.c | 492 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 D | cpu-ns32k.c | 385 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 D | nlm32-i386.c | 170 || rel->howto->rightshift != 0 295 && rel->howto->rightshift == 0 319 && rel->howto->rightshift == 0
|
| H A D | elf32-d10v.c | 376 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 D | elf32-i860.c | 83 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 D | nlm32-ppc.c | 719 || rel->howto->rightshift != 0 827 if (howto->rightshift == rel->howto->rightshift
|
| H A D | aout-tic30.c | 461 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 D | nlm32-sparc.c | 188 if (tmp->rightshift == rel->howto->rightshift
|
| H A D | coff-m88k.c | 112 relocation >>= (bfd_vma) howto->rightshift;
|
| H A D | elf32-arm.h | 1491 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 D | coff-rs6000.c | 3066 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 D | cpu-ns32k.c | 383 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 D | reloc.c | 493 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 D | nlm32-i386.c | 155 || 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 D | elf32-d10v.c | 350 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 D | elf32-i860.c | 83 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 D | nlm32-ppc.c | 670 || rel->howto->rightshift != 0 in nlm_powerpc_write_import() 777 if (howto->rightshift == rel->howto->rightshift in nlm_powerpc_write_reloc()
|
| H A D | aout-tic30.c | 419 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 D | nlm32-sparc.c | 150 if (tmp->rightshift == rel->howto->rightshift in nlm_sparc_write_reloc()
|
| H A D | elf32-crx.c | 488 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 D | coff-m88k.c | 112 relocation >>= (bfd_vma) howto->rightshift;
|
| H A D | elf32-arm.c | 3238 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 D | elf32-bfin.c | 96 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 D | coff-rs6000.c | 3061 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 D | pe-mips.c | 90 …x = ((x & ~howto->dst_mask) | (((x & howto->src_mask) + (diff >> howto->rightshift)) & howto->dst_… in coff_mips_reloc()
|