Home
last modified time | relevance | path

Searched refs:e_shnum (Results 1 – 13 of 13) sorted by relevance

/toolchain/binutils/binutils-2.25/bfd/
Delfcode.h255 dst->e_shnum = H_GET_16 (abfd, src->e_shnum); in elf_swap_ehdr_in()
288 tmp = src->e_shnum; in elf_swap_ehdr_out()
291 H_PUT_16 (abfd, tmp, dst->e_shnum); in elf_swap_ehdr_out()
565 if (i_ehdrp->e_shentsize != sizeof (x_shdr) && i_ehdrp->e_shnum != 0) in elf_object_p()
569 if (i_ehdrp->e_shoff == 0 && i_ehdrp->e_shnum != 0) in elf_object_p()
625 if (i_ehdrp->e_shnum == SHN_UNDEF) in elf_object_p()
627 i_ehdrp->e_shnum = i_shdr.sh_size; in elf_object_p()
628 if (i_ehdrp->e_shnum >= SHN_LORESERVE in elf_object_p()
629 || i_ehdrp->e_shnum != i_shdr.sh_size in elf_object_p()
630 || i_ehdrp->e_shnum == 0) in elf_object_p()
[all …]
DChangeLog-0001231 * elf.c (setup_group): Use elf_numsections rather than header e_shnum.
239 sections from e_shnum. Set up symtab_shndx_hdr.
243 than header e_shnum. Skip reserved sections and symtab_shndx_section.
261 (elf_object_p): Set elf_numsections, and use instead of e_shnum.
275 other buffers. Use elf_numsections instead of e_shnum. Adjust
324 elf_numsections rather than header e_shnum.
330 hold section index. Use elf_numsections rather than e_shnum.
543 * elfcode.h (elf_swap_ehdr_out): Adjust value written for e_shnum
545 (elf_object_p): Read extended values for e_shnum and e_shstrndx
2005 non-ET_REL files. Honor 0 for e_shnum, e_shstrndx, e_shoff.
Delf.c3124 elf_elfheader (abfd)->e_shnum = section_number; in assign_section_numbers()
5431 off += i_ehdrp->e_shnum * i_ehdrp->e_shentsize; in _bfd_elf_assign_file_positions_for_relocs()
DChangeLog-20052359 * elfcode.h (elf_object_p): Fail if e_shoff != 0, e_shnum == 0 and
2360 first shdr has sh_size == 0. Fail if e_shnum is large to cause
DChangeLog-02038070 e_shnum == 0.
/toolchain/binutils/binutils-2.25/binutils/
Dreadelf.c562 if (ndx >= elf_header.e_shnum) in printable_section_name_from_index()
575 for (i = 0; i < elf_header.e_shnum; i++) in find_section()
590 for (i = 0; i < elf_header.e_shnum; i++) in find_section_by_address()
605 for (i = 0; i < elf_header.e_shnum; i++) in find_section_by_type()
1496 if (psym->st_shndx < elf_header.e_shnum) in dump_relocations()
4160 (long) elf_header.e_shnum); in process_file_header()
4161 if (section_headers != NULL && elf_header.e_shnum == SHN_UNDEF) in process_file_header()
4170 && elf_header.e_shstrndx >= elf_header.e_shnum) in process_file_header()
4180 if (elf_header.e_shnum == SHN_UNDEF) in process_file_header()
4181 elf_header.e_shnum = section_headers[0].sh_size; in process_file_header()
[all …]
Delfedit.c213 elf_header.e_shnum = BYTE_GET (ehdr32.e_shnum); in get_file_header()
246 elf_header.e_shnum = BYTE_GET (ehdr64.e_shnum); in get_file_header()
DChangeLog-000182 * readelf.c (process_file_header): Print extended e_shnum and
/toolchain/binutils/binutils-2.25/include/elf/
Dexternal.h65 unsigned char e_shnum[2]; /* Section header table entry count */ member
82 unsigned char e_shnum[2]; /* Section header table entry count */ member
Dinternal.h80 unsigned int e_shnum; /* Section header table entry count */ member
/toolchain/binutils/binutils-2.25/libiberty/
Dsimple-object-elf.c62 unsigned char e_shnum[2]; /* Section header table entry count */ member
81 unsigned char e_shnum[2]; /* Section header table entry count */ member
427 e_shnum, Elf_Half); in simple_object_elf_match()
747 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_shnum, Elf_Half, in simple_object_elf_write_ehdr()
/toolchain/binutils/binutils-2.25/elfcpp/
Delfcpp_internal.h61 Elf_Half e_shnum; member
Delfcpp.h1080 { return Convert<16, big_endian>::convert_host(this->p_->e_shnum); }
1150 { this->p_->e_shnum = Convert<16, big_endian>::convert_host(v); }