Lines Matching refs:rel
114 ? ".rela.got" : ".rel.got"),
312 /* We need to create .plt, .rel[a].plt, .got, .got.plt, .dynbss, and
313 .rel[a].bss sections. */
346 ? ".rela.plt" : ".rel.plt"),
369 /* The .rel[a].bss section holds copy relocs. This section is not
384 ? ".rela.bss" : ".rel.bss"),
2078 may be either a REL or a RELA section. The relocations are
2172 sections (both REL and RELA relocations), then the REL_HDR
2213 if (esdo->rel.hdr)
2214 size += esdo->rel.hdr->sh_size;
2225 if (esdo->rel.hdr)
2227 if (!elf_link_read_relocs_from_section (abfd, o, esdo->rel.hdr,
2232 + esdo->rel.hdr->sh_size);
2233 internal_rela_relocs += (NUM_SHDR_ENTRIES (esdo->rel.hdr)
2328 if (esdo->rel.hdr && esdo->rel.hdr->sh_entsize == input_rel_hdr->sh_entsize)
2330 output_reldata = &esdo->rel;
7908 Elf_Internal_Rela *rel,
7923 &trunc_p, rel->r_addend);
7933 x = get_value (wordsz, chunksz, input_bfd, contents + rel->r_offset);
7966 put_value (wordsz, chunksz, input_bfd, x, contents + rel->r_offset);
8112 rel_dyn = bfd_get_section_by_name (abfd, ".rel.dyn");
8132 /* Section size is divisible by both rel and rela sizes.
8154 /* Section size is only divisible by rel. */
8186 /* Section size is divisible by both rel and rela sizes.
8208 /* Section size is only divisible by rel. */
9141 the target dependent code is needed, particularly for REL targets). */
9548 Elf_Internal_Rela *rel, *relend;
9593 rel = internal_relocs;
9594 relend = rel + o->reloc_count * bed->s->int_rels_per_ext_rel;
9595 for ( ; rel < relend; rel++)
9597 unsigned long r_symndx = rel->r_info >> r_sym_shift;
9619 sprintf_vma (buffer, rel->r_info);
9655 bfd_vma dot = (rel->r_offset
9661 (long) (rel - internal_relocs));
9665 (unsigned long) rel->r_info,
9666 (unsigned long) rel->r_offset);
9763 rel_hash = esdo->rel.hashes + esdo->rel.count;
9764 /* We start processing the REL relocs, if any. When we reach
9767 if (esdi->rel.hdr != NULL)
9768 irelamid += (NUM_SHDR_ENTRIES (esdi->rel.hdr)
9974 input_rel_hdr = esdi->rel.hdr;
10099 if (esdo->rel.hdr)
10100 reldata = &esdo->rel;
10420 if ((o->flags & SEC_RELOC) != 0 && esdo->rel.hashes != NULL)
10421 free (esdo->rel.hashes);
10619 if (esdi->rel.hdr != NULL)
10620 ext_size = esdi->rel.hdr->sh_size;
10640 if (esdi->rel.hdr)
10641 esdo->rel.count += NUM_SHDR_ENTRIES (esdi->rel.hdr);
10650 esdo->rel.count += reloc_count;
10691 if (esdo->rel.hdr
10692 && !(_bfd_elf_link_size_reloc_section (abfd, &esdo->rel)))
10702 esdo->rel.count = 0;
11181 if (esdo->rel.hdr != NULL)
11182 elf_link_adjust_relocs (abfd, &esdo->rel);
11565 cookie->rel = cookie->rels;
11569 cookie->rel = cookie->rels;
11622 Elf_Internal_Rela *rel ATTRIBUTE_UNUSED,
11676 /* COOKIE->rel describes a relocation against section SEC, which is
11688 r_symndx = cookie->rel->r_info >> cookie->r_sym_shift;
11706 return (*gc_mark_hook) (sec, info, cookie->rel, h, NULL);
11709 return (*gc_mark_hook) (sec, info, cookie->rel, NULL,
11713 /* COOKIE->rel describes a relocation against section SEC, which is
11770 for (; cookie.rel < cookie.relend; cookie.rel++)
12071 Elf_Internal_Rela *relstart, *relend, *rel;
12095 for (rel = relstart; rel < relend; ++rel)
12096 if (rel->r_offset >= hstart && rel->r_offset < hend)
12100 && (rel->r_offset - hstart) < h->vtable->size)
12102 bfd_vma entry = (rel->r_offset - hstart) >> log_file_align;
12107 rel->r_offset = rel->r_info = rel->r_addend = 0;
12591 rcookie->rel = rcookie->rels;
12593 for (; rcookie->rel < rcookie->relend; rcookie->rel++)
12598 if (rcookie->rel->r_offset > offset)
12600 if (rcookie->rel->r_offset != offset)
12603 r_symndx = rcookie->rel->r_info >> rcookie->r_sym_shift;
12936 const char *prefix = is_rela ? ".rela" : ".rel";
12982 or .rel.<SEC's name>. The section name is looked up in the
13049 /* Append a RELA relocation REL to section S in BFD. */
13052 elf_append_rela (bfd *abfd, asection *s, Elf_Internal_Rela *rel)
13057 bed->s->swap_reloca_out (abfd, rel, loc);
13060 /* Append a REL relocation REL to section S in BFD. */
13063 elf_append_rel (bfd *abfd, asection *s, Elf_Internal_Rela *rel)
13068 bed->s->swap_reloc_out (abfd, rel, loc);