/haiku-buildtools/binutils/libiberty/ |
H A D | simple-object-elf.c | 328 unsigned int shnum; member in struct:simple_object_elf_read 426 eor->shnum = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, 431 if ((eor->shnum == 0 || eor->shstrndx == SHN_XINDEX) 448 if (eor->shnum == 0) 449 eor->shnum = ELF_FETCH_FIELD (type_functions, ei_class, Shdr, 468 if (eor->shstrndx >= eor->shnum 474 if (eor->shstrndx >= eor->shnum) 476 *errmsg = "invalid ELF shstrndx >= shnum"; 499 unsigned int shnum; local 515 shnum 700 unsigned int shnum; local 821 unsigned int shnum; local [all...] |
/haiku-buildtools/gcc/libiberty/ |
H A D | simple-object-elf.c | 328 unsigned int shnum; member in struct:simple_object_elf_read 426 eor->shnum = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, 431 if ((eor->shnum == 0 || eor->shstrndx == SHN_XINDEX) 448 if (eor->shnum == 0) 449 eor->shnum = ELF_FETCH_FIELD (type_functions, ei_class, Shdr, 468 if (eor->shstrndx >= eor->shnum 474 if (eor->shstrndx >= eor->shnum) 476 *errmsg = "invalid ELF shstrndx >= shnum"; 499 unsigned int shnum; local 515 shnum 700 unsigned int shnum; local 821 unsigned int shnum; local [all...] |
/haiku-buildtools/binutils/elfcpp/ |
H A D | elfcpp_file.h | 141 shnum() function in class:elfcpp::Elf_file 148 shnum() const function in class:elfcpp::Elf_file 482 unsigned int shnum = this->shnum(); local 484 This::shdr_size * shnum)); 485 for (unsigned int i = 0; i < shnum; i++) 500 if (shndx >= this->shnum()) 502 shndx, this->shnum()); 561 if (shndx >= this->shnum()) 563 shndx, this->shnum()); [all...] |
/haiku-buildtools/binutils/gold/testsuite/ |
H A D | object_unittest.cc | 55 CHECK(object->shnum() == 5);
|
H A D | binary_unittest.cc | 101 CHECK(object->shnum() == 5);
|
/haiku-buildtools/binutils/gold/ |
H A D | object.cc | 89 unsigned int i = object->shnum(); 150 if (shndx < elfcpp::SHN_LORESERVE || shndx >= object->shnum()) 197 const unsigned int shnum = this->shnum(); local 198 sd->section_headers = this->get_lasting_view(shoff, shnum * shdr_size, 500 const unsigned int shnum = this->elf_file_.shnum(); local 501 this->set_shnum(shnum); 513 const unsigned int shnum = this->shnum(); local 594 const unsigned int shnum = this->shnum(); local 718 build_compressed_section_map( const unsigned char* pshdrs, unsigned int shnum, const char* names, section_size_type names_size, Object* obj, bool decompress_if_needed) argument 1347 const unsigned int shnum = this->shnum(); local 2196 unsigned int shnum = this->shnum(); local [all...] |
H A D | dwp.cc | 160 shnum() const function in class:gold::Dwo_file 161 { return this->obj_->shnum(); } 778 const unsigned int shnum = this->elf_file_.shnum(); local 780 this->set_shnum(shnum); 781 this->section_offsets().resize(shnum); 784 const unsigned char* const pshdrs = this->get_view(shoff, shnum * shdr_size, 803 pshdrs, this->shnum(), names, section_names_size, this, true); 845 unsigned int shnum = this->shnum(); local 890 unsigned int shnum = this->shnum(); local 990 unsigned int shnum = this->shnum(); local [all...] |
H A D | mapfile.cc | 361 unsigned int shnum = relobj->shnum(); local 362 for (unsigned int i = 0; i < shnum; ++i)
|
H A D | nacl.h | 199 const unsigned int shnum = elf_file.shnum(); local 200 for (unsigned int shndx = 1; shndx < shnum; ++shndx)
|
H A D | reloc.cc | 265 unsigned int shnum = this->shnum(); local 266 if (shnum == 0) 269 rd->relocs.reserve(shnum / 2); 275 shnum * This::shdr_size, 279 for (unsigned int i = 1; i < shnum; ++i, ps += This::shdr_size) 288 if (shndx >= shnum) 591 unsigned int shnum = this->shnum(); local 595 shnum * Thi 683 unsigned int shnum = this->shnum(); local [all...] |
H A D | dynobj.cc | 95 const unsigned int shnum = this->elf_file_.shnum(); local 96 this->set_shnum(shnum); 119 const unsigned int shnum = this->shnum(); local 121 for (unsigned int i = 0; i < shnum; ++i, p += This::shdr_size) 265 if (link >= this->shnum()) 383 pshdrs, this->shnum(), names, sd->section_names_size, this, true); 402 if (strtab_shndx >= this->shnum()) 479 const unsigned int shnum local [all...] |
H A D | incremental.cc | 229 || strtab_shndx > this->elf_file_.shnum() 298 && main_strtab_shndx < this->elf_file_.shnum()); 529 const unsigned int shnum = this->elf_file_.shnum(); local 531 Location shdrs_location(shoff, shnum * shdr_size); 541 this->section_map_.resize(shnum); 543 for (unsigned int i = 1; i < shnum; i++) 608 unsigned int shnum = input_file.get_input_section_count(); local 609 for (unsigned int i = 0; i < shnum; i++) 1581 unsigned int* index_map = new unsigned int[obj->shnum()]; [all...] |
H A D | dwarf_reader.cc | 181 for (unsigned int i = 1; i < object->shnum(); ++i) 318 for (unsigned int i = 1; i < object->shnum(); ++i) 363 for (unsigned int i = 0; i < object->shnum(); ++i) 495 for (unsigned int i = 1; i < object->shnum(); ++i) 534 for (unsigned int i = 0; i < object->shnum(); ++i) 1388 for (unsigned int i = 1; i < this->object_->shnum(); ++i) 1554 for (debug_shndx = 1; debug_shndx < object->shnum(); ++debug_shndx) 1577 for (unsigned int i = 0; i < object->shnum(); ++i) 1594 for (symtab_shndx = 0; symtab_shndx < object->shnum(); ++symtab_shndx)
|
H A D | object.h | 381 build_compressed_section_map(const unsigned char* pshdrs, unsigned int shnum, 547 shnum() const function in class:gold::Object 977 set_shnum(int shnum) argument 978 { this->shnum_ = shnum; } 1340 gold_assert(reloc_shndx < this->shnum()); 1348 gold_assert(reloc_shndx < this->shnum()); 1493 new std::vector<Relocatable_relocs*>(this->shnum());
|
H A D | arm.cc | 1599 new std::vector<bool>(this->shnum(), false); 1670 Stub_table_list empty_stub_table_list(this->shnum(), NULL); 6251 if (index >= this->shnum()) 6382 unsigned int shnum = this->shnum(); 6387 shnum * shdr_size, 6403 for (unsigned int i = 1; i < shnum; ++i, p += shdr_size) 6462 for (unsigned int i = 1; i < shnum; ++i, p += shdr_size) 6521 if (strtab_shndx >= this->shnum()) 6592 1, this->shnum() [all...] |
H A D | incremental-dump.cc | 245 || strtab_shndx > elf_file.shnum()
|
H A D | aarch64.cc | 1831 this->stub_tables_.resize(this->shnum()); 1906 if (strtab_shndx >= this->shnum()) 1971 unsigned int shnum = this->shnum(); local 1972 for (unsigned int i = 1; i < shnum; ++i) 2088 1, this->shnum() - 1); 2107 unsigned int shnum = this->shnum(); local 2110 for (unsigned int i = 1; i < shnum; ++i) 2213 if (text_shndx >= this->shnum()) 2304 unsigned int shnum = this->shnum(); local [all...] |
H A D | icf.cc | 772 for (unsigned int i = 0;i < (*p)->shnum(); ++i)
|
H A D | ehframe.cc | 1080 && fde_shndx < object->shnum()
|
H A D | incremental.h | 357 { this->sections_.reserve(obj->shnum()); }
|
H A D | mips.cc | 6748 this->section_is_mips16_fn_stub_.resize(this->shnum(), false); 6749 this->section_is_mips16_call_stub_.resize(this->shnum(), false); 6750 this->section_is_mips16_call_fp_stub_.resize(this->shnum(), false); 6755 for (unsigned int i = 1; i < this->shnum(); ++i, ps += shdr_size) 9585 for (unsigned int i = 1; i < relobj->shnum(); ++i) 11531 for (unsigned int i = 1; i < object->shnum(); ++i)
|
H A D | plugin.cc | 1667 *count = obj->shnum();
|
/haiku-buildtools/gcc/libbacktrace/ |
H A D | elf.c | 527 unsigned int shnum; local 608 shnum = ehdr.e_shnum; 611 if ((shnum == 0 || shstrndx == SHN_XINDEX) 623 if (shnum == 0) 624 shnum = shdr->sh_size; 641 if (shstrndx >= shnum && shstrndx >= SHN_LORESERVE + 0x100) 654 (shnum - 1) * sizeof (b_elf_shdr), 678 for (i = 1; i < shnum; ++i) 723 if (strtab_shndx >= shnum)
|
/haiku-buildtools/legacy/binutils/bfd/ |
H A D | elf.c | 474 unsigned int i, shnum; local 478 shnum = elf_numsections (abfd); 480 for (i = 0; i < shnum; i++) 505 for (i = 0; i < shnum; i++) 549 if (idx >= shnum)
|
/haiku-buildtools/binutils/bfd/ |
H A D | elf.c | 590 unsigned int i, shnum; local 594 shnum = elf_numsections (abfd); 603 for (i = 0; i < shnum; i++) 629 for (i = 0; i < shnum; i++) 697 if (idx >= shnum)
|