Lines Matching full:shndx
131 unsigned int shndx = elfcpp::Swap<32, big_endian>::readval(contents + i);
133 this->symtab_xindex_.push_back(this->adjust_shndx(shndx));
149 unsigned int shndx = this->symtab_xindex_[symndx];
150 if (shndx < elfcpp::SHN_LORESERVE || shndx >= object->shnum())
153 symndx, shndx);
156 return shndx;
181 Object::section_contents(unsigned int shndx, section_size_type* plen,
183 { return this->do_section_contents(shndx, plen, cache); }
218 // the warning to be issued. SHNDX is the section index. Return
222 Object::handle_gnu_warning_section(const char* name, unsigned int shndx,
236 const unsigned char* contents = this->section_contents(shndx, &len,
274 Relobj::initialize_input_to_output_map(unsigned int shndx,
279 map->initialize_input_to_output_map<size>(shndx, starting_address,
285 unsigned int shndx, section_offset_type offset,
289 object_merge_map->add_mapping(output_data, shndx, offset, length, output_offset);
293 Relobj::merge_output_offset(unsigned int shndx, section_offset_type offset,
298 return object_merge_map->get_output_offset(shndx, offset, poutput);
302 Relobj::find_merge_section(unsigned int shndx) const {
306 return object_merge_map->find_merge_section(shndx);
445 unsigned int shndx)
450 return this->section_address(shndx);
452 const Output_section* os = this->do_output_section(shndx);
1076 elfcpp::Elf_Word shndx =
1080 shndxes.push_back(shndx);
1082 if (shndx >= this->shnum())
1085 shndx, index);
1091 if (shndx < index)
1093 index, shndx);
1096 typename This::Shdr member_shdr(shdrs + shndx * This::shdr_size);
1109 kept_section->add_comdat_section(mname, shndx,
1114 (*omit)[shndx] = true;
1135 this->set_kept_comdat_section(shndx, kept_object,
1148 this->set_kept_comdat_section(shndx, kept_object,
1149 kept_section->shndx());
1219 this->set_kept_comdat_section(index, kept2->object(), kept2->shndx());
1253 unsigned int shndx,
1260 Output_section* os = layout->layout(this, shndx, name, shdr,
1263 this->output_sections()[shndx] = os;
1265 this->section_offsets()[shndx] = invalid_address;
1267 this->section_offsets()[shndx] = convert_types<Address, off_t>(offset);
1286 unsigned int shndx,
1299 shndx,
1304 this->output_sections()[shndx] = os;
1310 this->discarded_eh_frame_shndx_ = shndx;
1311 this->section_offsets()[shndx] = invalid_address;
1314 this->section_offsets()[shndx] = convert_types<Address, off_t>(offset);
1974 unsigned int shndx = deferred->shndx_;
1981 out_sections[shndx] = NULL;
1982 out_section_offsets[shndx] = invalid_address;
1987 this->set_relocatable_relocs(shndx, rr);
1989 Output_section* os = layout->layout_reloc(this, shndx, shdr,
1991 out_sections[shndx] = os;
1992 out_section_offsets[shndx] = invalid_address;
2212 unsigned int shndx = this->adjust_sym_shndx(i, sym.get_st_shndx(),
2214 lv.set_input_shndx(shndx, is_ordinary);
2228 if ((shndx < shnum && out_sections[shndx] == NULL)
2229 || shndx == this->discarded_eh_frame_shndx_)
2285 && out_section_offsets[shndx] == invalid_address))
2330 unsigned int shndx = lv_in->input_shndx(&is_ordinary);
2336 if (shndx == elfcpp::SHN_ABS || Symbol::is_common_shndx(shndx))
2341 shndx, r_sym);
2348 if (shndx >= this->shnum())
2351 r_sym, shndx);
2356 Output_section* os = out_sections[shndx];
2357 Address secoffset = out_offsets[shndx];
2358 if (symtab->is_section_folded(this, shndx))
2363 shndx);
2395 if (shndx == this->discarded_eh_frame_shndx_)
2408 os->output_address(this, shndx, lv_in->input_value()));
2410 else if (!os->find_starting_output_address(this, shndx, &start))
2419 os->find_relaxed_input_section(this, shndx);
2573 Sized_relobj_file<size, big_endian>::do_section_flags(unsigned int shndx)
2579 + This::shdr_size * shndx;
2584 return this->elf_file_.section_flags(shndx);
2592 Sized_relobj_file<size, big_endian>::do_section_entsize(unsigned int shndx)
2598 + This::shdr_size * shndx;
2756 // section SHNDX. Return true if we found something, false if we
2762 unsigned int shndx,
2802 && st_shndx == shndx
2839 unsigned int shndx,
2844 if (this->get_kept_comdat_section(shndx, &kept_object, &kept_shndx))
2888 unsigned int shndx,
2893 const unsigned char* buffer = this->do_section_contents(shndx, &buffer_size,
2904 this->compressed_sections_->find(shndx);
2929 this->do_section_name(shndx).c_str());
3304 Relobj::initialize_input_to_output_map<64>(unsigned int shndx,
3313 Relobj::initialize_input_to_output_map<32>(unsigned int shndx,