Home
last modified time | relevance | path

Searched refs:addrmask (Results 1 – 4 of 4) sorted by relevance

/toolchain/binutils/binutils-2.25/bfd/
Dreloc.c493 bfd_vma fieldmask, addrmask, signmask, ss, a; in bfd_check_overflow() local
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()
1419 bfd_vma addrmask, fieldmask, signmask, ss; in _bfd_relocate_contents() local
1428 addrmask = (N_ONES (bfd_arch_bits_per_address (input_bfd)) in _bfd_relocate_contents()
1430 a = (relocation & addrmask) >> rightshift; in _bfd_relocate_contents()
1431 b = (x & howto->src_mask & addrmask) >> bitpos; in _bfd_relocate_contents()
1432 addrmask >>= rightshift; in _bfd_relocate_contents()
1450 if (ss != 0 && ss != (addrmask & signmask)) in _bfd_relocate_contents()
[all …]
Dcoff-rs6000.c3111 bfd_vma addrmask, fieldmask, signmask, ss; in xcoff_complain_overflow_signed_func() local
3119 addrmask = N_ONES (bfd_arch_bits_per_address (input_bfd)) | fieldmask; in xcoff_complain_overflow_signed_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()
3146 b = (b & addrmask) >> howto->bitpos; in xcoff_complain_overflow_signed_func()
3172 bfd_vma addrmask, fieldmask; in xcoff_complain_overflow_unsigned_func() local
3180 addrmask = N_ONES (bfd_arch_bits_per_address (input_bfd)) | fieldmask; in xcoff_complain_overflow_unsigned_func()
3195 a = (a & addrmask) >> howto->rightshift; in xcoff_complain_overflow_unsigned_func()
3196 b = (b & addrmask) >> howto->bitpos; in xcoff_complain_overflow_unsigned_func()
3197 sum = (a + b) & addrmask; in xcoff_complain_overflow_unsigned_func()
Delf32-nds32.c4205 bfd_vma addrmask, fieldmask, signmask, ss; in nds32_relocate_contents() local
4214 addrmask = N_ONES (bfd_arch_bits_per_address (input_bfd)) | fieldmask; in nds32_relocate_contents()
4215 a = (relocation & addrmask) >> rightshift; in nds32_relocate_contents()
4216 b = (x & howto->src_mask & addrmask) >> bitpos; in nds32_relocate_contents()
4234 if (ss != 0 && ss != ((addrmask >> rightshift) & signmask)) in nds32_relocate_contents()
4265 if (((~(a ^ b)) & (a ^ sum)) & signmask & addrmask) in nds32_relocate_contents()
4282 sum = (a + b) & addrmask; in nds32_relocate_contents()
DChangeLog-20102880 * reloc.c (bfd_check_overflow): When forming addrmask, shift
2882 (_bfd_relocate_contents): Likewise. Use rightshift addrmask in all