Lines Matching refs:howto
395 tic30_aout_relocate_contents (reloc_howto_type *howto, in tic30_aout_relocate_contents() argument
403 if (howto->size < 0) in tic30_aout_relocate_contents()
406 switch (howto->size) in tic30_aout_relocate_contents()
428 if (howto->complain_on_overflow != complain_overflow_dont) in tic30_aout_relocate_contents()
435 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()
448 add = x & howto->src_mask; in tic30_aout_relocate_contents()
450 if ((add & (((~howto->src_mask) >> 1) & howto->src_mask)) != 0) in tic30_aout_relocate_contents()
451 signed_add -= (((~howto->src_mask) >> 1) & howto->src_mask) << 1; in tic30_aout_relocate_contents()
452 if (howto->bitpos == 0) in tic30_aout_relocate_contents()
459 check += add >> howto->bitpos; in tic30_aout_relocate_contents()
461 signed_check += add >> howto->bitpos; in tic30_aout_relocate_contents()
463 signed_check += ((add >> howto->bitpos) | ((bfd_vma) - 1 & ~((bfd_vma) - 1 >> howto->bitpos))); in tic30_aout_relocate_contents()
465 switch (howto->complain_on_overflow) in tic30_aout_relocate_contents()
469 bfd_signed_vma reloc_signed_max = (1 << (howto->bitsize - 1)) - 1; in tic30_aout_relocate_contents()
478 bfd_vma reloc_unsigned_max = (((1 << (howto->bitsize - 1)) - 1) << 1) | 1; in tic30_aout_relocate_contents()
486 bfd_vma reloc_bits = (((1 << (howto->bitsize - 1)) - 1) << 1) | 1; in tic30_aout_relocate_contents()
498 relocation >>= (bfd_vma) howto->rightshift; in tic30_aout_relocate_contents()
499 relocation <<= (bfd_vma) howto->bitpos; in tic30_aout_relocate_contents()
500 x = ((x & ~howto->dst_mask) | (((x & howto->src_mask) + relocation) & howto->dst_mask)); in tic30_aout_relocate_contents()
501 switch (howto->size) in tic30_aout_relocate_contents()
524 tic30_aout_final_link_relocate (reloc_howto_type *howto, in tic30_aout_final_link_relocate() argument
538 if (howto->pc_relative) in tic30_aout_final_link_relocate()
541 if (howto->pcrel_offset) in tic30_aout_final_link_relocate()
544 return tic30_aout_relocate_contents (howto, input_bfd, relocation, in tic30_aout_final_link_relocate()