Home | History | Annotate | Download | only in gold

Lines Matching full:shndx

504 	    unsigned int shndx = psymval->input_shndx(&is_ordinary);
505 if ((shndx == elfcpp::SHN_UNDEF)
507 && shndx != elfcpp::SHN_UNDEF
508 && !object->is_section_included(shndx)
509 && !this->symbol_table_->is_section_folded(object, shndx)))
946 unsigned shndx, unsigned int sh_offset)
948 shndx_(shndx), sh_offset_(sh_offset),
962 shndx() const
1028 // Comparator used to group Erratum_stubs in a set by (obj, shndx,
1030 // at most one stub type at (obj, shndx, sh_offset).
1064 // The shndx in the object that needs to be fixed.
1086 unsigned int shndx, unsigned int sh_offset,
1088 : Erratum_stub<size, big_endian>(relobj, ST_E_843419, shndx, sh_offset),
1409 // (relobj, shndx, sh_offset).
1413 // Find if such erratum exists for any given (obj, shndx, sh_offset).
1416 unsigned int shndx, unsigned int sh_offset);
1422 unsigned int shndx);
1525 // (relobj, shndx, sh_offset).
1541 // Find if such erratum exists for given (obj, shndx, sh_offset).
1546 The_aarch64_relobj* a64relobj, unsigned int shndx, unsigned int sh_offset)
1550 shndx, sh_offset);
1569 The_aarch64_relobj* a64relobj, unsigned int shndx)
1573 The_erratum_stub low_key(a64relobj, ST_NONE, shndx, 0);
1580 (*end)->relobj() == a64relobj && (*end)->shndx() == shndx)
1760 // Return the stub table of the SHNDX-th section if there is one.
1762 stub_table(unsigned int shndx) const
1764 gold_assert(shndx < this->stub_tables_.size());
1765 return this->stub_tables_[shndx];
1768 // Set STUB_TABLE to be the stub_table of the SHNDX-th section.
1770 set_stub_table(unsigned int shndx, The_stub_table* stub_table)
1772 gold_assert(shndx < this->stub_tables_.size());
1773 this->stub_tables_[shndx] = stub_table;
1778 scan_errata(unsigned int shndx,
1793 // Convert regular input section with index SHNDX to a relaxed section.
1795 convert_input_section_to_relaxed_section(unsigned /* shndx */)
1805 Mapping_symbol_position(unsigned int shndx, AArch64_address offset):
1806 shndx_(shndx), offset_(offset)
1959 // (shndx, offset_within_section).
2190 // the header of the section and SHNDX is the section index. OS is the output
2224 // Determine if we want to scan the SHNDX-th section for relocation stubs.
2271 // Scan section SHNDX for erratum 843419 and 835769.
2276 unsigned int shndx, const elfcpp::Shdr<size, big_endian>& shdr,
2286 if (!os || symtab->is_section_folded(this, shndx)) return;
2288 AArch64_address output_offset = this->get_output_section_offset(shndx);
2295 os->find_relaxed_input_section(this, shndx);
2302 this->section_contents(shndx, &input_view_size, false);
2304 Mapping_symbol_position section_start(shndx, 0);
2305 // Find the first mapping symbol record within section shndx.
2309 p->first.shndx_ == shndx)
2319 && p->first.shndx_ == shndx)
2330 this, shndx, span_start, span_end,
2335 this, shndx, span_start, span_end,
2435 AArch64_input_section(Relobj* relobj, unsigned int shndx)
2436 : Output_relaxed_input_section(relobj, shndx, 1),
2495 do_output_offset(const Relobj* object, unsigned int shndx,
2500 && (shndx == this->shndx())
2580 unsigned int shndx = this->shndx();
2585 convert_types<uint32_t, uint64_t>(relobj->section_addralign(shndx));
2591 relobj->section_contents(shndx, &section_size, false);
2593 convert_types<uint32_t, uint64_t>(relobj->section_size(shndx));
2601 Output_section* os = relobj->output_section(shndx);
2602 off_t offset = relobj->output_section_offset(shndx);
2603 gold_assert(os != NULL && !relobj->is_output_section_offset_invalid(shndx));
2692 target->new_aarch64_input_section(owner->relobj(), owner->shndx());
2712 aarch64_relobj->set_stub_table(p->shndx(), stub_table);
2850 unsigned int shndx = new_relaxed_sections[i]->shndx();
2852 relobj->convert_input_section_to_relaxed_section(shndx);
3047 // Find an aarch64 input section instance for a given OBJ and SHNDX.
3405 unsigned int shndx,
3444 unsigned int shndx, Output_section* output_section,
3450 object, shndx, output_section,
3964 unsigned int shndx;
3976 shndx = psymval->input_shndx(&is_ordinary);
3979 && shndx != elfcpp::SHN_UNDEF
3980 && !object->is_section_included(shndx)
3981 && !relinfo->symtab->is_section_folded(object, shndx));
4001 object->section_name(shndx);
4052 shndx = 0;
4067 object->map_to_kept_section(shndx, &found);
5578 // Find the AArch64_input_section object corresponding to the SHNDX-th input
5584 Relobj* relobj, unsigned int shndx) const
5586 Section_id sid(relobj, shndx);
5598 Relobj* relobj, unsigned int shndx)
5600 Section_id sid(relobj, shndx);
5603 new AArch64_input_section<size, big_endian>(relobj, shndx);
8301 unsigned int shndx,
8309 The_stub_table* stub_table = relobj->stub_table(shndx);
8312 shndx,
8318 stub = new The_erratum_stub(relobj, erratum_type, shndx,
8322 relobj, shndx, erratum_insn_offset, e843419_adrp_offset);
8335 // Scan erratum for section SHNDX range [output_address + span_start,
8345 unsigned int shndx,
8375 relobj->name().c_str(), shndx,
8378 this->create_erratum_stub(relobj, shndx,
8387 // Scan erratum for section SHNDX range
8394 unsigned int shndx,
8463 create_erratum_stub(relobj, shndx,