Home | History | Annotate | Download | only in bfd

Lines Matching refs:reloc

76    appear in the output .reloc section.  */
383 /* Swap out extra information in the reloc structure. */
465 /* This structure is used to map BFD reloc codes to SH PE relocs. */
473 /* An array mapping BFD reloc codes to SH PE relocs. */
481 /* An array mapping BFD reloc codes to SH PE relocs. */
489 /* Given a BFD reloc code, return the howto structure for the
490 corresponding SH PE reloc. */
504 (*_bfd_error_handler) (_("SH Error: unknown reloc type %d"), code);
523 an internal reloc. */
533 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) \
549 if ((reloc).r_type == R_SH_SWITCH8 \
550 || (reloc).r_type == R_SH_SWITCH16 \
551 || (reloc).r_type == R_SH_SWITCH32 \
552 || (reloc).r_type == R_SH_USES \
553 || (reloc).r_type == R_SH_COUNT \
554 || (reloc).r_type == R_SH_ALIGN) \
555 cache_ptr->addend = (reloc).r_offset; \
674 R_SH_USES reloc is the PC relative offset to the instruction which
677 bytes past the instruction). The linker can use this reloc to
683 guarantees that each function call will have an R_SH_USES reloc.
684 Therefore, if the linker is able to convert each R_SH_USES reloc
688 When the assembler creates an R_SH_USES reloc, it examines it to
691 creates an R_SH_COUNT reloc at that address. The r_offset field of
692 the R_SH_COUNT reloc will be the number of references. If the
694 R_SH_COUNT reloc to see whether it can also eliminate the function
766 /* The r_offset field of the R_SH_USES reloc will point us to
807 /* Get the reloc for the address from which the register is
808 being loaded. This reloc will tell us which function is
826 ("%B: 0x%lx: warning: could not find expected reloc",
831 /* Get the value of the symbol referred to by the reloc. */
865 regular reloc processing. */
909 /* Change the R_SH_USES reloc into an R_SH_PCDISP reloc, and
931 /* See if there is another R_SH_USES reloc referring to the same
946 /* Look for a R_SH_COUNT reloc on the location where the
963 /* Now check whether we got a COUNT reloc. */
967 ("%B: 0x%lx: warning: could not find expected COUNT reloc",
1077 reloc for an aligment
1124 /* Get the new reloc address. */
1132 /* See if this reloc was for the bytes we have deleted, in which
1143 /* If this is a PC relative reloc, see if the range it covers
1170 /* If this reloc is against a symbol defined in this
1233 The r_offset field holds the difference between the reloc
1234 address and L1. That is the start of the reloc, and
1347 ("%B: 0x%lx: fatal: reloc overflow while relaxing",
1480 /* See if we can move the ALIGN reloc forward. We have adjusted
2534 /* Adjust all reloc addresses. */
2550 /* If an R_SH_USES reloc points to one of the addresses being
2613 /* This reloc ignores the least significant 3 bits of
2635 ("%B: 0x%lx: fatal: reloc overflow while relaxing",
2812 /* There is nothing to do for an internal PCDISP reloc. */