Searched refs:sh_size (Results 1 - 25 of 66) sorted by relevance

123

/macosx-10.10.1/dtrace-147/libelf/
H A Dgetshnum.c56 *shnum = shdr0.sh_size;
H A Dclscook.c298 d->db_data.d_size = (sh->sh_size / fsz) * msz;
299 d->db_shsz = sh->sh_size;
307 d->db_fsz = sh->sh_size;
494 * Shdr[0].sh_size.
515 scncnt = sh.sh_size;
608 pShdr->sh_size = section_ptr->size;
635 pShdr->sh_size = thisST->nsyms * sizeof (struct _nlist);
648 pShdr->sh_size = thisST->strsize;
670 struct _nlist *pEnd = nsym + (pSymTab->sh_size/pSymTab->sh_entsize);
H A Dupdate.c258 sh->sh_size = (Xword) sz;
310 * e_shnum is stored in the sh_size field of the
323 sh->sh_size = scncnt;
420 if (sh->sh_size < sz) {
425 (hi < sh->sh_offset + sh->sh_size))
426 hi = sh->sh_offset + sh->sh_size;
640 hi = sh->sh_offset + sh->sh_size;
H A Dgetdata.c237 d->db_data.d_size = sh->sh_size;
243 d->db_data.d_size = sh->sh_size;
H A Dgelf.c350 dst->sh_size = (Elf64_Xword)s->sh_size;
398 dst->sh_size = (Elf32_Word)src->sh_size;
1110 n = shdr.sh_size / shdr.sh_entsize;
/macosx-10.10.1/cxxfilt-11/cxxfilt/include/elf/
H A Dexternal.h106 unsigned char sh_size[4]; /* Size of section in bytes */ member in struct:__anon7560
119 unsigned char sh_size[8]; /* Size of section in bytes */ member in struct:__anon7561
H A Dinternal.h83 bfd_size_type sh_size; /* Size of section in bytes */ member in struct:elf_internal_shdr
266 || segment->p_type == PT_TLS) ? sec_hdr->sh_size : 0)
291 (sec_hdr->sh_size > 0 \
/macosx-10.10.1/emacs-93/emacs/src/
H A Dunexsni.c494 old_rel_dyn_size = OLD_SECTION_H(old_rel_dyn_index).sh_size;
501 old_bss_size = OLD_SECTION_H(old_bss_index).sh_size;
504 old_sbss_size = OLD_SECTION_H(old_sbss_index).sh_size;
508 old_sdata_size = OLD_SECTION_H(old_sdata_index).sh_size;
706 NEW_SECTION_H(nn).sh_size = new_data3_size;
749 NEW_SECTION_H(nn).sh_size = new_data2_size;
766 NEW_SECTION_H(nn).sh_size = new_sdata_size;
782 NEW_SECTION_H(nn).sh_size = 0;
795 NEW_SECTION_H(nn).sh_size = 0;
830 NEW_SECTION_H(nn).sh_size));
[all...]
H A Dunexelf.c764 old_bss_size = OLD_SECTION_H (old_bss_index).sh_size;
773 old_bss_size = OLD_SECTION_H (old_bss_index).sh_size
774 + OLD_SECTION_H (old_plt_index).sh_size;
776 old_bss_size += OLD_SECTION_H (old_sbss_index).sh_size;
782 old_bss_size = OLD_SECTION_H (old_bss_index).sh_size
783 + OLD_SECTION_H (old_sbss_index).sh_size;
945 NEW_SECTION_H (nn).sh_size = new_data2_size;
976 NEW_SECTION_H (nn).sh_size = 0;
1000 if (NEW_SECTION_H (nn).sh_offset + NEW_SECTION_H (nn).sh_size
1081 NEW_SECTION_H (nn).sh_size);
[all...]
/macosx-10.10.1/dtrace-147/libctf/
H A Dctf_lib.c130 dst->sh_size = src->sh_size;
299 strs_mapsz = sp[hdr.e64.e_shstrndx].sh_size +
324 if (shp->sh_name >= sp[hdr.e64.e_shstrndx].sh_size ||
325 lhp->sh_name >= sp[hdr.e64.e_shstrndx].sh_size)
333 ctfsect.cts_size = shp->sh_size;
341 symsect.cts_size = shp->sh_size;
348 strsect.cts_size = lhp->sh_size;
/macosx-10.10.1/cxxfilt-11/cxxfilt/bfd/
H A Delfcode.h307 dst->sh_size = H_GET_WORD (abfd, src->sh_size);
330 H_PUT_WORD (abfd, src->sh_size, dst->sh_size);
654 i_ehdrp->e_shnum = i_shdr.sh_size;
655 if (i_ehdrp->e_shnum != i_shdr.sh_size
748 if (i_shdrp[shindex].sh_size != 0
913 rela_hdr->sh_size = rela_hdr->sh_entsize * sec->reloc_count;
914 rela_hdr->contents = bfd_alloc (abfd, rela_hdr->sh_size);
1037 i_shdrp[0]->sh_size
[all...]
H A Delf64-sparc.c66 allocated = (PTR) bfd_malloc (rel_hdr->sh_size);
71 || bfd_bread (allocated, rel_hdr->sh_size, abfd) != rel_hdr->sh_size)
81 count = rel_hdr->sh_size / entsize;
329 rela_hdr->sh_size = rela_hdr->sh_entsize * count;
330 rela_hdr->contents = (PTR) bfd_alloc (abfd, rela_hdr->sh_size);
H A Delf.c263 shstrtabsize = i_shdrp[shindex]->sh_size;
300 if (strindex >= hdr->sh_size)
305 abfd, strindex, (unsigned long) hdr->sh_size,
370 if (shndx_hdr == NULL || shndx_hdr->sh_size == 0)
501 section with just a flag word (ie. sh_size is 4), ignore it. */
507 if (shdr->sh_type == SHT_GROUP && shdr->sh_size >= 8)
532 if (shdr->sh_type == SHT_GROUP && shdr->sh_size >= 8)
543 amt = shdr->sh_size * sizeof (*dest) / 4;
544 shdr->contents = bfd_alloc2 (abfd, shdr->sh_size,
548 || (bfd_bread (shdr->contents, shdr->sh_size, abf
[all...]
H A Delf32-sh-symbian.c452 num_global_syms = symtab_hdr->sh_size / sizeof (Elf32_External_Sym);
550 symtab_hdr->sh_size = (num_global_syms + num_local_syms) * sizeof (Elf32_External_Sym);
H A Delf64-mips.c2383 allocated = bfd_malloc (rel_hdr->sh_size);
2388 || (bfd_bread (allocated, rel_hdr->sh_size, abfd)
2389 != rel_hdr->sh_size))
2688 rel_hdr->sh_size = rel_hdr->sh_entsize * *count;
2689 rel_hdr->contents = bfd_alloc (abfd, rel_hdr->sh_size);
2786 rela_hdr->sh_size = rela_hdr->sh_entsize * *count;
2787 rela_hdr->contents = bfd_alloc (abfd, rela_hdr->sh_size);
H A Delflink.c2060 if (bfd_bread (external_relocs, shdr->sh_size, abfd) != shdr->sh_size)
2064 nsyms = symtab_hdr->sh_size / symtab_hdr->sh_entsize;
2080 erelaend = erela + shdr->sh_size;
2153 bfd_size_type size = rel_hdr->sh_size;
2156 size += elf_section_data (o)->rel_hdr2->sh_size;
2171 ((bfd_byte *) external_relocs) + rel_hdr->sh_size,
2218 rel_hdr->sh_size = rel_hdr->sh_entsize * reloc_count;
2224 rel_hdr->contents = bfd_zalloc (abfd, rel_hdr->sh_size);
2225 if (rel_hdr->contents == NULL && rel_hdr->sh_size !
[all...]
H A Delf32-dlx.c438 sym_hashes_end = sym_hashes + symtab_hdr->sh_size / sizeof (Elf32_External_Sym);
H A Delf32-m32c.c605 sym_hashes_end = sym_hashes + symtab_hdr->sh_size/sizeof (Elf32_External_Sym);
910 locsymcount = symtab_hdr->sh_size / get_elf_backend_data(abfd)->s->sizeof_sym;
1393 if (shndx_hdr->sh_size != 0)
1961 symcount = (symtab_hdr->sh_size / sizeof (Elf32_External_Sym)
H A Delf32-openrisc.c454 sym_hashes + symtab_hdr->sh_size / sizeof (Elf32_External_Sym);
/macosx-10.10.1/cxxfilt-11/cxxfilt/binutils/
H A Dreadelf.c3235 printf (" (%ld)", (long) section_headers[0].sh_size);
3252 elf_header.e_shnum = section_headers[0].sh_size;
3514 if (sec == NULL || sec->sh_size == 0)
3521 dynamic_size = sec->sh_size;
3654 internal->sh_size = BYTE_GET (shdrs[i].sh_size);
3694 internal->sh_size = BYTE_GET (shdrs[i].sh_size);
3717 esyms = get_data (NULL, file, section->sh_offset, 1, section->sh_size,
3728 1, symtab_shndx_hdr->sh_size,
[all...]
/macosx-10.10.1/dtrace-147/tools/ctfconvert/
H A Doutput.c452 nent = shdr.sh_size / shdr.sh_entsize;
751 ddata->d_buf = xmalloc(ddata->d_size + shdr.sh_size +
753 bcopy(sdata->d_buf, ddata->d_buf, shdr.sh_size);
754 strcpy((caddr_t)ddata->d_buf + shdr.sh_size,
756 ctfnameoff = (off_t)shdr.sh_size;
757 shdr.sh_size += seclen + 1;
765 int nsym = shdr.sh_size / shdr.sh_entsize;
769 ddata->d_buf = xmalloc(shdr.sh_size);
770 bcopy(sdata->d_buf, ddata->d_buf, shdr.sh_size);
796 new_offset += shdr.sh_size;
[all...]
/macosx-10.10.1/file-46/file/src/
H A Dreadelf.h184 Elf32_Word sh_size; member in struct:__anon8632
197 Elf64_Off sh_size; member in struct:__anon8633
/macosx-10.10.1/dtrace-147/libdwarf/
H A Ddwarf_init_finish.c267 section_size = shdr.sh_size;
290 section_size = shdr64->sh_size;
305 section_size = shdr32->sh_size;
/macosx-10.10.1/dtrace-147/sys/
H A Delf.h373 Elf32_Word sh_size; /* section size */ member in struct:__anon8242
387 Elf64_Xword sh_size; /* section size */ member in struct:__anon8243
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Object/
H A DELF.h114 Elf_Word sh_size; // Size of section, in bytes member in struct:llvm::object::Elf_Shdr_Base
129 Elf_Xword sh_size; // Size of section, in bytes member in struct:llvm::object::Elf_Shdr_Base
139 using Elf_Shdr_Base<target_endianness, is64Bits>::sh_size;
145 return sh_size / sh_entsize;
662 (base() + sec->sh_offset + sec->sh_size));
671 (base() + sec->sh_offset + sec->sh_size));
704 unsigned vd_size = sec->sh_size; // Size of section in bytes
730 unsigned vn_size = sec->sh_size; // Size of section in bytes
796 + SymbolTableSection->sh_size)))
1167 Result = sec->sh_size;
[all...]

Completed in 398 milliseconds

123