Home | History | Annotate | Download | only in gold

Lines Matching refs:reloc

34 #include "reloc.h"
42 #include "target-reloc.h"
94 // GOT entries into two areas: "normal" and "reloc-only". Entries in
96 // accesses, while those in the "reloc-only" area are for dynamic
296 // Check if R_TYPE is a MIPS16 reloc.
322 // Check if R_TYPE is a microMIPS reloc.
1606 // SYMNDX. This reloc would need to refer to a MIPS16 fn stub, if there
1898 // Add a static reloc for the GOT entry at OFFSET. RELOBJ is an object
2447 // The reloc section.
2674 // Mips cannot convert all relocation types to dynamic relocs. If a reloc
2675 // cannot be made dynamic, a COPY reloc is emitted.
2695 // Emit this reloc if appropriate. This is called after we have
3088 // Get the dynamic reloc section, creating it if necessary.
3272 const elfcpp::Rel<size, big_endian>& reloc, unsigned int r_type,
3281 const elfcpp::Rela<size, big_endian>& reloc, unsigned int r_type,
3302 const elfcpp::Rel<size, big_endian>& reloc, unsigned int r_type,
3310 const elfcpp::Rela<size, big_endian>& reloc, unsigned int r_type,
3451 // Emit this reloc if appropriate. This is called after we have
3603 Symbol* sym, const elfcpp::Rel<size, big_endian>& reloc)
3608 reloc, this->rel_dyn_section(layout));
3724 // The dynamic reloc section.
3726 // Relocs saved to avoid a COPY reloc.
3823 // R_MIPS16_26 reloc to be against a section, so the addend is
5227 // reloc of the type R_MIPS_TLS_DTPREL32/64 will be created for
5424 // count the number of reloc-only GOT symbols.
5686 Static_reloc& reloc(this->secondary_got_relocs_[i]);
5687 if (reloc.symbol_is_global())
5689 Mips_symbol<size>* gsym = reloc.symbol();
5692 unsigned got_offset = reloc.got_offset();
5724 Static_reloc& reloc(this->static_relocs_[i]);
5727 if (!reloc.symbol_is_global())
5729 Sized_relobj_file<size, big_endian>* object = reloc.relobj();
5731 object->local_symbol(reloc.index());
5745 reloc.index(), reloc.relobj()->name().c_str());
5753 const Mips_symbol<size>* gsym = reloc.symbol();
5773 unsigned got_offset = reloc.got_offset();
5779 switch (reloc.r_type())
7141 // Emit the reloc if appropriate.
7239 // Get the dynamic reloc section, creating it if necessary. It's always
7974 gold_error("Can't find matching LO16 reloc");
8345 object->error(_("unexpected reloc %u in object file"), r_type);
8349 object->error(_("unsupported reloc %u in object file"), r_type);
8447 typedef typename Reloc_types<elfcpp::SHT_REL, size, big_endian>::Reloc
8460 Reltype reloc(preloc_in);
8463 elfcpp::Elf_types<32>::Elf_WXword r_info = reloc.get_r_info();
8486 Mips_address offset = reloc.get_r_offset();
8514 // Handle the reloc addend.
8545 gold_error_at_location(relinfo, relnum, reloc.get_r_offset(),
8549 gold_error_at_location(relinfo, relnum, reloc.get_r_offset(),
8624 // This reloc would need to refer to a MIPS16 hard-float stub, if
8694 gold_error(_("CALL16 reloc at 0x%lx not against global symbol "),
8730 // Record the reloc so that we can check whether the corresponding LO16
8766 // Report an error if we find HI16 or GOT16 reloc from the
8771 gold_error("Can't find matching LO16 reloc");
8782 // We found a matching HI16 or GOT16 reloc for this LO16 reloc.
8959 const elfcpp::Rel<size, big_endian>& reloc,
8975 &reloc,
8991 const elfcpp::Rela<size, big_endian>& reloc,
9006 &reloc,
9065 // This reloc would need to refer to a MIPS16 hard-float stub, if
9071 // section. We check here to avoid creating a dynamic reloc against
9411 gold_error(_("%s: unexpected reloc %u in object file"),
9464 const elfcpp::Rela<size, big_endian>& reloc,
9475 &reloc,
9491 const elfcpp::Rel<size, big_endian>& reloc,
9503 &reloc,
9520 // scan_relocs, we didn't create a dynamic reloc, and we must apply
9521 // the reloc here.
9534 // We have generated dynamic reloc (R_MIPS_REL32).
9553 // We have not generated dynamic reloc.
10155 _("unsupported reloc %u"), r_type);
10196 const elfcpp::Rela<size, big_endian>& reloc,
10209 &reloc,
10227 const elfcpp::Rel<size, big_endian>& reloc,
10241 &reloc,
10351 gold_error(_("%s: unsupported reloc %u against local symbol"),
10364 gold_error(_("%s: unsupported reloc %u against global symbol %s"),