Lines Matching full:shndx
156 // The .got2 section shndx.
166 // The .opd section shndx.
190 gold_assert(this->opd_ent_[ndx].shndx != 0);
193 return this->opd_ent_[ndx].shndx;
198 set_opd_ent(Address r_off, unsigned int shndx, Address value)
202 this->opd_ent_[ndx].shndx = shndx;
300 unsigned int shndx = this->opd_ent_[i].shndx;
301 symtab->gc()->worklist().push_back(Section_id(this, shndx));
320 set_has_14bit_branch(unsigned int shndx)
322 if (shndx >= this->has14_.size())
323 this->has14_.resize(shndx + 1);
324 this->has14_[shndx] = true;
328 has_14bit_branch(unsigned int shndx) const
329 { return shndx < this->has14_.size() && this->has14_[shndx]; }
332 set_stub_table(unsigned int shndx, unsigned int stub_index)
334 if (shndx >= this->stub_table_index_.size())
335 this->stub_table_index_.resize(shndx + 1, -1);
336 this->stub_table_index_[shndx] = stub_index;
340 stub_table(unsigned int shndx)
342 if (shndx < this->stub_table_index_.size())
347 unsigned int indx = this->stub_table_index_[shndx];
379 unsigned int shndx;
399 // For 32-bit the .got2 section shdnx, for 64-bit the .opd section shndx.
467 // The .opd section shndx.
495 gold_assert(this->opd_ent_[ndx].shndx != 0);
498 return this->opd_ent_[ndx].shndx;
503 set_opd_ent(Address r_off, unsigned int shndx, Address value)
507 this->opd_ent_[ndx].shndx = shndx;
524 : start(start_), len(len_), shndx(shndx_)
533 unsigned int shndx;
538 unsigned int shndx;
547 // For 64-bit the .opd section shndx and address.
714 do_calls_non_split(Relobj* object, unsigned int shndx,
1288 unsigned int shndx, Output_section* output_section,
1294 object, shndx, output_section,
1927 unsigned int shndx;
1932 shndx = lsym.get_st_shndx();
1933 shndx = this->adjust_sym_shndx(r_sym, shndx, &is_ordinary);
1937 shndx = this->symbol_section_and_value(r_sym, &value,
1939 this->set_opd_ent(reloc.get_r_offset(), shndx,
2213 this->set_opd_ent(p - opd, e->shndx, val);
2689 start_addr += i->relobj()->output_section_offset(i->shndx());
2701 i->relobj()->section_name(i->shndx()).c_str());
2706 i->relobj()->section_name(i->shndx()).c_str(),
2808 bool has14 = ppcobj->has_14bit_branch(i->shndx());
2821 ppcobj->set_stub_table(i->shndx(), tables.size() - 1);
2937 unsigned int shndx = gsym->shndx(&is_ordinary);
2938 if (shndx == elfcpp::SHN_UNDEF)
3013 stub_table->relobj()->section_name(stub_table->shndx()).c_str());
3120 Address off = object->get_output_section_offset((*p)->shndx());
3197 i->relobj()->set_section_offset(i->shndx(), off);
3861 : Output_relaxed_input_section(owner->relobj(), owner->shndx(),
3863 ->section_addralign(owner->shndx())),
5973 unsigned int shndx = lsym.get_st_shndx();
5975 shndx = object->adjust_sym_shndx(r_sym, shndx,
5978 object->error(_("section symbol %u has bad shndx %u"),
5979 r_sym, shndx);
5981 rela_dyn->add_local_section(object, shndx, r_type,
6202 unsigned int shndx = lsym.get_st_shndx();
6203 if (shndx >= elfcpp::SHN_LORESERVE
6204 && shndx != elfcpp::SHN_XINDEX)
6273 unsigned int shndx = lsym.get_st_shndx();
6276 shndx = ppc_object->adjust_sym_shndx(r_sym, shndx, &is_ordinary);
6277 if (is_ordinary && shndx == ppc_object->toc_shndx())
6280 if (dst_off < ppc_object->section_size(shndx))
6315 unsigned int shndx = lsym.get_st_shndx();
6318 shndx = ppc_object->adjust_sym_shndx(r_sym, shndx, &is_ordinary);
6319 if (is_ordinary && shndx == ppc_object->got2_shndx()
6920 unsigned int shndx = gsym->shndx(&is_ordinary);
6921 if (shndx == sym_object->toc_shndx())
6925 if (dst_off < sym_object->section_size(shndx))
7098 unsigned int shndx = sym->shndx(&is_ordinary);
7099 if (is_ordinary && shndx != 0 && shndx == ppc_object->opd_shndx())
7123 if (size == 64 && loc->shndx != 0)
7129 if (loc->shndx == ppc_object->opd_shndx())
7133 loc->shndx = ppc_object->get_opd_ent(off, &dest_off);
7141 if (loc->shndx == ppc_object->opd_shndx())
7144 loc->shndx = ppc_object->get_opd_ent(loc->offset, &dest_off);
7151 // FNOFFSET in section SHNDX in OBJECT is the start of a function
7160 unsigned int shndx,
7174 Target::do_calls_non_split(object, shndx, fnoffset, fnsize,
7223 shndx, static_cast<size_t>(fnoffset));
7257 shndx, static_cast<size_t>(fnoffset));
7330 unsigned int shndx = sym->shndx(&is_ordinary);
7331 if (shndx == symobj->opd_shndx()
7547 unsigned int shndx = symobj->opd_shndx();
7548 if (shndx == 0)
7550 Address opd_addr = symobj->get_output_section_offset(shndx);
7553 opd_addr += symobj->output_section_address(shndx);
7554 if (*value >= opd_addr && *value < opd_addr + symobj->section_size(shndx))
7754 dest_shndx = gsym->shndx(&is_ordinary);
9009 unsigned int shndx =
9012 os = object->output_section(shndx);