Lines Matching refs:shndx

592 	      unsigned int shndx = gsym.get_st_shndx();  in do_reserve_layout()  local
593 if (shndx < 1 || shndx >= this->section_map_.size()) in do_reserve_layout()
595 Output_section* os = this->section_map_[shndx]; in do_reserve_layout()
1147 Incremental_inputs::report_input_section(Object* obj, unsigned int shndx, in report_input_section() argument
1157 this->current_object_entry_->add_input_section(shndx, key, sh_size); in report_input_section()
1588 unsigned int shndx = entry->get_input_section_index(i); in write_info_blocks() local
1589 index_map[shndx] = i + 1; in write_info_blocks()
1597 Output_section* os = obj->output_section(shndx); in write_info_blocks()
1601 out_offset = obj->output_section_offset(shndx); in write_info_blocks()
1623 unsigned int shndx = 0; in write_info_blocks() local
1632 shndx = -1U; in write_info_blocks()
1637 unsigned int orig_shndx = sym->shndx(&is_ordinary); in write_info_blocks()
1639 shndx = index_map[orig_shndx]; in write_info_blocks()
1641 shndx = 1; in write_info_blocks()
1658 Swap32::writeval(pov + 4, shndx); in write_info_blocks()
2156 unsigned int shndx = gsym.get_st_shndx(); in do_add_symbols() local
2165 unsigned int input_shndx = info.shndx(); in do_add_symbols()
2168 shndx = elfcpp::SHN_UNDEF; in do_add_symbols()
2171 else if (shndx != elfcpp::SHN_ABS) in do_add_symbols()
2174 gold_assert(shndx != elfcpp::SHN_UNDEF); in do_add_symbols()
2175 Output_section* os = this->ibase_->output_section(shndx); in do_add_symbols()
2179 gold_assert(sect.output_shndx == shndx); in do_add_symbols()
2183 shndx = input_shndx; in do_add_symbols()
2191 osym.put_st_shndx(shndx); in do_add_symbols()
2195 if (shndx != elfcpp::SHN_UNDEF) in do_add_symbols()
2202 shndx = gsym.get_st_shndx(); in do_add_symbols()
2205 if (shndx == elfcpp::SHN_ABS) in do_add_symbols()
2215 Output_section* os = this->ibase_->output_section(shndx); in do_add_symbols()
2272 Sized_relobj_incr<size, big_endian>::do_section_name(unsigned int shndx) const in do_section_name()
2275 const Output_section* os = out_sections[shndx]; in do_section_name()
2286 unsigned int shndx, in do_section_contents() argument
2291 Output_section* os = out_sections[shndx]; in do_section_contents()
2295 this->input_reader_.get_input_section(shndx - 1); in do_section_contents()
2570 unsigned int shndx = elfcpp::Swap<32, big_endian>::readval(pov + 4); in do_relocate() local
2571 Output_section* os = this->ibase_->output_section(shndx); in do_relocate()
2573 shndx = os->out_shndx(); in do_relocate()
2574 elfcpp::Swap<32, big_endian>::writeval(pov + 4, shndx); in do_relocate()
2762 unsigned int shndx; in do_add_symbols() local
2773 shndx = elfcpp::SHN_UNDEF; in do_add_symbols()
2780 shndx = 1; in do_add_symbols()
2790 osym.put_st_shndx(shndx); in do_add_symbols()
2804 unsigned int shndx = gsym.get_st_shndx(); in do_add_symbols() local
2805 Output_section* os = this->ibase_->output_section(shndx); in do_add_symbols()