Lines Matching refs:howto

35   reloc_howto_type howto;
53 bool loongarch_gen_adjust_reloc_bits (reloc_howto_type *howto, bfd_vma *val);
54 bool loongarch_adjust_reloc_bits_l16_xx5_h5 (reloc_howto_type *howto,
56 bool loongarch_adjust_reloc_bits_l16_h10 (reloc_howto_type *howto,
697 if (loongarch_howto_table[r_type].howto.type == r_type)
700 BFD_ASSERT (loongarch_howto_table[r_type].howto.type == r_type);
703 if (loongarch_howto_table[i].howto.type == r_type)
719 if (loongarch_howto_table[i].howto.name
720 && strcasecmp (loongarch_howto_table[i].howto.name, r_name) == 0)
761 bool loongarch_gen_adjust_reloc_bits (reloc_howto_type *howto, bfd_vma *fix_val)
765 if (howto->rightshift
766 && (((0x1UL << howto->rightshift) - 1) & val))
769 int bitsize = howto->bitsize + howto->rightshift;
772 if (howto->complain_on_overflow == complain_overflow_signed)
788 else if (howto->complain_on_overflow == complain_overflow_unsigned)
797 val = (val & ((0x1U << bitsize) - 1)) >> howto->rightshift;
798 val <<= howto->bitpos;
806 bool loongarch_adjust_reloc_bits_l16_xx5_h5 (reloc_howto_type *howto,
811 if (howto->rightshift
812 && (((0x1UL << howto->rightshift) - 1) & val))
816 if (howto->complain_on_overflow != complain_overflow_signed)
819 int bitsize = howto->bitsize + howto->rightshift;
835 val = (val & ((0x1U << bitsize) - 1)) >> howto->rightshift;
846 bool loongarch_adjust_reloc_bits_l16_h10 (reloc_howto_type *howto,
851 if (howto->rightshift
852 && (((0x1UL << howto->rightshift) - 1) & val))
856 if (howto->complain_on_overflow != complain_overflow_signed)
859 int bitsize = howto->bitsize + howto->rightshift;
875 val = (val & ((0x1U << bitsize) - 1)) >> howto->rightshift;
885 bool loongarch_adjust_reloc_bitsfield (reloc_howto_type *howto,
888 BFD_ASSERT (((loongarch_reloc_howto_type *)howto)->adjust_reloc_bits);
890 howto)->adjust_reloc_bits(howto, fix_val);