Lines Matching refs:howto
396 tic30_aout_relocate_contents (reloc_howto_type *howto,
404 if (howto->size < 0)
407 switch (howto->size)
429 if (howto->complain_on_overflow != complain_overflow_dont)
436 if (howto->rightshift == 0)
443 check = relocation >> howto->rightshift;
447 signed_check = (check | ((bfd_vma) - 1 & ~((bfd_vma) - 1 >> howto->rightshift)));
449 add = x & howto->src_mask;
451 if ((add & (((~howto->src_mask) >> 1) & howto->src_mask)) != 0)
452 signed_add -= (((~howto->src_mask) >> 1) & howto->src_mask) << 1;
453 if (howto->bitpos == 0)
460 check += add >> howto->bitpos;
462 signed_check += add >> howto->bitpos;
464 signed_check += ((add >> howto->bitpos) | ((bfd_vma) - 1 & ~((bfd_vma) - 1 >> howto->bitpos)));
466 switch (howto->complain_on_overflow)
470 bfd_signed_vma reloc_signed_max = (1 << (howto->bitsize - 1)) - 1;
479 bfd_vma reloc_unsigned_max = (((1 << (howto->bitsize - 1)) - 1) << 1) | 1;
487 bfd_vma reloc_bits = (((1 << (howto->bitsize - 1)) - 1) << 1) | 1;
499 relocation >>= (bfd_vma) howto->rightshift;
500 relocation <<= (bfd_vma) howto->bitpos;
501 x = ((x & ~howto->dst_mask) | (((x & howto->src_mask) + relocation) & howto->dst_mask));
502 switch (howto->size)
525 tic30_aout_final_link_relocate (reloc_howto_type *howto,
539 if (howto->pc_relative)
542 if (howto->pcrel_offset)
545 return tic30_aout_relocate_contents (howto, input_bfd, relocation,