Lines Matching refs:reloc
0 // reloc.cc -- relocate input files for gold.
33 #include "target-reloc.h"
34 #include "reloc.h"
358 this->error(_("unexpected entsize for reloc section %u: %lu != %u"),
367 this->error(_("reloc section %u size %lu uneven"),
640 typedef typename Reloc_types<sh_type, size, big_endian>::Reloc Reltype;
647 Reltype reloc(prelocs);
651 reloc.get_r_offset()))
655 reloc.get_r_info();
782 // This is a reloc section in a relocatable link or when
807 // routines need to check for each reloc where it should be
1006 gold_error(_("unexpected entsize for reloc section %u: %lu != %u"),
1015 gold_error(_("reloc section %u size %lu uneven"),
1119 typedef typename Reloc_types<sh_type, size, big_endian>::Reloc Reloc;
1138 Reloc reloc(prelocs);
1140 typename elfcpp::Elf_types<size>::Elf_WXword r_info = reloc.get_r_info();
1150 Address offset = reloc.get_r_offset();
1169 Reloc_types<sh_type, size, big_endian>::get_reloc_addend(&reloc);
1271 typedef typename Reloc_types<sh_type, size, big_endian>::Reloc Reltype;
1281 Reltype reloc(pr);
1283 typename elfcpp::Elf_types<size>::Elf_WXword r_info = reloc.get_r_info();
1303 unsigned int r_type = elfcpp::elf_r_type<size>(reloc.get_r_info());
1307 convert_to_section_size_type(reloc.get_r_offset());
1373 Reltype reloc(pr);
1376 reloc.get_r_info();
1382 convert_to_section_size_type(reloc.get_r_offset());
1526 // the reloc section index, and the type of the relocs. This returns
1536 // If RELOC_SHNDX is -1U, it means there is more than one reloc
1541 // If RELOC_SHNDX is 0, there is no reloc section.
1545 // Get the contents of the reloc section.
1557 object->error(_("reloc section size %zu is not a multiple of "
1558 "reloc size %d\n"),
1567 // Return the offset of the next reloc, or -1 if there isn't one.
1582 // Return the index of the symbol referenced by the next reloc, or -1U
1598 // Return the addend of the next reloc, or 0 if there isn't one.
1612 // Advance to the next reloc whose r_offset is greater than or equal