Lines Matching refs:shndx
165 section_type(unsigned int shndx) in section_type() argument
166 { return this->obj_->section_type(shndx); } in section_type()
170 section_name(unsigned int shndx) in section_name() argument
171 { return this->obj_->section_name(shndx); } in section_name()
177 section_contents(unsigned int shndx, section_size_type* plen, bool* is_new) in section_contents() argument
178 { return this->obj_->decompressed_section_contents(shndx, plen, is_new); } in section_contents()
207 copy_section(Dwp_output_file* output_file, unsigned int shndx,
270 do_section_type(unsigned int shndx) in do_section_type() argument
271 { return this->elf_file_.section_type(shndx); } in do_section_type()
275 do_section_name(unsigned int shndx) const in do_section_name()
276 { return this->elf_file_.section_name(shndx); } in do_section_name()
280 do_section_size(unsigned int shndx) in do_section_size() argument
281 { return this->elf_file_.section_size(shndx); } in do_section_size()
688 Dwo_name_info_reader(Relobj* object, unsigned int shndx) in Dwo_name_info_reader() argument
689 : Dwarf_info_reader(false, object, NULL, 0, shndx, 0, 0), in Dwo_name_info_reader()
720 Unit_reader(bool is_type_unit, Relobj* object, unsigned int shndx) in Unit_reader() argument
721 : Dwarf_info_reader(is_type_unit, object, NULL, 0, shndx, 0, 0), in Unit_reader()
813 unsigned int shndx, in do_section_contents() argument
817 Object::Location loc(this->elf_file_.section_contents(shndx)); in do_section_contents()
1119 Dwo_file::read_unit_index(unsigned int shndx, unsigned int *debug_shndx, in read_unit_index() argument
1123 this->sized_read_unit_index<true>(shndx, debug_shndx, output_file, in read_unit_index()
1126 this->sized_read_unit_index<false>(shndx, debug_shndx, output_file, in read_unit_index()
1132 Dwo_file::sized_read_unit_index(unsigned int shndx, in sized_read_unit_index() argument
1142 gold_assert(shndx > 0); in sized_read_unit_index()
1147 this->section_contents(shndx, &index_len, &index_is_new); in sized_read_unit_index()
1157 this->name_, this->section_name(shndx).c_str(), version); in sized_read_unit_index()
1183 this->section_name(shndx).c_str()); in sized_read_unit_index()
1272 Dwo_file::verify_dwo_list(unsigned int shndx, const File_list& files) in verify_dwo_list() argument
1275 return this->sized_verify_dwo_list<true>(shndx, files); in verify_dwo_list()
1277 return this->sized_verify_dwo_list<false>(shndx, files); in verify_dwo_list()
1282 Dwo_file::sized_verify_dwo_list(unsigned int shndx, const File_list& files) in sized_verify_dwo_list() argument
1284 gold_assert(shndx > 0); in sized_verify_dwo_list()
1289 this->section_contents(shndx, &index_len, &index_is_new); in sized_verify_dwo_list()
1299 this->name_, this->section_name(shndx).c_str(), version); in sized_verify_dwo_list()
1323 this->section_name(shndx).c_str()); in sized_verify_dwo_list()
1411 Dwo_file::copy_section(Dwp_output_file* output_file, unsigned int shndx, in copy_section() argument
1416 if (this->sect_offsets_[shndx].size > 0) in copy_section()
1417 return this->sect_offsets_[shndx]; in copy_section()
1425 const unsigned char* contents = this->section_contents(shndx, &len, &is_new); in copy_section()
1448 this->sect_offsets_[shndx] = bounds; in copy_section()
1517 unsigned int shndx = (is_debug_types in add_unit_set() local
1521 gold_assert(shndx != 0); in add_unit_set()
1538 Unit_reader reader(is_debug_types, this->obj_, shndx); in add_unit_set()
1629 unsigned int shndx = this->section_id_map_[section_id]; in add_contribution() local
1632 if (shndx == 0) in add_contribution()
1637 shndx = this->add_output_section(section_name, align); in add_contribution()
1638 this->section_id_map_[section_id] = shndx; in add_contribution()
1641 Section& section = this->sections_[shndx - 1]; in add_contribution()
1955 unsigned int shndx = this->add_output_section(section_name, align); in write_new_section() local
1956 Section& section = this->sections_[shndx - 1]; in write_new_section()