Lines Matching refs:shndx

193   adjust_shndx(unsigned int shndx)  in adjust_shndx()  argument
195 if (shndx >= elfcpp::SHN_LORESERVE) in adjust_shndx()
196 shndx += this->large_shndx_offset_; in adjust_shndx()
197 return shndx; in adjust_shndx()
494 section_contents(unsigned int shndx, section_size_type* plen, bool cache);
503 adjust_sym_shndx(unsigned int symndx, unsigned int shndx, bool* is_ordinary) in adjust_sym_shndx() argument
505 if (shndx < elfcpp::SHN_LORESERVE) in adjust_sym_shndx()
507 else if (shndx == elfcpp::SHN_XINDEX) in adjust_sym_shndx()
511 shndx = this->xindex_->sym_xindex_to_shndx(this, symndx); in adjust_sym_shndx()
516 return shndx; in adjust_sym_shndx()
521 section_size(unsigned int shndx) in section_size() argument
522 { return this->do_section_size(shndx); } in section_size()
526 section_name(unsigned int shndx) const in section_name() argument
527 { return this->do_section_name(shndx); } in section_name()
531 section_flags(unsigned int shndx) in section_flags() argument
532 { return this->do_section_flags(shndx); } in section_flags()
536 section_entsize(unsigned int shndx) in section_entsize() argument
537 { return this->do_section_entsize(shndx); } in section_entsize()
541 section_address(unsigned int shndx) in section_address() argument
542 { return this->do_section_address(shndx); } in section_address()
546 section_type(unsigned int shndx) in section_type() argument
547 { return this->do_section_type(shndx); } in section_type()
551 section_link(unsigned int shndx) in section_link() argument
552 { return this->do_section_link(shndx); } in section_link()
556 section_info(unsigned int shndx) in section_info() argument
557 { return this->do_section_info(shndx); } in section_info()
561 section_addralign(unsigned int shndx) in section_addralign() argument
562 { return this->do_section_addralign(shndx); } in section_addralign()
566 output_section(unsigned int shndx) const in output_section() argument
567 { return this->do_output_section(shndx); } in output_section()
573 output_section_address(unsigned int shndx) in output_section_address() argument
574 { return this->do_output_section_address(shndx); } in output_section_address()
580 output_section_offset(unsigned int shndx) const in output_section_offset() argument
581 { return this->do_output_section_offset(shndx); } in output_section_offset()
745 section_is_compressed(unsigned int shndx, in section_is_compressed() argument
751 this->compressed_sections_->find(shndx); in section_is_compressed()
765 decompressed_section_contents(unsigned int shndx, section_size_type* plen,
840 do_section_contents(unsigned int shndx, section_size_type* plen,
845 do_section_size(unsigned int shndx) = 0;
849 do_section_name(unsigned int shndx) const = 0;
853 do_section_flags(unsigned int shndx) = 0;
857 do_section_entsize(unsigned int shndx) = 0;
861 do_section_address(unsigned int shndx) = 0;
865 do_section_type(unsigned int shndx) = 0;
869 do_section_link(unsigned int shndx) = 0;
873 do_section_info(unsigned int shndx) = 0;
877 do_section_addralign(unsigned int shndx) = 0;
941 handle_gnu_warning_section(const char* name, unsigned int shndx,
1067 is_output_section_offset_invalid(unsigned int shndx) const = 0;
1188 is_section_included(unsigned int shndx) const in is_section_included() argument
1190 gold_assert(shndx < this->output_sections_.size()); in is_section_included()
1191 return this->output_sections_[shndx] != NULL; in is_section_included()
1198 set_output_section(unsigned int shndx, Output_section* os) in set_output_section() argument
1200 gold_assert(shndx < this->output_sections_.size()); in set_output_section()
1201 this->output_sections_[shndx] = os; in set_output_section()
1206 set_section_offset(unsigned int shndx, uint64_t off) in set_section_offset() argument
1207 { this->do_set_section_offset(shndx, off); } in set_section_offset()
1354 do_set_section_offset(unsigned int shndx, uint64_t off) = 0;
1365 do_output_section(unsigned int shndx) const in do_output_section() argument
1367 gold_assert(shndx < this->output_sections_.size()); in do_output_section()
1368 return this->output_sections_[shndx]; in do_output_section()
1916 is_output_section_offset_invalid(unsigned int shndx) const in is_output_section_offset_invalid() argument
1917 { return this->get_output_section_offset(shndx) == invalid_address; } in is_output_section_offset_invalid()
1924 get_output_section_offset(unsigned int shndx) const in get_output_section_offset() argument
1926 gold_assert(shndx < this->section_offsets_.size()); in get_output_section_offset()
1927 return this->section_offsets_[shndx]; in get_output_section_offset()
1950 do_output_section_address(unsigned int shndx);
1954 do_output_section_offset(unsigned int shndx) const in do_output_section_offset() argument
1956 Address off = this->get_output_section_offset(shndx); in do_output_section_offset()
1964 do_set_section_offset(unsigned int shndx, uint64_t off) in do_set_section_offset() argument
1966 gold_assert(shndx < this->section_offsets_.size()); in do_set_section_offset()
1967 this->section_offsets_[shndx] = in do_set_section_offset()
2185 get_symbol_location_info(unsigned int shndx, off_t offset,
2192 map_to_kept_section(unsigned int shndx, bool* found) const;
2322 do_section_size(unsigned int shndx) in do_section_size() argument
2323 { return this->elf_file_.section_size(shndx); } in do_section_size()
2327 do_section_name(unsigned int shndx) const in do_section_name() argument
2328 { return this->elf_file_.section_name(shndx); } in do_section_name()
2332 do_section_contents(unsigned int shndx, section_size_type* plen, in do_section_contents() argument
2335 Object::Location loc(this->elf_file_.section_contents(shndx)); in do_section_contents()
2347 do_section_flags(unsigned int shndx);
2351 do_section_entsize(unsigned int shndx);
2355 do_section_address(unsigned int shndx) in do_section_address() argument
2356 { return this->elf_file_.section_addr(shndx); } in do_section_address()
2360 do_section_type(unsigned int shndx) in do_section_type() argument
2361 { return this->elf_file_.section_type(shndx); } in do_section_type()
2365 do_section_link(unsigned int shndx) in do_section_link() argument
2366 { return this->elf_file_.section_link(shndx); } in do_section_link()
2370 do_section_info(unsigned int shndx) in do_section_info() argument
2371 { return this->elf_file_.section_info(shndx); } in do_section_info()
2375 do_section_addralign(unsigned int shndx) in do_section_addralign() argument
2376 { return this->elf_file_.section_addralign(shndx); } in do_section_addralign()
2393 adjust_shndx(unsigned int shndx) in adjust_shndx() argument
2395 if (shndx >= elfcpp::SHN_LORESERVE) in adjust_shndx()
2396 shndx += this->elf_file_.large_shndx_offset(); in adjust_shndx()
2397 return shndx; in adjust_shndx()
2475 : object(a_object), shndx(a_shndx) in Kept_comdat_section()
2478 unsigned int shndx; member
2511 layout_section(Layout* layout, unsigned int shndx, const char* name,
2521 unsigned int shndx, const typename This::Shdr&,
2591 unsigned int sh_type, unsigned int shndx,
2599 unsigned int shndx, const unsigned char* prelocs,
2606 find_functions(const unsigned char* pshdrs, unsigned int shndx,
2621 set_kept_comdat_section(unsigned int shndx, Relobj* kept_object, in set_kept_comdat_section() argument
2625 this->kept_comdat_sections_.insert(std::make_pair(shndx, kept)); in set_kept_comdat_section()
2631 get_kept_comdat_section(unsigned int shndx, Relobj** kept_object, in get_kept_comdat_section() argument
2635 this->kept_comdat_sections_.find(shndx); in get_kept_comdat_section()
2639 *kept_shndx = p->second.shndx; in get_kept_comdat_section()
2672 Deferred_layout(unsigned int shndx, const char* name, in Deferred_layout()
2675 : shndx_(shndx), name_(name), reloc_shndx_(reloc_shndx), in Deferred_layout()