Lines Matching full:relocs
54 /* Branch prediction bit for branch taken relocs. */
774 /* Marker relocs for TLS. */
1232 /* The remaining relocs are from the Embedded ELF ABI, and are not
2043 /* Handle the R_PPC_ADDR16_HA and R_PPC_REL16_HA relocs. */
3055 /* Of those relocs that might be copied as dynamic relocs, this function
3098 /* Total number of relocs copied for the input section. */
3116 /* Track dynamic relocs copied for this symbol. */
3121 corresponding relocs are encountered during check_relocs.
3855 /* Look through the relocs for a section during the first phase, and
3863 const Elf_Internal_Rela *relocs)
3877 In particular, any relocs in such sections should not affect GOT
3880 relocs, and there's not much point in propagating relocs to shared
3911 rel_end = relocs + sec->reloc_count;
3912 for (rel = relocs; rel < rel_end; rel++)
3991 if (rel != relocs
4006 /* These special tls relocs tie a call to __tls_get_addr with
4431 dynamic library if we manage to avoid copy relocs for the
4490 /* Track dynamic relocs needed for local syms too.
4837 without using the new relocs, and if ld isn't given
4838 --secure-plt and we never see REL16 relocs. */
4921 const Elf_Internal_Rela *relocs)
4944 relend = relocs + sec->reloc_count;
4945 for (rel = relocs; rel < relend; rel++)
5186 /* Run through all the TLS relocs looking for optimization
5205 /* Make two passes through the relocs. First time check that tls
5206 relocs involved in setting up a tls_get_addr call are indeed
5260 without marker relocs, then check that each
5264 relocs, don't do any tls optimization. */
5275 if (elf_section_data (sec)->relocs != relstart)
5290 /* These relocs should never be against a symbol
5361 if (elf_section_data (sec)->relocs != relstart)
5403 if (elf_section_data (sec)->relocs != relstart)
5429 if (elf_section_data (sec)->relocs != relstart)
5446 /* Return true if we have dynamic relocs that apply to read-only sections. */
5547 dynamic relocs if the reference is weak, and the dynamic
5548 relocs will not cause text relocation. */
5591 /* If we didn't find any dynamic relocs in read-only sections, then
5592 we'll be keeping the dynamic relocs and avoiding the copy reloc.
5617 Of course, if the symbol is referenced using SDAREL relocs, we
5736 /* Allocate space in associated reloc sections for dynamic relocs. */
5967 /* All the entries we allocated need relocs.
5984 dynamic pc-relative relocs against symbols which turn out to be
5986 space for relocs that have become local due to symbol visibility
5991 /* Relocs that use pc_count are those that appear on a call insn,
5992 or certain REL relocs (see must_be_dyn_reloc) that can be
6025 /* Discard relocs on undefined symbols that must be local. */
6032 /* Also discard relocs on undefined weak syms with non-default
6053 /* For the non-shared case, discard space for relocs against
6054 symbols which turn out to need copy relocs or are not
6070 relocs. */
6092 /* Set DF_TEXTREL if we find any dynamic relocs that apply to
6133 bfd_boolean relocs;
6161 relocs. */
6190 the relocs too. */
6299 /* Allocate space for global sym dynamic relocs. */
6413 relocs = FALSE;
6453 relocs = TRUE;
6456 to copy relocs into the output file. */
6528 if (relocs)
6536 /* If any dynamic relocs apply to a read-only section, then we
6744 /* We cannot represent the required PIC relocs in the output, so don't
7233 /* Append sufficient NOP relocs so we can write out relocation
7250 if (internal_relocs != elf_section_data (isec)->relocs)
7252 elf_section_data (isec)->relocs = new_relocs;
7258 && elf_section_data (isec)->relocs != internal_relocs)
7277 && elf_section_data (isec)->relocs != internal_relocs)
7539 The relocs are always passed as Rela structures; if the section
7544 necessary, and (if using Rela relocs and generating a
7571 Elf_Internal_Rela *relocs,
7610 rel = relocs;
7611 relend = relocs + input_section->reloc_count;
7661 /* For relocs against symbols from removed linkonce sections,
7687 /* TLS optimizations. Replace instruction sequences and relocs
7689 RELOCS so that --emit-relocs will output something sensible
8184 /* Generate relocs for the dynamic linker. */
8360 /* The TPREL16 relocs shouldn't really be used in shared
8527 but ld.so expects buggy relocs.
8648 relocs to describe this relocation. */
8650 /* The relocs are at the bottom 2 bytes */
9318 lo = relocs;
9411 location. This matters for -r and --emit-relocs. */
9416 /* Keep the relocs sorted by r_offset. */