Lines Matching refs:relocs

45 /* Branch prediction bit for branch taken relocs.  */
1180 /* The remaining relocs are from the Embedded ELF ABI, and are not
1625 /* Handle the R_PPC_ADDR16_HA and R_PPC_REL16_HA relocs. */
2307 /* The PPC linker needs to keep track of the number of relocs that it
2308 decides to copy as dynamic relocs in check_relocs for each symbol.
2320 /* Total number of relocs copied for the input section. */
2323 /* Number of pc-relative relocs copied for the input section. */
2353 /* Of those relocs that might be copied as dynamic relocs, this macro
2381 /* Track dynamic relocs copied for this symbol. */
2386 corresponding relocs are encountered during check_relocs.
3033 /* Look through the relocs for a section during the first phase, and
3041 const Elf_Internal_Rela *relocs)
3054 In particular, any relocs in such sections should not affect GOT
3057 relocs, and there's not much point in propagating relocs to shared
3077 rel_end = relocs + sec->reloc_count;
3078 for (rel = relocs; rel < rel_end; rel++)
3494 dynamic library if we manage to avoid copy relocs for the
3562 /* Track dynamic relocs needed for local syms too.
3780 without using the new relocs, and if ld isn't given
3781 --secure-plt and we never see REL16 relocs. */
3860 const Elf_Internal_Rela *relocs)
3880 relend = relocs + sec->reloc_count;
3881 for (rel = relocs; rel < relend; rel++)
4013 /* Run through all the TLS relocs looking for optimization
4080 /* These relocs should never be against a symbol
4168 if (elf_section_data (sec)->relocs != relstart)
4191 if (elf_section_data (sec)->relocs != relstart)
4297 /* If we didn't find any dynamic relocs in read-only sections, then we'll
4298 be keeping the dynamic relocs and avoiding the copy reloc. We can't
4335 Of course, if the symbol is referenced using SDAREL relocs, we
4454 /* Allocate space in associated reloc sections for dynamic relocs. */
4656 /* All the entries we allocated need relocs.
4671 dynamic pc-relative relocs against symbols which turn out to be
4673 space for relocs that have become local due to symbol visibility
4679 or certain REL relocs (see MUST_BE_DYN_RELOC) that can be
4699 /* Also discard relocs on undefined weak syms with non-default
4719 /* For the non-shared case, discard space for relocs against
4720 symbols which turn out to need copy relocs or are not
4737 relocs. */
4757 /* Find any dynamic relocs that apply to read-only sections. */
4795 bfd_boolean relocs;
4823 relocs. */
4850 the relocs too. */
4915 /* Allocate space for global sym dynamic relocs. */
4984 relocs = FALSE;
5018 relocs = TRUE;
5021 to copy relocs into the output file. */
5086 if (relocs)
5094 /* If any dynamic relocs apply to a read-only section, then we
5524 if (elf_section_data (isec)->relocs != internal_relocs)
5529 elf_section_data (isec)->relocs = internal_relocs;
5542 && elf_section_data (isec)->relocs != internal_relocs)
5628 The relocs are always passed as Rela structures; if the section
5633 necessary, and (if using Rela relocs and generating a
5660 Elf_Internal_Rela *relocs,
5694 rel = relocs;
5695 relend = relocs + input_section->reloc_count;
5741 /* For relocs against symbols from removed linkonce sections,
5766 /* TLS optimizations. Replace instruction sequences and relocs
5768 RELOCS so that --emit-relocs will output something sensible
6149 /* Generate relocs for the dynamic linker. */
6302 /* The TPREL16 relocs shouldn't really be used in shared
6446 but ld.so expects buggy relocs. */