Home | History | Annotate | Download | only in gold

Lines Matching refs:reloc

30 #include "reloc.h"
38 #include "target-reloc.h"
302 // The reloc section.
532 // local symbol, which is an absolute reloc.
644 // Add a new reloc argument, returning the index in the vector.
711 const elfcpp::Rela<size, false>& reloc, unsigned int r_type,
720 const elfcpp::Rela<size, false>& reloc, unsigned int r_type,
729 const elfcpp::Rela<size, false>& reloc,
739 const elfcpp::Rela<size, false>& reloc,
860 // This is set if we should skip the next reloc, which should be a
861 // PLT32 reloc against ___tls_get_addr.
934 // Get the dynamic reloc section, creating it if necessary.
951 Symbol* sym, const elfcpp::Rela<size, false>& reloc)
956 reloc, this->rela_dyn_section(layout));
976 // relocation routines. The only target specific reloc is
1002 // The dynamic reloc section.
1006 // Relocs saved to avoid a COPY reloc.
1159 // Get the dynamic reloc section, creating it if necessary.
1188 // Make sure we have already created the dynamic reloc section.
1310 // Every PLT entry needs a reloc.
1338 // Every PLT entry needs a reloc.
2119 // Another Local-Dynamic reloc.
2219 gold_error(_("%s: unsupported reloc %u against local symbol"),
2253 // glibc supports these reloc types, but they can overflow.
2272 object->error(_("requires dynamic R_X86_64_32 reloc which may "
2292 object->error(_("requires dynamic %s reloc against '%s' "
2301 // This prevents us from issuing more than one error per reloc
2307 object->error(_("requires unsupported dynamic reloc %u; "
2329 gold_error(_("%s: unsupported TLS reloc %u for IFUNC symbol"),
2344 const elfcpp::Rela<size, false>& reloc,
2356 unsigned int r_sym = elfcpp::elf_r_sym<size>(reloc.get_r_info());
2376 unsigned int r_sym = elfcpp::elf_r_sym<size>(reloc.get_r_info());
2383 reloc.get_r_offset(),
2384 reloc.get_r_addend(), is_ifunc);
2401 unsigned int r_sym = elfcpp::elf_r_sym<size>(reloc.get_r_info());
2406 reloc.get_r_offset(),
2407 reloc.get_r_addend(), is_ifunc);
2414 unsigned int r_sym = elfcpp::elf_r_sym<size>(reloc.get_r_info());
2417 data_shndx, reloc.get_r_offset(),
2418 reloc.get_r_addend());
2432 data_shndx, reloc.get_r_offset(),
2433 reloc.get_r_addend());
2448 // PC32 reloc.
2469 unsigned int r_sym = elfcpp::elf_r_sym<size>(reloc.get_r_info());
2473 // libraries. Otherwise we would need an IRELATIVE reloc.
2520 gold_error(_("%s: unexpected reloc %u in object file"),
2547 unsigned int r_sym = elfcpp::elf_r_sym<size>(reloc.get_r_info());
2573 // R_X86_64_TLSDESC reloc. The R_X86_64_TLSDESC reloc
2579 unsigned int r_sym = elfcpp::elf_r_sym<size>(reloc.get_r_info());
2624 unsigned int r_sym = elfcpp::elf_r_sym<size>(reloc.get_r_info());
2648 gold_error(_("%s: unsupported reloc %u against local symbol"),
2664 gold_error(_("%s: unsupported reloc %u against global symbol %s"),
2752 const elfcpp::Rela<size, false>& reloc,
2792 data_shndx, output_section, gsym, reloc);
2802 // Use an IRELATIVE reloc for a locally defined
2812 reloc.get_r_offset(),
2813 reloc.get_r_addend());
2823 reloc.get_r_offset(),
2824 reloc.get_r_addend(), false);
2831 data_shndx, reloc.get_r_offset(),
2832 reloc.get_r_addend());
2854 data_shndx, output_section, gsym, reloc);
2861 data_shndx, reloc.get_r_offset(),
2862 reloc.get_r_addend());
2890 // Use a GLOB_DAT rather than a RELATIVE reloc if:
2942 // If the symbol is fully resolved, this is just a PC32 reloc.
2978 gold_error(_("%s: unexpected reloc %u in object file"),
3035 // reloc. The R_X86_64_TLSDESC reloc is resolved
3105 gold_error(_("%s: unsupported reloc %u against global symbol %s"),
3166 gold_error(_("%s: unsupported REL reloc section"),
3521 _("unexpected reloc %u in object file"),
3542 _("unsupported reloc %u"),
3642 _("unsupported reloc %u"), r_type);
3720 _("unsupported reloc %u"), r_type);
3754 _("unsupported reloc %u"), r_type);
3761 // optimize this reloc. See comments above for R_X86_64_TLSGD,
3842 _("unsupported reloc type %u"),
3911 // The next reloc should be a PLT32 reloc against __tls_get_addr.
3967 // The next reloc should be a PLT32 reloc against __tls_get_addr.
4085 // The next reloc should be a PLT32 reloc against __tls_get_addr.
4278 object->error(_("unexpected reloc %u in object file"), r_type);
4284 object->error(_("unsupported reloc %u against local symbol"), r_type);