Lines Matching full:shndx
165 section_type(unsigned int shndx)
166 { return this->obj_->section_type(shndx); }
170 section_name(unsigned int shndx)
171 { return this->obj_->section_name(shndx); }
177 section_contents(unsigned int shndx, section_size_type* plen, bool* is_new)
178 { return this->obj_->decompressed_section_contents(shndx, plen, is_new); }
207 copy_section(Dwp_output_file* output_file, unsigned int shndx,
270 do_section_type(unsigned int shndx)
271 { return this->elf_file_.section_type(shndx); }
275 do_section_name(unsigned int shndx) const
276 { return this->elf_file_.section_name(shndx); }
280 do_section_size(unsigned int shndx)
281 { return this->elf_file_.section_size(shndx); }
545 // shndx pool indexes.
560 // Return an iterator into the shndx pool.
596 // The storage for the parallel table of shndx pool indexes.
658 // Section table. The first entry is shndx 1.
660 // Section id map. This maps a DW_SECT enum to an shndx.
688 Dwo_name_info_reader(Relobj* object, unsigned int shndx)
689 : Dwarf_info_reader(false, object, NULL, 0, shndx, 0, 0),
720 Unit_reader(bool is_type_unit, Relobj* object, unsigned int shndx)
721 : Dwarf_info_reader(is_type_unit, object, NULL, 0, shndx, 0, 0),
813 unsigned int shndx,
817 Object::Location loc(this->elf_file_.section_contents(shndx));
1119 Dwo_file::read_unit_index(unsigned int shndx, unsigned int *debug_shndx,
1123 this->sized_read_unit_index<true>(shndx, debug_shndx, output_file,
1126 this->sized_read_unit_index<false>(shndx, debug_shndx, output_file,
1132 Dwo_file::sized_read_unit_index(unsigned int shndx,
1142 gold_assert(shndx > 0);
1147 this->section_contents(shndx, &index_len, &index_is_new);
1157 this->name_, this->section_name(shndx).c_str(), version);
1183 this->section_name(shndx).c_str());
1272 Dwo_file::verify_dwo_list(unsigned int shndx, const File_list& files)
1275 return this->sized_verify_dwo_list<true>(shndx, files);
1277 return this->sized_verify_dwo_list<false>(shndx, files);
1282 Dwo_file::sized_verify_dwo_list(unsigned int shndx, const File_list& files)
1284 gold_assert(shndx > 0);
1289 this->section_contents(shndx, &index_len, &index_is_new);
1299 this->name_, this->section_name(shndx).c_str(), version);
1323 this->section_name(shndx).c_str());
1411 Dwo_file::copy_section(Dwp_output_file* output_file, unsigned int shndx,
1416 if (this->sect_offsets_[shndx].size > 0)
1417 return this->sect_offsets_[shndx];
1425 const unsigned char* contents = this->section_contents(shndx, &len, &is_new);
1448 this->sect_offsets_[shndx] = bounds;
1517 unsigned int shndx = (is_debug_types
1521 gold_assert(shndx != 0);
1538 Unit_reader reader(is_debug_types, this->obj_, shndx);
1629 unsigned int shndx = this->section_id_map_[section_id];
1632 if (shndx == 0)
1637 shndx
1638 this->section_id_map_[section_id] = shndx;
1641 Section& section = this->sections_[shndx - 1];
1955 unsigned int shndx = this->add_output_section(section_name, align);
1956 Section& section = this->sections_[shndx - 1];