Home | History | Annotate | Download | only in gold

Lines Matching refs:symndx

180   // Symbol SYMNDX in OBJECT has a section of SHN_XINDEX; return the
183 sym_xindex_to_shndx(Object* object, unsigned int symndx);
496 // Adjust a symbol's section index as needed. SYMNDX is the index
503 adjust_sym_shndx(unsigned int symndx, unsigned int shndx, bool* is_ordinary)
511 shndx = this->xindex_->sym_xindex_to_shndx(this, symndx);
773 // Return the index of the first incremental relocation for symbol SYMNDX.
775 get_incremental_reloc_base(unsigned int symndx) const
776 { return this->do_get_incremental_reloc_base(symndx); }
778 // Return the number of incremental relocations for symbol SYMNDX.
780 get_incremental_reloc_count(unsigned int symndx) const
781 { return this->do_get_incremental_reloc_count(symndx); }
956 // Return the index of the first incremental relocation for symbol SYMNDX--
962 // Return the number of incremental relocations for symbol SYMNDX--
1084 // Return the value of the local symbol whose index is SYMNDX, plus
1088 local_symbol_value(unsigned int symndx, uint64_t addend) const
1089 { return this->do_local_symbol_value(symndx, addend); }
1094 local_plt_offset(unsigned int symndx) const
1095 { return this->do_local_plt_offset(symndx); }
1097 // Return whether the local symbol SYMNDX has a GOT offset of type
1100 local_has_got_offset(unsigned int symndx, unsigned int got_type) const
1101 { return this->do_local_has_got_offset(symndx, got_type); }
1104 // SYMNDX. It is an error to call this if the symbol does not have
1107 local_got_offset(unsigned int symndx, unsigned int got_type) const
1108 { return this->do_local_got_offset(symndx, got_type); }
1110 // Set the GOT offset with type GOT_TYPE of the local symbol SYMNDX
1113 set_local_got_offset(unsigned int symndx, unsigned int got_type,
1115 { this->do_set_local_got_offset(symndx, got_type, got_offset); }
1117 // Return whether the local symbol SYMNDX is a TLS symbol.
1119 local_is_tls(unsigned int symndx) const
1120 { return this->do_local_is_tls(symndx); }
1252 // Return the index of the first incremental relocation for symbol SYMNDX.
1254 do_get_incremental_reloc_base(unsigned int symndx) const
1255 { return this->reloc_bases_[symndx]; }
1257 // Return the number of incremental relocations for symbol SYMNDX.
1259 do_get_incremental_reloc_count(unsigned int symndx) const
1260 { return this->reloc_counts_[symndx]; }
1292 do_local_symbol_value(unsigned int symndx, uint64_t addend) const = 0;
1296 do_local_plt_offset(unsigned int symndx) const = 0;
1300 do_local_has_got_offset(unsigned int symndx,
1305 do_local_got_offset(unsigned int symndx, unsigned int got_type) const = 0;
1309 do_set_local_got_offset(unsigned int symndx, unsigned int got_type,
1312 // Return whether local symbol SYMNDX is a TLS symbol.
1314 do_local_is_tls(unsigned int symndx) const = 0;
1404 // Record a relocation in this object referencing global symbol SYMNDX.
1407 count_incremental_reloc(unsigned int symndx)
1410 gold_assert(symndx < nsyms);
1412 ++this->reloc_counts_[symndx];
1420 // SYMNDX. Only valid after finalize_incremental_relocs() has been called.
1422 next_incremental_reloc_index(unsigned int symndx)
1428 gold_assert(symndx < nsyms);
1430 unsigned int counter = this->reloc_counts_[symndx]++;
1431 return this->reloc_bases_[symndx] + counter;
1973 // Return whether the local symbol SYMNDX has a GOT offset of type
1976 do_local_has_got_offset(unsigned int symndx, unsigned int got_type) const
1979 this->local_got_offsets_.find(symndx);
1985 // SYMNDX.
1987 do_local_got_offset(unsigned int symndx, unsigned int got_type) const
1990 this->local_got_offsets_.find(symndx);
1997 // Set the GOT offset with type GOT_TYPE of the local symbol SYMNDX
2000 do_set_local_got_offset(unsigned int symndx, unsigned int got_type,
2004 this->local_got_offsets_.find(symndx);
2011 this->local_got_offsets_.insert(std::make_pair(symndx, g));
2167 // Return whether the local symbol SYMNDX has a PLT offset.
2169 local_has_plt_offset(unsigned int symndx) const;
2171 // Set the PLT offset of the local symbol SYMNDX.
2173 set_local_plt_offset(unsigned int symndx, unsigned int plt_offset);
2233 do_local_symbol_value(unsigned int symndx, uint64_t addend) const
2235 const Symbol_value<size>* symval = this->local_symbol(symndx);
2242 do_local_plt_offset(unsigned int symndx) const;
2244 // Return whether local symbol SYMNDX is a TLS symbol.
2246 do_local_is_tls(unsigned int symndx) const
2247 { return this->local_symbol(symndx)->is_tls_symbol(); }