Searched refs:e_shnum (Results 1 - 25 of 28) sorted by relevance

12

/macosx-10.9.5/dtrace-118.1/libelf/
H A Dgetshnum.c44 if (ehdr.e_shnum > 0) {
45 *shnum = ehdr.e_shnum;
48 if ((ehdr.e_shnum == 0) && (ehdr.e_shoff == 0)) {
H A Dchecksum.c107 for (shnum = 1; shnum < ehdr->e_shnum; shnum++) {
141 for (shnum = 1; shnum < ehdr->e_shnum; shnum++) {
H A Dnewscn.c82 ((Elf32_Ehdr *)elf->ed_ehdr)->e_shnum
112 ((Elf64_Ehdr *)elf->ed_ehdr)->e_shnum
H A Dupdate.c208 * is used to hold an alternative e_shnum, e_shstrndx and e_phnum.
210 * would have been zeroed. The e_shnum is initialized later, after the
216 eh->e_shnum = 0;
319 * e_shnum is stored in the sh_size field of the
322 * NOTE: we set e_shnum to '0' because it's specified
328 eh->e_shnum = scncnt;
333 eh->e_shnum = 0;
401 eh->e_shnum = 0;
403 eh->e_shnum = 1;
415 ++eh->e_shnum;
[all...]
H A Dgelf.c116 dst->e_shnum = e->e_shnum;
178 d->e_shnum = src->e_shnum;
H A Dclscook.c490 if ((eh->e_shnum == 0) && (eh->e_shoff == 0))
504 if ((scncnt = eh->e_shnum) == 0) {
H A Dbegin.c421 ((Elf32_Ehdr *)(elf->ed_ident))->e_shnum = n + 1;
527 ((Elf64_Ehdr *)(elf->ed_ident))->e_shnum = n + 1;
H A Dxlate.m41017 tofh(dst, src->e_shnum, E1_shnum_$2);
1525 dst->e_shnum = tomh(src, E1_shnum_$2);
H A Dxlate64.m41008 tofh(dst, src->e_shnum, E1_shnum_$2);
1563 dst->e_shnum = tomh(src, E1_shnum_$2);
H A Dxlate.c1190 { register Elf32_Half _t_ = src->e_shnum;
1251 { register Elf32_Half _t_ = src->e_shnum;
2654 dst->e_shnum = (((Elf32_Half)(src)[E1_shnum_L1]<<8)+(src)[E1_shnum_L0]);
2696 dst->e_shnum = (((Elf32_Half)(src)[E1_shnum_M1]<<8)+(src)[E1_shnum_M0]);
/macosx-10.9.5/file-46/file/src/
H A Delfclass.h52 fsize, &flags, elf_getu16(swap, elfhdr.e_shnum))
59 elf_getu16(swap, elfhdr.e_shnum),
H A Dreadelf.h77 Elf32_Half e_shnum; member in struct:__anon8847
94 Elf64_Half e_shnum; member in struct:__anon8848
/macosx-10.9.5/cxxfilt-11/cxxfilt/include/elf/
H A Dexternal.h53 unsigned char e_shnum[2]; /* Section header table entry count */ member in struct:__anon7775
70 unsigned char e_shnum[2]; /* Section header table entry count */ member in struct:__anon7776
H A Dinternal.h57 unsigned int e_shnum; /* Section header table entry count */ member in struct:elf_internal_ehdr
/macosx-10.9.5/emacs-92/emacs/src/
H A Dunexsni.c436 for (old_sbss_index = 1; old_sbss_index < old_file_h->e_shnum;
447 if (old_sbss_index == old_file_h->e_shnum)
460 for (old_bss_index = 1; old_bss_index < old_file_h->e_shnum; old_bss_index++)
470 if (old_bss_index == old_file_h->e_shnum)
479 for (old_rel_dyn_index = 1; old_rel_dyn_index < old_file_h->e_shnum;
490 if (old_rel_dyn_index == old_file_h->e_shnum)
613 new_file_h->e_shnum += 1 + (old_sdata_index ? 0 : 1);
617 fprintf (stderr, "Old section count %d\n", old_file_h->e_shnum);
619 fprintf (stderr, "New section count %d\n", new_file_h->e_shnum);
680 for (old_data_index = 1; old_data_index < old_file_h->e_shnum;
[all...]
H A Dunexelf.c629 for (idx = 1; idx < old_file_h->e_shnum; idx++)
639 if (idx == old_file_h->e_shnum)
853 new_file_h->e_shnum += 1;
857 fprintf (stderr, "Old section count %d\n", old_file_h->e_shnum);
859 fprintf (stderr, "New section count %d\n", new_file_h->e_shnum);
921 for (old_data_index = 1; old_data_index < (int) old_file_h->e_shnum;
926 if (old_data_index == old_file_h->e_shnum)
931 for (n = 1, nn = 1; n < (int) old_file_h->e_shnum; n++, nn++)
1205 for (n = new_file_h->e_shnum - 1; n; n--)
1230 for (n = new_file_h->e_shnum
[all...]
/macosx-10.9.5/cxxfilt-11/cxxfilt/bfd/
H A Delfcode.h249 dst->e_shnum = H_GET_16 (abfd, src->e_shnum);
279 tmp = src->e_shnum;
282 H_PUT_16 (abfd, tmp, dst->e_shnum);
574 if (i_ehdrp->e_shentsize != sizeof (x_shdr) && i_ehdrp->e_shnum != 0)
578 if (i_ehdrp->e_shoff == 0 && i_ehdrp->e_shnum != 0)
652 if (i_ehdrp->e_shnum == SHN_UNDEF)
654 i_ehdrp->e_shnum = i_shdr.sh_size;
655 if (i_ehdrp->e_shnum != i_shdr.sh_size
656 || i_ehdrp->e_shnum
[all...]
/macosx-10.9.5/dtrace-118.1/libctf/
H A Dctf_lib.c142 dst->e_shnum = src->e_shnum;
288 if (hdr.e64.e_shstrndx >= hdr.e64.e_shnum)
291 n = hdr.e64.e_shnum;
348 if (shp->sh_link >= hdr.e64.e_shnum)
/macosx-10.9.5/cxxfilt-11/cxxfilt/binutils/
H A Dreadelf.c585 for (i = 0; i < elf_header.e_shnum; i++)
3233 (long) elf_header.e_shnum);
3234 if (section_headers != NULL && elf_header.e_shnum == 0)
3242 && (elf_header.e_shstrndx >= elf_header.e_shnum
3251 if (elf_header.e_shnum == 0)
3252 elf_header.e_shnum = section_headers[0].sh_size;
3256 && (elf_header.e_shstrndx >= elf_header.e_shnum
3580 for (j = 1; j < elf_header.e_shnum; j++, section++)
4015 if (elf_header.e_shnum == 0)
4025 elf_header.e_shnum, (unsigne
[all...]
/macosx-10.9.5/dtrace-118.1/libdwarf/
H A Ddwarf_init_finish.c186 section_count = ehdr.e_shnum;
232 section_count = ehdr64->e_shnum;
242 section_count = ehdr32->e_shnum;
/macosx-10.9.5/dtrace-118.1/sys/
H A Delf.h91 Elf32_Half e_shnum; /* number shdrs */ member in struct:__anon8458
109 Elf64_Half e_shnum; /* number shdrs */ member in struct:__anon8459
/macosx-10.9.5/dtrace-118.1/tools/ctfconvert/
H A Doutput.c668 secxlate = xmalloc(sizeof (int) * sehdr.e_shnum);
669 for (srcidx = dstidx = 0; srcidx < sehdr.e_shnum; srcidx++) {
704 for (srcidx = 1; srcidx < sehdr.e_shnum; srcidx++) {
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Support/
H A DELF.h75 Elf32_Half e_shnum; // Number of entries in the section header table member in struct:llvm::ELF::Elf32_Ehdr
99 Elf64_Half e_shnum; member in struct:llvm::ELF::Elf64_Ehdr
/macosx-10.9.5/dtrace-118.1/libdtrace/
H A Ddt_link.c515 elf_file.ehdr.e_shnum = nshdr;
652 elf_file.ehdr.e_shnum = nshdr;
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Object/
H A DELF.h405 Elf_Half e_shnum; // Number of entries in the section header table member in struct:llvm::object::Elf_Ehdr_Impl
2306 if (Header->e_shnum == ELF::SHN_UNDEF) {
2310 return Header->e_shnum;
2316 if (Header->e_shnum == ELF::SHN_UNDEF) {

Completed in 518 milliseconds

12