Lines Matching refs:rel
182 /* The size of an external REL relocation. */
1103 static const char dname[] = ".rel.dyn";
1141 /* Create a rel.dyn relocation for the dynamic linker to resolve. REL
1149 const Elf_Internal_Rela *rel,
1161 r_type = ELF32_R_TYPE (rel->r_info);
1169 _bfd_elf_section_offset (output_bfd, info, input_section, rel[0].r_offset);
1171 _bfd_elf_section_offset (output_bfd, info, input_section, rel[1].r_offset);
1173 _bfd_elf_section_offset (output_bfd, info, input_section, rel[2].r_offset);
1809 Elf_Internal_Rela *rel,
1822 bfd_byte *hit_data = contents + rel->r_offset;
1875 r_symndx = ELF32_R_SYM (rel->r_info);
1876 r_type = ELF32_R_TYPE (rel->r_info);
1877 rel_addr = (input_section->output_section->vma + input_section->output_offset + rel->r_offset);
1880 local_p = score_elf_local_relocation_p (input_bfd, rel, local_sections, FALSE);
1904 lo16_rel = score_elf_next_relocation (input_bfd, R_SCORE_GOT_LO16, rel, relend);
1935 value = bfd_get_32 (input_bfd, contents + rel->r_offset);
1942 lo16_rel = score_elf_next_relocation (input_bfd, R_SCORE_GOT_LO16, rel, relend);
1955 local_p = score_elf_local_relocation_p (input_bfd, rel, local_sections, TRUE);
2033 if (!score_elf_create_dynamic_relocation (output_bfd, info, rel, h,
2162 forced = ! score_elf_local_relocation_p (input_bfd, rel,
2242 Elf_Internal_Rela *rel;
2272 rel = relocs;
2274 for (; rel < relend; rel++)
2286 r_symndx = ELF32_R_SYM (rel->r_info);
2287 r_type = ELF32_R_TYPE (rel->r_info);
2289 s7_bfd_score_info_to_howto (input_bfd, &bfd_reloc, (Elf_Internal_Rela *) rel);
2322 hi16_addend = bfd_get_32 (input_bfd, contents + rel->r_offset - 4);
2324 value = bfd_get_32 (input_bfd, contents + rel->r_offset);
2335 bfd_put_32 (input_bfd, hi16_value, contents + rel->r_offset - 4);
2339 bfd_put_32 (input_bfd, value, contents + rel->r_offset);
2342 value = bfd_get_32 (input_bfd, contents + rel->r_offset);
2350 bfd_put_32 (input_bfd, value, contents + rel->r_offset);
2353 value = bfd_get_32 (input_bfd, contents + rel->r_offset);
2368 bfd_put_32 (input_bfd, value, contents + rel->r_offset);
2444 input_section, rel->r_offset,
2454 rel, 1, relend, howto, 0, contents);
2473 value = bfd_get_32 (input_bfd, contents + rel->r_offset);
2480 lo16_rel = score_elf_next_relocation (input_bfd, R_SCORE_GOT_LO16, rel, relend);
2500 bfd_put_32 (input_bfd, value, contents + rel->r_offset);
2505 score_elf_add_to_rel (input_bfd, contents + rel->r_offset,
2514 input_section, contents, rel, relocs,
2533 input_bfd, input_section, rel->r_offset))))
2538 (info, name, input_bfd, input_section, rel->r_offset, TRUE)))
2560 (info, msg, name, input_bfd, input_section, rel->r_offset)))
2585 const Elf_Internal_Rela *rel;
2622 for (rel = relocs; rel < rel_end; ++rel)
2628 r_symndx = ELF32_R_SYM (rel->r_info);
2629 r_type = ELF32_R_TYPE (rel->r_info);
2682 if (! score_elf_record_local_got_symbol (abfd, r_symndx, rel->r_addend, g))
2693 abfd, (unsigned long) rel->r_offset);
2728 in the .rel.dyn reloc section. */
2770 if (!bfd_elf_gc_record_vtinherit (abfd, sec, h, rel->r_offset))
2777 if (!bfd_elf_gc_record_vtentry (abfd, sec, h, rel->r_offset))
3101 if (CONST_STRNEQ (name, ".rel"))
3123 If the relocation section is .rel.dyn, we always
3131 && (target->flags & SEC_ALLOC) != 0) || strcmp (outname, ".rel.dyn") == 0)
3136 if (strcmp (name, ".rel.dyn") != 0)
3662 cookie->rel = cookie->rels;
3705 Elf_Internal_Rela *rel,
3710 switch (ELF32_R_TYPE (rel->r_info))
3717 return _bfd_elf_gc_mark_hook (sec, info, rel, h, sym);