Lines Matching refs:howto

161   reloc_howto_type *howto = reloc_entry->howto;
196 if (output_bfd != NULL && ! howto->partial_inplace)
209 if (howto->pc_relative)
241 if (howto->pcrel_offset)
247 if (! howto->partial_inplace)
364 if (howto->complain_on_overflow != complain_overflow_dont)
370 if (howto->rightshift > howto->bitpos)
371 check = relocation >> (howto->rightshift - howto->bitpos);
373 check = relocation << (howto->bitpos - howto->rightshift);
374 switch (howto->complain_on_overflow)
379 bfd_signed_vma reloc_signed_max = (1 << (howto->bitsize - 1)) - 1;
384 if (howto->rightshift > howto->bitpos
388 >> (howto->rightshift - howto->bitpos)));
397 overflow if howto->bitsize is the number of bits in
400 (((1 << (howto->bitsize - 1)) - 1) << 1) | 1;
409 overflow if howto->bitsize is the number of bits in
411 bfd_vma reloc_bits = (((1 << (howto->bitsize - 1)) - 1) << 1) | 1;
420 if (howto->rightshift > howto->bitpos
425 >> (howto->rightshift - howto->bitpos)));
467 relocation >>= (bfd_vma) howto->rightshift;
470 relocation <<= (bfd_vma) howto->bitpos;
504 if (howto->negate)
508 x = ( (x & ~howto->dst_mask) | (((x & howto->src_mask) + relocation) & howto->dst_mask))
511 switch (bfd_get_reloc_size (howto))
556 if ((howto->complain_on_overflow != complain_overflow_dont) && overflow)
562 /* Relocate a given location using a given value and howto. */
565 _bfd_do_ns32k_reloc_contents (reloc_howto_type *howto,
576 if (howto->negate)
580 size = bfd_get_reloc_size (howto);
602 if (howto->complain_on_overflow != complain_overflow_dont)
609 if (howto->rightshift == 0)
617 check = relocation >> howto->rightshift;
626 & ~((bfd_vma) - 1 >> howto->rightshift)));
630 add = x & howto->src_mask;
633 The expression involving howto->src_mask isolates the upper
641 if ((add & (((~howto->src_mask) >> 1) & howto->src_mask)) != 0)
642 signed_add -= (((~howto->src_mask) >> 1) & howto->src_mask) << 1;
646 if (howto->bitpos == 0)
653 check += add >> howto->bitpos;
659 signed_check += add >> howto->bitpos;
661 signed_check += ((add >> howto->bitpos)
663 & ~((bfd_vma) - 1 >> howto->bitpos)));
666 switch (howto->complain_on_overflow)
671 bfd_signed_vma reloc_signed_max = (1 << (howto->bitsize - 1)) - 1;
682 overflow if howto->bitsize is the number of bits in
685 (((1 << (howto->bitsize - 1)) - 1) << 1) | 1;
694 overflow if howto->bitsize is the number of bits in
696 bfd_vma reloc_bits = (((1 << (howto->bitsize - 1)) - 1) << 1) | 1;
710 relocation >>= (bfd_vma) howto->rightshift;
711 relocation <<= (bfd_vma) howto->bitpos;
714 x = ((x & ~howto->dst_mask)
715 | (((x & howto->src_mask) + relocation) & howto->dst_mask));
766 _bfd_ns32k_final_link_relocate (reloc_howto_type *howto,
791 if (howto->pc_relative)
795 if (howto->pcrel_offset)
799 return _bfd_ns32k_relocate_contents (howto, input_bfd, relocation,