Lines Matching refs:rel
2692 /* We need to create .plt, .rel[a].plt, .got, .got.plt, .dynbss, and
2693 .rel[a].bss sections. */
2736 ? ".rela.plt" : ".rel.plt",
2761 /* The .rel[a].bss section holds copy relocs. This section is not
2776 ? ".rela.bss" : ".rel.bss"),
3015 /* We also need to make an entry in the .rel.plt section. */
3822 Elf_Internal_Rela *rel, *relend;
3868 rel = relocs;
3870 for (; rel < relend; rel++)
3886 r_symndx = ELF32_R_SYM (rel->r_info);
3888 r_type = ELF32_R_TYPE (rel->r_info);
3922 addend = rel->r_addend;
3949 input_bfd, input_section, rel->r_offset));
3968 rel->r_addend += sec->output_offset;
3984 contents + rel->r_offset);
3992 relocation = _bfd_elf_rela_local_sym (output_bfd, sym, &sec, rel);
3993 addend = rel->r_addend;
4005 (long) rel->r_offset, howto->name);
4009 addend = bfd_get_32 (input_bfd, contents + rel->r_offset);
4015 bfd_put_32 (input_bfd, addend, contents + rel->r_offset);
4114 rel->r_offset)
4121 (long) rel->r_offset,
4136 input_section, rel->r_offset,
4145 rel, 1, relend, howto, 0, contents);
4166 contents, rel->r_offset,
4187 - rel->r_offset);
4201 (unsigned long) rel->r_offset));
4214 contents, rel, &relocation))
4234 (unsigned long) rel->r_offset, howto->name,
4249 (unsigned long) rel->r_offset, howto->name,
4263 (unsigned long) rel->r_offset,
4277 (unsigned long) rel->r_offset,
4323 rel->r_offset);
4339 ? bfd_get_32 (input_bfd, contents + rel->r_offset)
4367 ? bfd_get_32 (input_bfd, contents + rel->r_offset)
4390 ? bfd_get_32 (input_bfd, contents + rel->r_offset)
4422 (long) rel->r_offset,
4428 input_section, rel->r_offset);
4433 + rel->r_offset);
4570 if (rel->r_addend)
4641 if (rel->r_addend)
4659 rel->r_offset);
4687 addend = rel->r_addend;
4693 rel->r_offset);
4715 addend = rel->r_addend;
4762 addend = rel->r_addend;
4793 reloc_offset = rel->r_offset;
4898 (long) rel->r_offset,
4978 rel->r_offset);
4996 addend = rel->r_addend;
5003 input_bfd, input_section, (long) rel->r_offset, howto->name,
5055 rel->r_offset);
5065 start = (relocation + rel->r_addend
5068 rel->r_offset, sec, start, end);
5072 end = (relocation + rel->r_addend
5075 rel->r_offset, sec, start, end);
5104 if (ELF32_R_TYPE (rel->r_info) == R_SH_TLS_GD_32)
5115 offset = rel->r_offset;
5156 offset = rel->r_offset;
5180 contents + rel->r_offset);
5205 contents + rel->r_offset);
5271 if (r_type == (int) ELF32_R_TYPE (rel->r_info))
5287 offset = rel->r_offset;
5322 contents + rel->r_offset);
5327 addend = rel->r_addend;
5347 offset = rel->r_offset;
5407 addend = rel->r_addend;
5418 addend = rel->r_addend;
5432 addend = rel->r_addend;
5451 + rel->r_offset);
5476 input_bfd, input_section, rel->r_offset, symname);
5482 input_bfd, input_section, rel->r_offset, symname);
5513 rel->r_offset)))
5662 Elf_Internal_Rela *rel,
5667 switch (ELF32_R_TYPE (rel->r_info))
5674 return _bfd_elf_gc_mark_hook (sec, info, rel, h, sym);
5687 const Elf_Internal_Rela *rel, *relend;
5700 for (rel = relocs; rel < relend; rel++)
5709 r_symndx = ELF32_R_SYM (rel->r_info);
5735 r_type = ELF32_R_TYPE (rel->r_info);
5786 if (rel->r_addend & 1)
5871 if (rel->r_addend & 1)
5998 const Elf_Internal_Rela *rel;
6019 for (rel = relocs; rel < rel_end; rel++)
6027 r_symndx = ELF32_R_SYM (rel->r_info);
6028 r_type = ELF32_R_TYPE (rel->r_info);
6144 if (!bfd_elf_gc_record_vtinherit (abfd, sec, h, rel->r_offset))
6153 && !bfd_elf_gc_record_vtentry (abfd, sec, h, rel->r_addend))
6243 if (rel->r_addend & 1)
6295 if (rel->r_addend)
6706 Elf_Internal_Rela rel;
6848 rel.r_offset = (sgotplt->output_section->vma
6852 rel.r_info = ELF32_R_INFO (h->dynindx, R_SH_FUNCDESC_VALUE);
6854 rel.r_info = ELF32_R_INFO (h->dynindx, R_SH_JMP_SLOT);
6855 rel.r_addend = 0;
6857 rel.r_addend = GOT_BIAS;
6860 bfd_elf32_swap_reloca_out (output_bfd, &rel, loc);
6871 rel.r_offset = (htab->splt->output_section->vma
6875 rel.r_info = ELF32_R_INFO (htab->root.hgot->indx, R_SH_DIR32);
6876 rel.r_addend = got_offset;
6877 bfd_elf32_swap_reloca_out (output_bfd, &rel, loc);
6882 rel.r_offset = (sgotplt->output_section->vma
6885 rel.r_info = ELF32_R_INFO (htab->root.hplt->indx, R_SH_DIR32);
6886 rel.r_addend = 0;
6887 bfd_elf32_swap_reloc_out (output_bfd, &rel, loc);
6905 Elf_Internal_Rela rel;
6915 rel.r_offset = (sgot->output_section->vma
6933 rel.r_info = ELF32_R_INFO (dynindx, R_SH_DIR32);
6934 rel.r_addend = (h->root.u.def.value
6939 rel.r_info = ELF32_R_INFO (0, R_SH_RELATIVE);
6940 rel.r_addend = (h->root.u.def.value
6948 rel.r_info = ELF32_R_INFO (h->dynindx, R_SH_GLOB_DAT);
6949 rel.r_addend = 0;
6954 bfd_elf32_swap_reloca_out (output_bfd, &rel, loc);
6966 Elf_Internal_Rela rel;
6976 rel.r_offset = (sgot->output_section->vma
6994 rel.r_info = ELF32_R_INFO (dynindx, R_SH_DIR32);
6995 rel.r_addend = (h->root.u.def.value
7000 rel.r_info = ELF32_R_INFO (0, R_SH_RELATIVE);
7001 rel.r_addend = (h->root.u.def.value
7010 rel.r_info = ELF32_R_INFO (h->dynindx, R_SH_GLOB_DAT);
7011 rel.r_addend = 0;
7016 bfd_elf32_swap_reloca_out (output_bfd, &rel, loc);
7024 Elf_Internal_Rela rel;
7036 rel.r_offset = (h->root.u.def.value
7039 rel.r_info = ELF32_R_INFO (h->dynindx, R_SH_COPY);
7040 rel.r_addend = 0;
7042 bfd_elf32_swap_reloca_out (output_bfd, &rel, loc);
7184 Elf_Internal_Rela rel;
7190 rel.r_offset = (splt->output_section->vma
7193 rel.r_info = ELF32_R_INFO (htab->root.hgot->indx, R_SH_DIR32);
7194 rel.r_addend = 8;
7195 bfd_elf32_swap_reloca_out (output_bfd, &rel, loc);
7205 bfd_elf32_swap_reloc_in (output_bfd, loc, &rel);
7206 rel.r_info = ELF32_R_INFO (htab->root.hgot->indx,
7208 bfd_elf32_swap_reloc_out (output_bfd, &rel, loc);
7212 bfd_elf32_swap_reloc_in (output_bfd, loc, &rel);
7213 rel.r_info = ELF32_R_INFO (htab->root.hplt->indx,
7215 bfd_elf32_swap_reloc_out (output_bfd, &rel, loc);
7350 /* Return address for Ith PLT stub in section PLT, for relocation REL
7355 const arelent *rel ATTRIBUTE_UNUSED)