Home | History | Annotate | Download | only in bfd

Lines Matching defs:howto

41 @* howto manager::
56 typedef arelent, howto manager, Relocations, Relocations
109 . reloc_howto_type *howto;
149 the howto. For example, on the 68k the code:
231 o <<howto>>
233 The <<howto>> field can be imagined as a
239 but it would be possible to create each howto field on demand.
372 The HOWTO Macro
375 The HOWTO define is horrible and will go away.
377 .#define HOWTO(C, R, S, B, P, BI, O, SF, NAME, INPLACE, MASKSRC, MASKDST, PC) \
385 . HOWTO (0, 0, SIZE, 0, REL, 0, complain_overflow_dont, FUNCTION, \
390 This is used to fill in an empty howto entry in an array.
393 . HOWTO ((C), 0, 0, 0, FALSE, 0, complain_overflow_dont, NULL, \
430 bfd_get_reloc_size (reloc_howto_type *howto)
432 switch (howto->size)
583 reloc_howto_type *howto = reloc_entry->howto;
606 if (howto->special_function)
609 cont = howto->special_function (abfd, reloc_entry, symbol, data,
632 if ((output_bfd && ! howto->partial_inplace)
646 if (howto->pc_relative)
679 if (howto->pcrel_offset)
685 if (! howto->partial_inplace)
795 if (howto->complain_on_overflow != complain_overflow_dont
797 flag = bfd_check_overflow (howto->complain_on_overflow,
798 howto->bitsize,
799 howto->rightshift,
830 relocation >>= (bfd_vma) howto->rightshift;
833 relocation <<= (bfd_vma) howto->bitpos;
869 x = ( (x & ~howto->dst_mask) | (((x & howto->src_mask) + relocation) & howto->dst_mask))
871 switch (howto->size)
969 reloc_howto_type *howto = reloc_entry->howto;
984 if (howto->special_function)
990 cont = howto->special_function (abfd, reloc_entry, symbol,
1015 if (! howto->partial_inplace)
1028 if (howto->pc_relative)
1061 if (howto->pcrel_offset && howto->partial_inplace)
1065 if (! howto->partial_inplace)
1175 if (howto->complain_on_overflow != complain_overflow_dont)
1176 flag = bfd_check_overflow (howto->complain_on_overflow,
1177 howto->bitsize,
1178 howto->rightshift,
1209 relocation >>= (bfd_vma) howto->rightshift;
1212 relocation <<= (bfd_vma) howto->bitpos;
1248 x = ( (x & ~howto->dst_mask) | (((x & howto->src_mask) + relocation) & howto->dst_mask))
1252 switch (howto->size)
1313 FIXME: This routine ignores any special_function in the HOWTO,
1317 HOWTO is the reloc howto information.
1326 _bfd_final_link_relocate (reloc_howto_type *howto,
1356 if (howto->pc_relative)
1360 if (howto->pcrel_offset)
1364 return _bfd_relocate_contents (howto, input_bfd, relocation,
1368 /* Relocate a given location using a given value and howto. */
1371 _bfd_relocate_contents (reloc_howto_type *howto,
1379 unsigned int rightshift = howto->rightshift;
1380 unsigned int bitpos = howto->bitpos;
1384 if (howto->size < 0)
1388 size = bfd_get_reloc_size (howto);
1417 if (howto->complain_on_overflow != complain_overflow_dont)
1426 fieldmask = N_ONES (howto->bitsize);
1431 b = (x & howto->src_mask & addrmask) >> bitpos;
1434 switch (howto->complain_on_overflow)
1459 ss = ((~howto->src_mask) >> 1) & howto->src_mask;
1512 x = ((x & ~howto->dst_mask)
1513 | (((x & howto->src_mask) + relocation) & howto->dst_mask));
1541 /* Clear a given location using a given howto, by applying a fixed relocation
1547 _bfd_clear_contents (reloc_howto_type *howto,
1556 size = bfd_get_reloc_size (howto);
1581 x &= ~howto->dst_mask;
1587 && (howto->dst_mask & 1) != 0)
1618 howto manager, , typedef arelent, Relocations
1621 The howto manager
1637 return a howto pointer.
1640 enumerator value; you can't get a howto pointer from a random set
6572 BFD_RELOC_N and they were added to assist the indexing of the howto
6582 and they were added to assist the indexing of the howto table.
7349 Return a pointer to a howto structure which, when
7368 HOWTO (0, 00, 2, 32, FALSE, 0, complain_overflow_dont, 0, "VRT32", FALSE, 0xffffffff, 0xffffffff, TRUE);
7594 = HOWTO (0, 0, 0, 0, FALSE, 0, complain_overflow_dont, NULL,
7598 _bfd_clear_contents ((*parent)->howto, input_bfd, input_section,
7602 (*parent)->howto = &none_howto;
7644 (*parent)->howto->name, (*parent)->addend,