Home | History | Annotate | Download | only in bfd

Lines Matching defs:rela

769    The relocs are always passed as Rela structures; if the section
774 necessary, and (if using Rela relocs and generating a relocatable
927 When doing a dynamic link, we create a .rela.got
971 srelgot = bfd_get_section_by_name (dynobj, ".rela.got");
1111 Elf_Internal_Rela rela;
1115 sreloc = bfd_get_section_by_name (dynobj, ".rela.got");
1154 /* Add DTPMOD and DTPOFF GOT and rela entries. */
1157 rela.r_offset = sgot->output_section->vma +
1161 rela.r_info = ELF32_R_INFO (h->dynindx,
1163 rela.r_addend = 0;
1167 rela.r_info = ELF32_R_INFO (0,
1169 rela.r_addend = tpoff (info, relocation);
1176 bfd_elf32_swap_reloca_out (output_bfd, &rela, loc);
1191 /* Add TPOFF GOT and rela entries. */
1192 rela.r_offset = sgot->output_section->vma +
1196 rela.r_info = ELF32_R_INFO (h->dynindx, R_OR1K_TLS_TPOFF);
1197 rela.r_addend = 0;
1201 rela.r_info = ELF32_R_INFO (0, R_OR1K_TLS_TPOFF);
1202 rela.r_addend = tpoff (info, relocation);
1208 bfd_elf32_swap_reloca_out (output_bfd, &rela, loc);
1364 /* Create .got, .gotplt, and .rela.got sections in DYNOBJ, and set up
1387 htab->srelgot = bfd_get_section_by_name (dynobj, ".rela.got");
1638 if (strncmp (name, ".rela", 5) != 0
1655 (sec, dynobj, 2, abfd, /*rela?*/ TRUE);
1780 the linker script arranges for .rela.plt to follow all
1875 Elf_Internal_Rela rela;
1936 /* Fill in the entry in the .rela.plt section. */
1937 rela.r_offset = (sgot->output_section->vma
1940 rela.r_info = ELF32_R_INFO (h->dynindx, R_OR1K_JMP_SLOT);
1941 rela.r_addend = 0;
1944 bfd_elf32_swap_reloca_out (output_bfd, &rela, loc);
1960 Elf_Internal_Rela rela;
1968 rela.r_offset = (sgot->output_section->vma
1979 rela.r_info = ELF32_R_INFO (0, R_OR1K_RELATIVE);
1980 rela.r_addend = (h->root.u.def.value
1988 rela.r_info = ELF32_R_INFO (h->dynindx, R_OR1K_GLOB_DAT);
1989 rela.r_addend = 0;
1994 bfd_elf32_swap_reloca_out (output_bfd, &rela, loc);
2001 Elf_Internal_Rela rela;
2009 ".rela.bss");
2012 rela.r_offset = (h->root.u.def.value
2015 rela.r_info = ELF32_R_INFO (h->dynindx, R_OR1K_COPY);
2016 rela.r_addend = 0;
2019 bfd_elf32_swap_reloca_out (output_bfd, &rela, loc);
2034 const Elf_Internal_Rela *rela)
2036 switch ((int) ELF32_R_TYPE (rela->r_info))
2168 .rela.bss section we are going to use. */
2541 else if (CONST_STRNEQ (bfd_get_section_name (dynobj, s), ".rela"))
2557 output file. This is mostly to handle .rela.bss and
2558 .rela.plt. We must create both sections in
2652 htab->srelplt = bfd_get_section_by_name (dynobj, ".rela.plt");
2655 htab->srelbss = bfd_get_section_by_name (dynobj, ".rela.bss");