Lines Matching defs:howto

174   reloc_howto_type *howto = reloc_entry->howto;
209 if (output_bfd != NULL && ! howto->partial_inplace)
222 if (howto->pc_relative)
254 if (howto->pcrel_offset)
260 if (! howto->partial_inplace)
379 if (howto->complain_on_overflow != complain_overflow_dont)
385 if (howto->rightshift > howto->bitpos)
386 check = relocation >> (howto->rightshift - howto->bitpos);
388 check = relocation << (howto->bitpos - howto->rightshift);
389 switch (howto->complain_on_overflow)
394 bfd_signed_vma reloc_signed_max = (1 << (howto->bitsize - 1)) - 1;
399 if (howto->rightshift > howto->bitpos
403 >> (howto->rightshift - howto->bitpos)));
412 overflow if howto->bitsize is the number of bits in
415 (((1 << (howto->bitsize - 1)) - 1) << 1) | 1;
424 overflow if howto->bitsize is the number of bits in
426 bfd_vma reloc_bits = (((1 << (howto->bitsize - 1)) - 1) << 1) | 1;
435 if (howto->rightshift > howto->bitpos
440 >> (howto->rightshift - howto->bitpos)));
482 relocation >>= (bfd_vma) howto->rightshift;
485 relocation <<= (bfd_vma) howto->bitpos;
520 x = ( (x & ~howto->dst_mask) | (((x & howto->src_mask) + relocation) & howto->dst_mask))
523 switch (howto->size)
577 if ((howto->complain_on_overflow != complain_overflow_dont) && overflow)
583 /* Relocate a given location using a given value and howto. */
586 _bfd_do_ns32k_reloc_contents (howto, input_bfd, relocation, location,
588 reloc_howto_type *howto;
601 if (howto->size < 0)
605 size = bfd_get_reloc_size (howto);
626 if (howto->complain_on_overflow != complain_overflow_dont)
633 if (howto->rightshift == 0)
641 check = relocation >> howto->rightshift;
650 & ~((bfd_vma) - 1 >> howto->rightshift)));
654 add = x & howto->src_mask;
657 The expression involving howto->src_mask isolates the upper
665 if ((add & (((~howto->src_mask) >> 1) & howto->src_mask)) != 0)
666 signed_add -= (((~howto->src_mask) >> 1) & howto->src_mask) << 1;
670 if (howto->bitpos == 0)
677 check += add >> howto->bitpos;
683 signed_check += add >> howto->bitpos;
685 signed_check += ((add >> howto->bitpos)
687 & ~((bfd_vma) - 1 >> howto->bitpos)));
690 switch (howto->complain_on_overflow)
695 bfd_signed_vma reloc_signed_max = (1 << (howto->bitsize - 1)) - 1;
706 overflow if howto->bitsize is the number of bits in
709 (((1 << (howto->bitsize - 1)) - 1) << 1) | 1;
718 overflow if howto->bitsize is the number of bits in
720 bfd_vma reloc_bits = (((1 << (howto->bitsize - 1)) - 1) << 1) | 1;
734 relocation >>= (bfd_vma) howto->rightshift;
735 relocation <<= (bfd_vma) howto->bitpos;
738 x = ((x & ~howto->dst_mask)
739 | (((x & howto->src_mask) + relocation) & howto->dst_mask));
794 _bfd_ns32k_final_link_relocate (howto, input_bfd, input_section, contents,
796 reloc_howto_type *howto;
826 if (howto->pc_relative)
830 if (howto->pcrel_offset)
834 return _bfd_ns32k_relocate_contents (howto, input_bfd, relocation,