• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/gdb/bfd/

Lines Matching refs:howto

79 #define SELECT_RELOC(internal, howto)					\
81 internal.r_type = howto->type; \
83 ((howto->complain_on_overflow == complain_overflow_signed \
86 | (howto->bitsize - 1)); \
1005 /* Default howto layout works most of the time */
1006 relent->howto = &xcoff_howto_table[internal->r_type];
1012 relent->howto = &xcoff_howto_table[0x1c];
1014 relent->howto = &xcoff_howto_table[0x1d];
1016 relent->howto = &xcoff_howto_table[0x1e];
1024 if (relent->howto->dst_mask != 0
1025 && (relent->howto->bitsize
2774 xcoff_reloc_type_noop (input_bfd, input_section, output_bfd, rel, sym, howto,
2781 struct reloc_howto_struct *howto ATTRIBUTE_UNUSED;
2791 xcoff_reloc_type_fail (input_bfd, input_section, output_bfd, rel, sym, howto,
2798 struct reloc_howto_struct *howto ATTRIBUTE_UNUSED;
2812 xcoff_reloc_type_pos (input_bfd, input_section, output_bfd, rel, sym, howto,
2819 struct reloc_howto_struct *howto ATTRIBUTE_UNUSED;
2830 xcoff_reloc_type_neg (input_bfd, input_section, output_bfd, rel, sym, howto,
2837 struct reloc_howto_struct *howto ATTRIBUTE_UNUSED;
2848 xcoff_reloc_type_rel (input_bfd, input_section, output_bfd, rel, sym, howto,
2855 struct reloc_howto_struct *howto;
2861 howto->pc_relative = TRUE;
2873 xcoff_reloc_type_toc (input_bfd, input_section, output_bfd, rel, sym, howto,
2880 struct reloc_howto_struct *howto ATTRIBUTE_UNUSED;
2916 xcoff_reloc_type_ba (input_bfd, input_section, output_bfd, rel, sym, howto,
2923 struct reloc_howto_struct *howto;
2929 howto->src_mask &= ~3;
2930 howto->dst_mask = howto->src_mask;
2938 xcoff_reloc_type_br (input_bfd, input_section, output_bfd, rel, sym, howto,
2945 struct reloc_howto_struct *howto;
3000 howto->complain_on_overflow = complain_overflow_dont;
3003 howto->pc_relative = TRUE;
3004 howto->src_mask &= ~3;
3005 howto->dst_mask = howto->src_mask;
3017 xcoff_reloc_type_crel (input_bfd, input_section, output_bfd, rel, sym, howto,
3024 struct reloc_howto_struct *howto;
3030 howto->pc_relative = TRUE;
3031 howto->src_mask &= ~3;
3032 howto->dst_mask = howto->src_mask;
3044 xcoff_complain_overflow_dont_func (input_bfd, val, relocation, howto)
3048 struct reloc_howto_struct *howto ATTRIBUTE_UNUSED;
3054 xcoff_complain_overflow_bitfield_func (input_bfd, val, relocation, howto)
3058 struct reloc_howto_struct *howto;
3067 fieldmask = N_ONES (howto->bitsize);
3070 b = val & howto->src_mask;
3076 a >>= howto->rightshift;
3077 b >>= howto->bitpos;
3099 ss = (signmask << howto->rightshift) - 1;
3112 if (howto->bitsize + howto->rightshift
3130 xcoff_complain_overflow_signed_func (input_bfd, val, relocation, howto)
3134 struct reloc_howto_struct *howto;
3143 fieldmask = N_ONES (howto->bitsize);
3146 b = val & howto->src_mask;
3148 a = (a & addrmask) >> howto->rightshift;
3155 if (ss != 0 && ss != ((addrmask >> howto->rightshift) & signmask))
3164 signmask = ((~ howto->src_mask) >> 1) & howto->src_mask;
3171 b = (b & addrmask) >> howto->bitpos;
3192 xcoff_complain_overflow_unsigned_func (input_bfd, val, relocation, howto)
3196 struct reloc_howto_struct *howto;
3205 fieldmask = N_ONES (howto->bitsize);
3208 b = val & howto->src_mask;
3221 a = (a & addrmask) >> howto->rightshift;
3222 b = (b & addrmask) >> howto->bitpos;
3368 struct reloc_howto_struct howto;
3380 /* howto */
3381 howto.type = rel->r_type;
3382 howto.rightshift = 0;
3383 howto.bitsize = (rel->r_size & 0x1f) + 1;
3384 howto.size = howto.bitsize > 16 ? 2 : 1;
3385 howto.pc_relative = FALSE;
3386 howto.bitpos = 0;
3387 howto.complain_on_overflow = (rel->r_size & 0x80
3390 howto.special_function = NULL;
3391 howto.name = "internal";
3392 howto.partial_inplace = TRUE;
3393 howto.src_mask = howto.dst_mask = N_ONES (howto.bitsize);
3394 howto.pcrel_offset = FALSE;
3459 (input_bfd, input_section, output_bfd, rel, sym, &howto, val,
3471 if (1 == howto.size)
3483 if ((unsigned int) howto.complain_on_overflow
3487 if (((*xcoff_complain_overflow[howto.complain_on_overflow])
3488 (input_bfd, value_to_relocate, relocation, &howto)))
3518 value_to_relocate = ((value_to_relocate & ~howto.dst_mask)
3519 | (((value_to_relocate & howto.src_mask)
3520 + relocation) & howto.dst_mask));
3523 if (1 == howto.size)