Lines Matching full:relocs
75 #include "elf32-sh-relocs.h"
83 #include "elf32-sh-relocs.h"
228 /* This function is used for normal relocs. This used to be like the COFF
251 /* Almost all relocs have to do with relaxing. If any work must be
297 /* This function is used for relocs which are only used for relaxing,
312 /* This structure is used to map BFD reloc codes to SH ELF relocs. */
320 /* An array mapping BFD reloc codes to SH ELF relocs. */
494 specific code. The format of relocs and symbols is wound deeply
697 contents, the section relocs, and the BFD symbol table. We
704 elf_section_data (sec)->relocs = internal_relocs;
825 elf_section_data (sec)->relocs = internal_relocs;
856 && elf_section_data (sec)->relocs != internal_relocs)
869 && elf_section_data (sec)->relocs != internal_relocs)
908 irel = elf_section_data (sec)->relocs;
938 /* Adjust all the relocs. */
939 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++)
957 case we no longer care about it. Don't delete relocs which
1068 /* These relocs types represent
1195 relocs against internal symbols which we are not going to adjust
1208 /* We always cache the relocs. Perhaps, if info->keep_memory is
1220 /* Dwarf line numbers use R_SH_SWITCH32 relocs. */
1396 /* Note that the assembler currently always outputs relocs in
1398 the label values and the relocs. */
1439 sh_elf_swap_insns (bfd *abfd, asection *sec, void *relocs,
1442 Elf_Internal_Rela *internal_relocs = (Elf_Internal_Rela *) relocs;
1459 /* There are a few special types of relocs that we don't want to
1460 adjust. These relocs do not apply to the instruction itself,
2355 /* The sh linker needs to keep track of the number of relocs that it
2356 decides to copy as dynamic relocs in check_relocs for each symbol.
2368 /* Total number of relocs copied for the input section. */
2371 /* Number of pc-relative relocs copied for the input section. */
2395 /* Track dynamic relocs copied for this symbol. */
2761 /* The .rel[a].bss section holds copy relocs. This section is not
2771 copy relocs. */
2891 /* If we didn't find any dynamic relocs in sections which needs the
2892 copy reloc, then we'll be keeping the dynamic relocs and avoiding
2931 dynamic relocs. */
3177 dynamic pc-relative relocs against symbols which turn out to be
3179 space for pc-relative relocs that have become local due to symbol
3212 /* Also discard relocs on undefined weak syms with non-default
3232 /* For the non-shared case, discard space for relocs against
3233 symbols which turn out to need copy relocs or are not
3253 relocs. */
3277 /* Find any dynamic relocs that apply to read-only sections. */
3328 bfd_boolean relocs;
3351 relocs. */
3380 the relocs too. */
3482 relocs. */
3499 sym dynamic relocs. */
3516 relocs = FALSE;
3535 relocs = TRUE;
3538 to copy relocs into the output file. */
3607 if (relocs)
3615 /* If any dynamic relocs apply to a read-only section,
3815 bfd_byte *contents, Elf_Internal_Rela *relocs,
3868 rel = relocs;
3869 relend = relocs + input_section->reloc_count;
3890 /* Many of the relocs are only used for relaxing, and are
3919 /* For relocs that aren't partial_inplace, we get the addend from
3966 All real relocs are of type partial_inplace; this
3973 /* Relocs of type partial_inplace need to pick up the
4092 /* Dynamic relocs are not propagated for SEC_DEBUGGING
4163 /* COFF relocs don't use the addend. The addend is used for
5613 if (elf_section_data (input_section)->relocs != internal_relocs)
5626 && elf_section_data (input_section)->relocs != internal_relocs)
5681 asection *sec, const Elf_Internal_Rela *relocs)
5699 relend = relocs + sec->reloc_count;
5700 for (rel = relocs; rel < relend; rel++)
5987 /* Look through the relocs for a section during the first phase.
5989 virtual table relocs for gc. */
5993 const Elf_Internal_Rela *relocs)
6018 rel_end = relocs + sec->reloc_count;
6019 for (rel = relocs; rel < rel_end; rel++)
6083 /* Some relocs require a global offset table. */
6438 dynamic library if we manage to avoid copy relocs for the
6477 /* Track dynamic relocs needed for local syms too. */
7145 procedure linkage table relocs (DT_JMPREL) should be
7146 included in the overall relocs (DT_RELA). This is
7149 here to make it not include the JMPREL relocs. Since