Home | History | Annotate | Download | only in bfd

Lines Matching full:relocs

231 /* The nds32 linker needs to keep track of the number of relocs that it
233 it can discard PC relative relocs if it doesn't need them when
237 /* This structure keeps track of the number of PC relative relocs we
246 /* Number of relocs copied in this section. */
250 /* The sh linker needs to keep track of the number of relocs that it
251 decides to copy as dynamic relocs in check_relocs for each symbol.
263 /* Total number of relocs copied for the input section. */
266 /* Number of pc-relative relocs copied for the input section. */
276 /* Track dynamic relocs copied for this symbol. */
2354 /* Functions listed below are only used for old relocs.
2439 /* Handle the R_NDS32_HI20_[SU]LO relocs.
2446 These relocs have to be done in combination with an R_NDS32_LO12 reloc
2450 number of HI20 relocs to be associated with a single LO12 reloc. The
2451 assembler sorts the relocs to ensure each HI20 immediately precedes its
3527 /* The .rel[a].bss section holds copy relocs. This section is not
3537 copy relocs. */
3696 /* If we didn't find any dynamic relocs in sections which needs the
3697 copy reloc, then we'll be keeping the dynamic relocs and avoiding
3758 dynamic relocs. */
3871 dynamic pc-relative relocs against symbols which turn out to be
3873 space for pc-relative relocs that have become local due to symbol
3895 /* For the non-shared case, discard space for relocs against
3896 symbols which turn out to need copy relocs or are not dynamic. */
3914 relocs. */
3934 /* Find any dynamic relocs that apply to read-only sections. */
3972 bfd_boolean relocs;
3992 relocs. */
4018 the relocs too. */
4054 sym dynamic relocs. */
4059 relocs = FALSE;
4081 relocs = TRUE;
4084 to copy relocs into the output file. */
4144 if (relocs)
4151 /* If any dynamic relocs apply to a read-only section,
4423 both for RELA and REL type relocs, if only to serve as a learning tool.
4428 The relocs are always passed as Rela structures; if the section
4433 necessary, and (if using Rela relocs and generating a
4469 Elf_Internal_Rela * relocs,
4502 rel = relocs;
4503 relend = relocs + input_section->reloc_count;
4530 for (rel = relocs; rel < relend; rel++)
4541 ensure it's zero (we use REL relocs, not RELA). Therefore this
5010 /* We allow an arbitrary number of HI20 relocs before the
5011 LO12 reloc. This permits gcc to emit the HI and LO relocs
5372 /* Instruction related relocs must handle endian properly. */
5381 /* All other relocs can use default handler. */
5717 procedure linkage table relocs (DT_JMPREL) should be
5718 included in the overall relocs (DT_RELA). This is
5721 here to make it not include the JMPREL relocs. Since
6200 const Elf_Internal_Rela *relocs)
6214 relend = relocs + sec->reloc_count;
6215 for (rel = relocs; rel < relend; rel++)
6328 /* Look through the relocs for a section during the first phase.
6330 virtual table relocs for gc. */
6334 asection *sec, const Elf_Internal_Rela *relocs)
6357 rel_end = relocs + sec->reloc_count;
6358 for (rel = relocs; rel < rel_end; rel++)
6377 /* Some relocs require a global offset table. We create
6550 if we manage to avoid copy relocs for the symbol. */
6575 relocs into the output file. We create a reloc
6624 /* Track dynamic relocs needed for local syms too. */
7984 some info around for --emit-relocs. */
8282 we find the relocation from `reloc' backward untill relocs,
8287 Elf_Internal_Rela *relocs,
8295 rel_t >= relocs && rel_t->r_offset == reloc->r_offset;
8315 we find the relocation from `reloc' backward untill relocs,
8320 Elf_Internal_Rela *relocs,
8334 rel_t >= relocs && rel_t->r_offset > offset_p; rel_t--)
8348 if (rel_t < relocs || rel_t == irelend || rel_t->r_offset != offset_p)
8351 return find_relocs_at_address (rel_t, relocs, irelend, reloc_type);
8647 /* Adjust all the relocs. */
8773 For some relocs like R_NDS32_LABEL that doesn't modify the
9092 contents, the section relocs, and the BFD symbol table. We
9180 contents, the section relocs, and the BFD symbol table. We
9826 contents, the section relocs, and the BFD symbol table. We
9997 contents, the section relocs, and the BFD symbol table. We
10104 contents, the section relocs, and the BFD symbol table. We
10556 contents, the section relocs, and the BFD symbol table. We
12056 Take care of relaxable relocs except INSN16. */
12345 && elf_section_data (sec)->relocs != internal_relocs)
12717 /* FIXME: Can we bfd_elf_link_read_relocs for the relocs? */
13027 /* A partial link, so keep the relocs. */