Lines Matching refs:shndx
680 shndx() const in shndx() function in __anon5653a9be0111::Cortex_a8_stub
705 unsigned int shndx, Arm_address source_address, in Cortex_a8_stub() argument
707 : Stub(stub_template), relobj_(relobj), shndx_(shndx), in Cortex_a8_stub()
834 make_cortex_a8_stub(Stub_type stub_type, Relobj* relobj, unsigned int shndx, in make_cortex_a8_stub() argument
840 return new Cortex_a8_stub(this->stub_templates_[stub_type], relobj, shndx, in make_cortex_a8_stub()
1050 Arm_exidx_cantunwind(Relobj* relobj, unsigned int shndx) in Arm_exidx_cantunwind() argument
1051 : Output_section_data(8, 4, true), relobj_(relobj), shndx_(shndx) in Arm_exidx_cantunwind()
1061 shndx() const in shndx() function in __anon5653a9be0111::Arm_exidx_cantunwind
1154 Arm_input_section(Relobj* relobj, unsigned int shndx) in Arm_input_section() argument
1155 : Output_relaxed_input_section(relobj, shndx, 1), in Arm_input_section()
1219 do_output_offset(const Relobj* object, unsigned int shndx, in do_output_offset() argument
1224 && (shndx == this->shndx()) in do_output_offset()
1417 Arm_exidx_input_section(Relobj* relobj, unsigned int shndx, in Arm_exidx_input_section() argument
1420 : relobj_(relobj), shndx_(shndx), link_(link), size_(size), in Arm_exidx_input_section()
1436 shndx() const in shndx() function in __anon5653a9be0111::Arm_exidx_input_section
1509 stub_table(unsigned int shndx) const in stub_table()
1511 gold_assert(shndx < this->stub_tables_.size()); in stub_table()
1512 return this->stub_tables_[shndx]; in stub_table()
1517 set_stub_table(unsigned int shndx, Stub_table<big_endian>* stub_table) in set_stub_table() argument
1519 gold_assert(shndx < this->stub_tables_.size()); in set_stub_table()
1520 this->stub_tables_[shndx] = stub_table; in set_stub_table()
1539 convert_input_section_to_relaxed_section(unsigned shndx) in convert_input_section_to_relaxed_section() argument
1543 this->set_section_offset(shndx, -1ULL); in convert_input_section_to_relaxed_section()
1587 section_has_cortex_a8_workaround(unsigned int shndx) const in section_has_cortex_a8_workaround()
1590 && (*this->section_has_cortex_a8_workaround_)[shndx]); in section_has_cortex_a8_workaround()
1595 mark_section_for_cortex_a8_workaround(unsigned int shndx) in mark_section_for_cortex_a8_workaround() argument
1600 (*this->section_has_cortex_a8_workaround_)[shndx] = true; in mark_section_for_cortex_a8_workaround()
1606 exidx_input_section_by_link(unsigned int shndx) const in exidx_input_section_by_link()
1608 Exidx_section_map::const_iterator p = this->exidx_section_map_.find(shndx); in exidx_input_section_by_link()
1610 && p->second->link() == shndx) in exidx_input_section_by_link()
1617 exidx_input_section_by_shndx(unsigned shndx) const in exidx_input_section_by_shndx()
1619 Exidx_section_map::const_iterator p = this->exidx_section_map_.find(shndx); in exidx_input_section_by_shndx()
1621 && p->second->shndx() == shndx) in exidx_input_section_by_shndx()
1654 if (p->second->shndx() == p->first) in get_exidx_shndx_list()
1732 make_exidx_input_section(unsigned int shndx,
2399 find_arm_input_section(Relobj* relobj, unsigned int shndx) const;
2809 unsigned int shndx, Output_section* output_section, in copy_reloc() argument
2814 object, shndx, output_section, reloc, in copy_reloc()
5209 arm_relobj->mark_section_for_cortex_a8_workaround(stub->shndx()); in finalize_stubs()
5273 unsigned int shndx = this->shndx(); in init() local
5278 convert_types<uint32_t, uint64_t>(relobj->section_addralign(shndx)); in init()
5284 relobj->section_contents(shndx, §ion_size, false); in init()
5286 convert_types<uint32_t, uint64_t>(relobj->section_size(shndx)); in init()
5294 Output_section* os = relobj->output_section(shndx); in init()
5295 off_t offset = relobj->output_section_offset(shndx); in init()
5296 gold_assert(os != NULL && !relobj->is_output_section_offset_invalid(shndx)); in init()
5431 exidx_input_section.shndx(), in Arm_exidx_merged_section()
5501 unsigned int shndx, in do_output_offset() argument
5507 || shndx != this->exidx_input_section_.shndx()) in do_output_offset()
5551 Output_section* os = this->relobj()->output_section(this->shndx()); in do_write()
5650 unsigned shndx = exidx_input_section->shndx(); in process_exidx_section() local
5656 relobj->name().c_str(), shndx); in process_exidx_section()
5758 target->new_arm_input_section(owner->relobj(), owner->shndx()); in create_stub_group()
5780 arm_relobj->set_stub_table(p->shndx(), stub_table); in create_stub_group()
5929 unsigned int shndx = new_relaxed_sections[i]->shndx(); in group_sections() local
5931 arm_relobj->convert_input_section_to_relaxed_section(shndx); in group_sections()
5953 p->shndx())); in append_text_sections_to_list()
5995 text_to_exidx_map[Section_id(p->relobj(), p->shndx())] = &(*p); in fix_exidx_coverage()
6008 unsigned int shndx = p->second; in fix_exidx_coverage() local
6013 arm_relobj->exidx_input_section_by_link(shndx); in fix_exidx_coverage()
6025 unsigned int exidx_shndx = exidx_input_section->shndx(); in fix_exidx_coverage()
6112 if (processed_input_sections.find(Section_id(p->relobj(), p->shndx())) in fix_exidx_coverage()
6122 arm_relobj->exidx_input_section_by_shndx(p->shndx()); in fix_exidx_coverage()
6132 p->relobj()->set_output_section(p->shndx(), NULL); in fix_exidx_coverage()
6159 unsigned exidx_shndx = p->shndx(); in set_exidx_section_link()
6180 unsigned int shndx, in section_is_scannable() argument
6192 if (os == NULL || symtab->is_section_folded(this, shndx)) in section_is_scannable()
6198 if (this->is_output_section_offset_invalid(shndx)) in section_is_scannable()
6201 os->find_relaxed_input_section(this, shndx); in section_is_scannable()
6265 unsigned int shndx, in simple_input_section_output_address() argument
6268 if (this->is_output_section_offset_invalid(shndx)) in simple_input_section_output_address()
6271 os->find_relaxed_input_section(this, shndx); in simple_input_section_output_address()
6277 return os->address() + this->get_output_section_offset(shndx); in simple_input_section_output_address()
6287 unsigned int shndx, in section_needs_cortex_a8_stub_scanning() argument
6291 if (!this->section_is_scannable(shdr, shndx, os, symtab)) in section_needs_cortex_a8_stub_scanning()
6296 Arm_address address = this->simple_input_section_output_address(shndx, os); in section_needs_cortex_a8_stub_scanning()
6309 unsigned int shndx, in scan_section_for_cortex_a8_erratum() argument
6315 Mapping_symbol_position section_start(shndx, 0); in scan_section_for_cortex_a8_erratum()
6321 if (p == this->mapping_symbols_info_.end() || p->first.first != shndx) in scan_section_for_cortex_a8_erratum()
6325 this->simple_input_section_output_address(shndx, os); in scan_section_for_cortex_a8_erratum()
6330 this->section_contents(shndx, &input_view_size, false); in scan_section_for_cortex_a8_erratum()
6338 && p->first.first == shndx) in scan_section_for_cortex_a8_erratum()
6351 && next->first.first == shndx) in scan_section_for_cortex_a8_erratum()
6359 arm_target->scan_span_for_cortex_a8_erratum(this, shndx, in scan_section_for_cortex_a8_erratum()
6762 unsigned int shndx, in make_exidx_input_section() argument
6769 new Arm_exidx_input_section(this, shndx, text_shndx, shdr.get_sh_size(), in make_exidx_input_section()
6773 gold_assert(this->exidx_section_map_[shndx] == NULL); in make_exidx_input_section()
6774 this->exidx_section_map_[shndx] = exidx_input_section; in make_exidx_input_section()
6779 this->section_name(shndx).c_str(), shndx, text_shndx, in make_exidx_input_section()
6786 this->exidx_section_map_[text_shndx]->shndx(); in make_exidx_input_section()
6789 this->section_name(shndx).c_str(), shndx, in make_exidx_input_section()
6803 this->section_name(shndx).c_str(), shndx, in make_exidx_input_section()
6813 this->section_name(shndx).c_str(), shndx, in make_exidx_input_section()
6957 unsigned int shndx = deferred_exidx_sections[i]; in do_read_symbols() local
6958 elfcpp::Shdr<32, big_endian> shdr(pshdrs + shndx * shdr_size); in do_read_symbols()
6960 Reloc_map::const_iterator it = reloc_map.find(shndx); in do_read_symbols()
6966 this->make_exidx_input_section(shndx, shdr, text_shndx, text_shdr); in do_read_symbols()
7068 unsigned int shndx = this->adjust_sym_shndx(i, sym.get_st_shndx(), in update_output_local_symbol_count() local
7071 if (shndx < shnum) in update_output_local_symbol_count()
7073 Output_section* os = out_sections[shndx]; in update_output_local_symbol_count()
7085 if ((this->get_output_section_offset(shndx) == invalid_address) in update_output_local_symbol_count()
7086 && (this->exidx_input_section_by_shndx(shndx) != NULL)) in update_output_local_symbol_count()
7089 os->output_offset(this, shndx, lv.input_value()); in update_output_local_symbol_count()
7287 unsigned int shndx = psymval->input_shndx(&is_ordinary); in do_write() local
7288 if ((shndx == elfcpp::SHN_UNDEF) in do_write()
7290 && shndx != elfcpp::SHN_UNDEF in do_write()
7291 && !object->is_section_included(shndx) in do_write()
7292 && !this->symbol_table_->is_section_folded(object, shndx))) in do_write()
8431 unsigned int shndx = lsym.get_st_shndx(); in local() local
8433 shndx = object->adjust_sym_shndx(r_sym, shndx, in local()
8437 r_sym, shndx); in local()
8439 rel_dyn->add_local_section(object, shndx, in local()
8572 unsigned int shndx = lsym.get_st_shndx(); in local() local
8574 shndx = object->adjust_sym_shndx(r_sym, shndx, &is_ordinary); in local()
8578 r_sym, shndx); in local()
8583 got->add_local_pair_with_rel(object, r_sym, shndx, in local()
10246 unsigned int shndx = object->local_symbol_input_shndx(r_sym, &is_ordinary); in relocate_special_relocatable() local
10248 Output_section* os = object->output_section(shndx); in relocate_special_relocatable()
11593 unsigned int shndx) in new_arm_input_section() argument
11595 Section_id sid(relobj, shndx); in new_arm_input_section()
11598 new Arm_input_section<big_endian>(relobj, shndx); in new_arm_input_section()
11619 unsigned int shndx) const in find_arm_input_section()
11621 Section_id sid(relobj, shndx); in find_arm_input_section()
11893 unsigned int shndx; in scan_reloc_section_for_stubs() local
11905 shndx = psymval->input_shndx(&is_ordinary); in scan_reloc_section_for_stubs()
11908 && shndx != elfcpp::SHN_UNDEF in scan_reloc_section_for_stubs()
11909 && !arm_object->is_section_included(shndx) in scan_reloc_section_for_stubs()
11910 && !relinfo->symtab->is_section_folded(arm_object, shndx)); in scan_reloc_section_for_stubs()
11928 arm_object->section_name(shndx); in scan_reloc_section_for_stubs()
11979 shndx = 0; in scan_reloc_section_for_stubs()
11999 arm_object->map_to_kept_section(shndx, &found); in scan_reloc_section_for_stubs()
12408 unsigned int shndx, in scan_span_for_cortex_a8_erratum() argument
12555 arm_relobj, shndx, in scan_span_for_cortex_a8_erratum()
12559 arm_relobj->stub_table(shndx); in scan_span_for_cortex_a8_erratum()