Home | History | Annotate | Download | only in bfd

Lines Matching defs:rela

30 /* Use REL instead of RELA to save space.
39 /* Use RELA. But use REL to link old objects for backwords compatibility. */
1612 /* Create .got, .gotplt, and .rela.got sections in DYNOBJ, and set up
1629 htab->srelgot = bfd_get_linker_section (dynobj, ".rela.got");
1693 ? ".rela.plt" : ".rel.plt",
1732 ? ".rela.bss" : ".rel.bss"),
1920 .rela.bss section we are going to use. */
2270 else if (CONST_STRNEQ (bfd_get_section_name (dynobj, s), ".rela"))
2286 output file. This is mostly to handle .rela.bss and
2287 .rela.plt. We must create both sections in
2364 both for RELA and REL type relocs, if only to serve as a learning tool.
2369 The relocs are always passed as Rela structures; if the section
2374 necessary, and (if using Rela relocs and generating a
2435 ensure it's zero (we use REL relocs, not RELA). Therefore this
2757 When doing a dynamic link, we create a .rela.got
2799 ".rela.got");
2884 (input_bfd, input_section, /*rela?*/ TRUE);
3132 Elf_Internal_Rela rela;
3208 /* Fill in the entry in the .rela.plt section. */
3209 rela.r_offset = (sgot->output_section->vma
3212 rela.r_info = ELF32_R_INFO (h->dynindx, R_M32R_JMP_SLOT);
3213 rela.r_addend = 0;
3216 bfd_elf32_swap_reloca_out (output_bfd, &rela, loc);
3230 Elf_Internal_Rela rela;
3239 rela.r_offset = (sgot->output_section->vma
3254 rela.r_info = ELF32_R_INFO (0, R_M32R_RELATIVE);
3255 rela.r_addend = (h->root.u.def.value
3263 rela.r_info = ELF32_R_INFO (h->dynindx, R_M32R_GLOB_DAT);
3264 rela.r_addend = 0;
3269 bfd_elf32_swap_reloca_out (output_bfd, &rela, loc);
3276 Elf_Internal_Rela rela;
3284 s = bfd_get_linker_section (htab->root.dynobj, ".rela.bss");
3287 rela.r_offset = (h->root.u.def.value
3290 rela.r_info = ELF32_R_INFO (h->dynindx, R_M32R_COPY);
3291 rela.r_addend = 0;
3294 bfd_elf32_swap_reloca_out (output_bfd, &rela, loc);
3375 the linker script arranges for .rela.plt to follow all
3907 (sec, dynobj, 2, abfd, /*rela?*/ TRUE);
3999 const Elf_Internal_Rela *rela)
4001 switch ((int) ELF32_R_TYPE (rela->r_info))