Lines Matching refs:reloc
30 #include "reloc.h"
38 #include "target-reloc.h"
156 // corresponding reloc, and the offset of this entry within the whole
230 // The reloc section.
562 const elfcpp::Rel<32, false>& reloc, unsigned int r_type,
571 const elfcpp::Rel<32, false>& reloc, unsigned int r_type,
580 const elfcpp::Rel<32, false>& reloc,
590 const elfcpp::Rel<32, false>& reloc,
719 // This is set if we should skip the next reloc, which should be a
720 // PLT32 reloc against ___tls_get_addr.
812 // Get the dynamic reloc section, creating it if necessary.
829 Symbol* sym, const elfcpp::Rel<32, false>& reloc)
833 object, shndx, output_section, reloc,
866 // The dynamic reloc section.
870 // Relocs saved to avoid a COPY reloc.
979 // Get the dynamic reloc section, creating it if necessary.
1006 // Make sure we have already create the dynamic reloc section.
1074 // Every PLT entry needs a reloc.
1135 // Every PLT entry needs a reloc.
1740 gold_error(_("%s: unsupported reloc %u against local symbol"),
1754 gold_error(_("%s: unsupported TLS reloc %u for IFUNC symbol"),
1768 const elfcpp::Rel<32, false>& reloc,
1780 unsigned int r_sym = elfcpp::elf_r_sym<32>(reloc.get_r_info());
1801 unsigned int r_sym = elfcpp::elf_r_sym<32>(reloc.get_r_info());
1804 reloc.get_r_offset());
1818 unsigned int r_sym = elfcpp::elf_r_sym<32>(reloc.get_r_info());
1821 data_shndx, reloc.get_r_offset());
1835 data_shndx, reloc.get_r_offset());
1847 // PC32 reloc.
1867 if (reloc.get_r_offset() >= 2
1873 if (view[reloc.get_r_offset() - 2] == 0x8b)
1878 unsigned int r_sym = elfcpp::elf_r_sym<32>(reloc.get_r_info());
1882 // libraries. Otherwise we would need an IRELATIVE reloc.
1917 gold_error(_("%s: unexpected reloc %u in object file"),
1946 unsigned int r_sym = elfcpp::elf_r_sym<32>(reloc.get_r_info());
1968 // reloc. The R_386_TLS_DESC reloc is resolved
1974 unsigned int r_sym = elfcpp::elf_r_sym<32>(reloc.get_r_info());
2023 = elfcpp::elf_r_sym<32>(reloc.get_r_info());
2027 reloc.get_r_offset());
2032 unsigned int r_sym = elfcpp::elf_r_sym<32>(reloc.get_r_info());
2054 unsigned int r_sym = elfcpp::elf_r_sym<32>(reloc.get_r_info());
2060 data_shndx, reloc.get_r_offset());
2094 gold_error(_("%s: unsupported reloc %u against global symbol %s"),
2156 const elfcpp::Rel<32, false>& reloc,
2194 data_shndx, output_section, gsym, reloc);
2203 // Use an IRELATIVE reloc for a locally defined
2212 reloc.get_r_offset());
2220 data_shndx, reloc.get_r_offset());
2226 data_shndx, reloc.get_r_offset());
2256 data_shndx, output_section, gsym, reloc);
2262 data_shndx, reloc.get_r_offset());
2278 if (reloc.get_r_offset() >= 2
2284 if (view[reloc.get_r_offset() - 2] == 0x8b)
2302 // Use a GLOB_DAT rather than a RELATIVE reloc if:
2352 // If the symbol is fully resolved, this is just a PC32 reloc.
2384 gold_error(_("%s: unexpected reloc %u in object file"),
2436 // reloc. The R_386_TLS_DESC reloc is resolved
2490 reloc.get_r_offset());
2520 data_shndx, reloc.get_r_offset());
2594 gold_error(_("%s: unsupported RELA reloc section"),
2697 // scan_relocs, we didn't create a dynamic reloc, and we must apply
2698 // the reloc here.
2770 // In this case we are generating a R_386_IRELATIVE reloc. We
2907 _("unexpected reloc %u in object file"),
2939 _("unsupported reloc %u"),
3021 _("unsupported reloc %u"),
3092 _("unsupported reloc %u"),
3128 _("unsupported reloc %u"),
3135 // This reloc can appear in debugging sections, in which
3200 _("unsupported reloc %u"),
3297 // The next reloc should be a PLT32 reloc against __tls_get_addr.
3363 // The next reloc should be a PLT32 reloc against __tls_get_addr.
3472 // The next reloc should be a PLT32 reloc against __tls_get_addr.
3656 object->error(_("unexpected reloc %u in object file"), r_type);
3670 object->error(_("unsupported reloc %u in object file"), r_type);