• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/cxxfilt-11/cxxfilt/bfd/

Lines Matching refs:rel

610   (mips_elf_hash_table (INFO)->is_vxworks ? ".rela.dyn" : ".rel.dyn")
1376 arelent rel;
1410 n->rel = *reloc_entry;
1473 if (hi->rel.howto->type == R_MIPS_GOT16)
1474 hi->rel.howto = MIPS_ELF_RTYPE_TO_HOWTO (abfd, R_MIPS_HI16, FALSE);
1478 hi->rel.addend += (vallo + 0x8000) & 0xffff;
1480 ret = _bfd_mips_elf_generic_reloc (abfd, &hi->rel, symbol, hi->data,
2214 Elf_Internal_Rela rel[3];
2216 memset (rel, 0, sizeof (rel));
2218 rel[0].r_info = ELF_R_INFO (output_bfd, indx, r_type);
2219 rel[0].r_offset = rel[1].r_offset = rel[2].r_offset = offset;
2224 (output_bfd, &rel[0],
2230 (output_bfd, &rel[0],
4749 /* Add room for N relocations to the .rel(a).dyn section in ABFD. */
4776 /* Create a rel.dyn relocation for the dynamic linker to resolve. REL
4784 const Elf_Internal_Rela *rel,
4798 r_type = ELF_R_TYPE (output_bfd, rel->r_info);
4807 _bfd_elf_section_offset (output_bfd, info, input_section, rel[0].r_offset);
4809 _bfd_elf_section_offset (output_bfd, info, input_section, rel[1].r_offset);
4811 _bfd_elf_section_offset (output_bfd, info, input_section, rel[2].r_offset);
4969 cptrel.vaddr = (rel->r_offset
6164 const Elf_Internal_Rela *rel;
6434 for (rel = relocs; rel < rel_end; ++rel)
6440 r_symndx = ELF_R_SYM (abfd, rel->r_info);
6441 r_type = ELF_R_TYPE (abfd, rel->r_info);
6491 abfd, (unsigned long) rel->r_offset);
6546 rel->r_addend, g, 0))
6557 abfd, (unsigned long) rel->r_offset);
6648 rel->r_addend, g, flag))
6673 relocs. Make room for this reloc in .rel(a).dyn. */
6738 if (!bfd_elf_gc_record_vtinherit (abfd, sec, h, rel->r_offset))
6745 if (!bfd_elf_gc_record_vtentry (abfd, sec, h, rel->r_offset))
7426 if (CONST_STRNEQ (name, ".rel"))
7435 If the relocation section is .rel(a).dyn, we always
7597 /* Allocate memory for the .rel(a).dyn section. */
7648 /* VxWorks uses .rela.dyn instead of .rel.dyn. It does not
7732 asection **local_sections, Elf_Internal_Rela *rel)
7738 if (mips_elf_local_relocation_p (input_bfd, rel, local_sections, FALSE))
7740 r_type = ELF_R_TYPE (output_bfd, rel->r_info);
7746 rel->r_addend += _bfd_get_gp_value (input_bfd);
7747 rel->r_addend -= _bfd_get_gp_value (output_bfd);
7750 r_symndx = ELF_R_SYM (output_bfd, rel->r_info);
7757 _bfd_elf_rela_local_sym (output_bfd, sym, &sec, rel);
7762 rel->r_addend += local_sections[r_symndx]->output_offset;
7775 Elf_Internal_Rela *rel;
7783 for (rel = relocs; rel < relend; ++rel)
7792 unsigned int r_type = ELF_R_TYPE (output_bfd, rel->r_info);
7809 rel->r_offset += 4;
7817 rel - relocs)));
7830 if ((size_t) (rel - relocs)
7835 bfd_byte *location = contents + rel->r_offset;
7843 addend = mips_elf_obtain_contents (howto, rel, input_bfd,
7855 && mips_elf_local_relocation_p (input_bfd, rel,
7887 rel, relend);
7915 addend = rel->r_addend;
7917 local_syms, local_sections, rel);
7924 rel->r_offset -= 4;
7926 if (!rela_relocation_p && rel->r_addend)
7928 addend += rel->r_addend;
7978 contents + rel->r_offset);
7980 contents + rel->r_offset + 4);
7984 if (! mips_elf_perform_relocation (info, howto, rel, addend,
7998 if (rel + 1 < relend
7999 && rel->r_offset == rel[1].r_offset
8000 && ELF_R_TYPE (input_bfd, rel[1].r_info) != R_MIPS_NONE)
8007 input_section, info, rel,
8027 (info, msg, name, input_bfd, input_section, rel->r_offset);
8040 input_bfd, input_section, rel->r_offset)))
8088 rel->r_offset -= 4;
8100 contents + rel->r_offset);
8102 contents + rel->r_offset + 4);
8107 if (! mips_elf_perform_relocation (info, howto, rel, value,
8300 Elf_Internal_Rela rel[3];
8302 memset (rel, 0, sizeof (rel));
8304 rel[0].r_info = ELF_R_INFO (output_bfd, 0, R_MIPS_64);
8306 rel[0].r_info = ELF_R_INFO (output_bfd, 0, R_MIPS_32);
8307 rel[0].r_offset = rel[1].r_offset = rel[2].r_offset = offset;
8311 (output_bfd, info, rel,
8422 Elf_Internal_Rela rel;
8485 rel.r_offset = got_address;
8486 rel.r_info = ELF32_R_INFO (htab->root.hplt->indx, R_MIPS_32);
8487 rel.r_addend = h->plt.offset;
8488 bfd_elf32_swap_reloca_out (output_bfd, &rel, loc);
8492 rel.r_offset = plt_address + 8;
8493 rel.r_info = ELF32_R_INFO (htab->root.hgot->indx, R_MIPS_HI16);
8494 rel.r_addend = got_offset;
8495 bfd_elf32_swap_reloca_out (output_bfd, &rel, loc);
8499 rel.r_offset += 4;
8500 rel.r_info = ELF32_R_INFO (htab->root.hgot->indx, R_MIPS_LO16);
8501 bfd_elf32_swap_reloca_out (output_bfd, &rel, loc);
8506 rel.r_offset = got_address;
8507 rel.r_info = ELF32_R_INFO (h->dynindx, R_MIPS_JUMP_SLOT);
8508 rel.r_addend = 0;
8509 bfd_elf32_swap_reloca_out (output_bfd, &rel, loc);
8551 Elf_Internal_Rela rel;
8555 rel.r_offset = (h->root.u.def.section->output_section->vma
8558 rel.r_info = ELF32_R_INFO (h->dynindx, R_MIPS_COPY);
8559 rel.r_addend = 0;
8560 bfd_elf32_swap_reloca_out (output_bfd, &rel,
8629 Elf_Internal_Rela rel;
8631 bfd_elf32_swap_reloca_in (output_bfd, loc, &rel);
8632 rel.r_info = ELF32_R_INFO (htab->root.hplt->indx, R_MIPS_32);
8633 bfd_elf32_swap_reloca_out (output_bfd, &rel, loc);
8636 bfd_elf32_swap_reloca_in (output_bfd, loc, &rel);
8637 rel.r_info = ELF32_R_INFO (htab->root.hgot->indx, R_MIPS_HI16);
8638 bfd_elf32_swap_reloca_out (output_bfd, &rel, loc);
8641 bfd_elf32_swap_reloca_in (output_bfd, loc, &rel);
8642 rel.r_info = ELF32_R_INFO (htab->root.hgot->indx, R_MIPS_LO16);
8643 bfd_elf32_swap_reloca_out (output_bfd, &rel, loc);
8926 Elf_Internal_Rela rel[3];
8929 memset (rel, 0, sizeof (rel));
8930 rel[0].r_info = ELF_R_INFO (output_bfd, 0, R_MIPS_REL32);
8947 rel[0].r_offset = rel[1].r_offset = rel[2].r_offset
8950 (output_bfd, info, rel, NULL,
9562 Elf_Internal_Rela *rel,
9569 switch (ELF_R_TYPE (sec->owner, rel->r_info))
9576 return _bfd_elf_gc_mark_hook (sec, info, rel, h, sym);
9591 const Elf_Internal_Rela *rel, *relend;
9600 for (rel = relocs; rel < relend; rel++)
9601 switch (ELF_R_TYPE (abfd, rel->r_info))
9762 cookie->rel = cookie->rels;