Home | History | Annotate | Download | only in bfd

Lines Matching defs:howto

157   reloc_howto_type *howto = reloc_entry->howto;
192 if (output_bfd != NULL && ! howto->partial_inplace)
205 if (howto->pc_relative)
237 if (howto->pcrel_offset)
243 if (! howto->partial_inplace)
360 if (howto->complain_on_overflow != complain_overflow_dont)
366 if (howto->rightshift > howto->bitpos)
367 check = relocation >> (howto->rightshift - howto->bitpos);
369 check = relocation << (howto->bitpos - howto->rightshift);
370 switch (howto->complain_on_overflow)
375 bfd_signed_vma reloc_signed_max = (1 << (howto->bitsize - 1)) - 1;
380 if (howto->rightshift > howto->bitpos
384 >> (howto->rightshift - howto->bitpos)));
393 overflow if howto->bitsize is the number of bits in
396 (((1 << (howto->bitsize - 1)) - 1) << 1) | 1;
405 overflow if howto->bitsize is the number of bits in
407 bfd_vma reloc_bits = (((1 << (howto->bitsize - 1)) - 1) << 1) | 1;
416 if (howto->rightshift > howto->bitpos
421 >> (howto->rightshift - howto->bitpos)));
463 relocation >>= (bfd_vma) howto->rightshift;
466 relocation <<= (bfd_vma) howto->bitpos;
501 x = ( (x & ~howtohowto->src_mask) + relocation) & howto->dst_mask))
504 switch (howto->size)
558 if ((howto->complain_on_overflow != complain_overflow_dont) && overflow)
564 /* Relocate a given location using a given value and howto. */
567 _bfd_do_ns32k_reloc_contents (reloc_howto_type *howto,
580 if (howto->size < 0)
584 size = bfd_get_reloc_size (howto);
605 if (howto->complain_on_overflow != complain_overflow_dont)
612 if (howto->rightshift == 0)
620 check = relocation >> howto->rightshift;
629 & ~((bfd_vma) - 1 >> howto->rightshift)));
633 add = x & howto->src_mask;
636 The expression involving howto->src_mask isolates the upper
644 if ((add & (((~howto->src_mask) >> 1) & howto->src_mask)) != 0)
645 signed_add -= (((~howto->src_mask) >> 1) & howto->src_mask) << 1;
649 if (howto->bitpos == 0)
656 check += add >> howto->bitpos;
662 signed_check += add >> howto->bitpos;
664 signed_check += ((add >> howto->bitpos)
666 & ~((bfd_vma) - 1 >> howto->bitpos)));
669 switch (howto->complain_on_overflow)
674 bfd_signed_vma reloc_signed_max = (1 << (howto->bitsize - 1)) - 1;
685 overflow if howto->bitsize is the number of bits in
688 (((1 << (howto->bitsize - 1)) - 1) << 1) | 1;
697 overflow if howto->bitsize is the number of bits in
699 bfd_vma reloc_bits = (((1 << (howto->bitsize - 1)) - 1) << 1) | 1;
713 relocation >>= (bfd_vma) howto->rightshift;
714 relocation <<= (bfd_vma) howto->bitpos;
717 x = ((x & ~howto->dst_mask)
718 | (((x & howto->src_mask) + relocation) & howto->dst_mask));
769 _bfd_ns32k_final_link_relocate (reloc_howto_type *howto,
799 if (howto->pc_relative)
803 if (howto->pcrel_offset)
807 return _bfd_ns32k_relocate_contents (howto, input_bfd, relocation,