Home
last modified time | relevance | path

Searched refs:e_shoff (Results 1 – 25 of 50) sorted by relevance

12

/dragonfly/contrib/gdb-7/bfd/
H A Delfcode.h250 dst->e_shoff = H_GET_WORD (abfd, src->e_shoff); in elf_swap_ehdr_in()
280 H_PUT_WORD (abfd, src->e_shoff, dst->e_shoff); in elf_swap_ehdr_out()
607 if (i_ehdrp->e_shoff != 0) in elf_object_p()
609 bfd_signed_vma where = i_ehdrp->e_shoff; in elf_object_p()
663 if ((bfd_size_type) where <= i_ehdrp->e_shoff) in elf_object_p()
672 where = i_ehdrp->e_shoff + sizeof (x_shdr); in elf_object_p()
1056 i_ehdr.e_phoff = i_ehdr.e_shoff = 0; in elf_checksum_contents()
1735 && (bfd_vma) contents_size >= (i_ehdr.e_shoff in NAME()
1739 if ((bfd_vma) contents_size < (i_ehdr.e_shoff in NAME()
1779 if ((bfd_vma) contents_size < (i_ehdr.e_shoff in NAME()
[all …]
H A Delfcore.h188 if (i_ehdrp->e_shoff != 0 && i_ehdrp->e_phnum == PN_XNUM) in elf_core_file_p()
192 bfd_signed_vma where = i_ehdrp->e_shoff; in elf_core_file_p()
/dragonfly/usr.bin/crunch/crunchide/
H A Dexec_elf64.c249 if (xreadatoff(fd, shdrp, xewtoh(ehdr.e_shoff), shdrsize, fn) != in ELFNAMEEND()
297 shdrshdr.sh_offset = ehdr.e_shoff; in ELFNAMEEND()
451 ehdr.e_shoff != shdrshdr.sh_offset) { in ELFNAMEEND()
452 ehdr.e_shoff = shdrshdr.sh_offset; in ELFNAMEEND()
453 off = offsetof(Elf_Ehdr, e_shoff); in ELFNAMEEND()
455 if ((size_t)xwriteatoff(fd, &ehdr.e_shoff, off, size, in ELFNAMEEND()
/dragonfly/contrib/elftoolchain/libelf/
H A Dgelf_ehdr.c74 d->e_shoff = eh32->e_shoff; in gelf_getehdr()
157 LIBELF_COPY_U32(eh32, s, e_shoff); in gelf_update_ehdr()
H A Delf_scn.c79 shoff = (uint64_t) eh32->e_shoff; in _libelf_load_section_headers()
83 shoff = eh64->e_shoff; in _libelf_load_section_headers()
H A Delf_update.c534 shoff = (off_t) eh32->e_shoff; in _libelf_resync_elf()
540 shoff = (off_t) eh64->e_shoff; in _libelf_resync_elf()
698 eh32->e_shoff = (uint32_t) shoff; in _libelf_resync_elf()
701 eh64->e_shoff = (uint64_t) shoff; in _libelf_resync_elf()
952 shoff = (uint64_t) eh32->e_shoff; in _libelf_write_shdr()
955 shoff = eh64->e_shoff; in _libelf_write_shdr()
H A Dlibelf_ehdr.c180 shoff = ((Elf32_Ehdr *) ehdr)->e_shoff; in _libelf_ehdr()
185 shoff = ((Elf64_Ehdr *) ehdr)->e_shoff; in _libelf_ehdr()
H A Delf_types.m4108 `e_shoff, OFF',
125 `e_shoff, OFF',
/dragonfly/contrib/binutils-2.34/bfd/
H A Delfcode.h249 dst->e_shoff = H_GET_WORD (abfd, src->e_shoff); in elf_swap_ehdr_in()
279 H_PUT_WORD (abfd, src->e_shoff, dst->e_shoff); in elf_swap_ehdr_out()
566 if (i_ehdrp->e_shoff == 0 && i_ehdrp->e_type == ET_REL) in elf_object_p()
576 if (i_ehdrp->e_shoff == 0 && i_ehdrp->e_shnum != 0) in elf_object_p()
613 if (i_ehdrp->e_shoff != 0) in elf_object_p()
615 file_ptr where = (file_ptr) i_ehdrp->e_shoff; in elf_object_p()
664 if ((bfd_size_type) where <= i_ehdrp->e_shoff) in elf_object_p()
673 where = i_ehdrp->e_shoff + sizeof (x_shdr); in elf_object_p()
806 if (i_ehdrp->e_shstrndx != 0 && i_ehdrp->e_shoff != 0) in elf_object_p()
1078 i_ehdr.e_phoff = i_ehdr.e_shoff = 0; in elf_checksum_contents()
[all …]
H A Delfcore.h195 if (i_ehdrp->e_shoff != 0 && i_ehdrp->e_phnum == PN_XNUM) in elf_core_file_p()
199 file_ptr where = (file_ptr) i_ehdrp->e_shoff; in elf_core_file_p()
/dragonfly/contrib/binutils-2.27/bfd/
H A Delfcode.h249 dst->e_shoff = H_GET_WORD (abfd, src->e_shoff); in elf_swap_ehdr_in()
279 H_PUT_WORD (abfd, src->e_shoff, dst->e_shoff); in elf_swap_ehdr_out()
559 if (i_ehdrp->e_shoff == 0 && i_ehdrp->e_type == ET_REL) in elf_object_p()
569 if (i_ehdrp->e_shoff == 0 && i_ehdrp->e_shnum != 0) in elf_object_p()
606 if (i_ehdrp->e_shoff != 0) in elf_object_p()
608 file_ptr where = (file_ptr) i_ehdrp->e_shoff; in elf_object_p()
657 if ((bfd_size_type) where <= i_ehdrp->e_shoff) in elf_object_p()
666 where = i_ehdrp->e_shoff + sizeof (x_shdr); in elf_object_p()
794 if (i_ehdrp->e_shstrndx != 0 && i_ehdrp->e_shoff != 0) in elf_object_p()
1058 i_ehdr.e_phoff = i_ehdr.e_shoff = 0; in elf_checksum_contents()
[all …]
H A Delfcore.h187 if (i_ehdrp->e_shoff != 0 && i_ehdrp->e_phnum == PN_XNUM) in elf_core_file_p()
191 file_ptr where = (file_ptr) i_ehdrp->e_shoff; in elf_core_file_p()
/dragonfly/contrib/gdb-7/include/elf/
H A Dexternal.h60 unsigned char e_shoff[4]; /* Section header table file offset */ member
77 unsigned char e_shoff[8]; /* Section header table file offset */ member
/dragonfly/contrib/binutils-2.27/include/elf/
H A Dexternal.h59 unsigned char e_shoff[4]; /* Section header table file offset */ member
76 unsigned char e_shoff[8]; /* Section header table file offset */ member
/dragonfly/contrib/binutils-2.34/include/elf/
H A Dexternal.h59 unsigned char e_shoff[4]; /* Section header table file offset */ member
76 unsigned char e_shoff[8]; /* Section header table file offset */ member
/dragonfly/contrib/binutils-2.27/binutils/
H A Delfedit.c249 elf_header.e_shoff = BYTE_GET (ehdr32.e_shoff); in get_file_header()
282 elf_header.e_shoff = BYTE_GET (ehdr64.e_shoff); in get_file_header()
/dragonfly/contrib/binutils-2.27/libiberty/
H A Dsimple-object-elf.c56 unsigned char e_shoff[4]; /* Section header table file offset */ member
75 unsigned char e_shoff[8]; /* Section header table file offset */ member
425 e_shoff, Elf_Addr); in simple_object_elf_match()
735 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_shoff, Elf_Addr, ehdr_size); in simple_object_elf_write_ehdr()
/dragonfly/contrib/gdb-7/libiberty/
H A Dsimple-object-elf.c56 unsigned char e_shoff[4]; /* Section header table file offset */ member
75 unsigned char e_shoff[8]; /* Section header table file offset */ member
425 e_shoff, Elf_Addr); in simple_object_elf_match()
734 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_shoff, Elf_Addr, ehdr_size); in simple_object_elf_write_ehdr()
/dragonfly/contrib/gcc-4.7/libiberty/
H A Dsimple-object-elf.c56 unsigned char e_shoff[4]; /* Section header table file offset */ member
75 unsigned char e_shoff[8]; /* Section header table file offset */ member
425 e_shoff, Elf_Addr); in simple_object_elf_match()
734 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_shoff, Elf_Addr, ehdr_size); in simple_object_elf_write_ehdr()
/dragonfly/contrib/file/src/
H A Dreadelf.h99 Elf32_Off e_shoff; member
116 Elf64_Off e_shoff; member
H A Delfclass.h69 CAST(off_t, elf_getu(swap, elfhdr.e_shoff)), shnum,
/dragonfly/contrib/binutils-2.34/binutils/
H A Delfedit.c457 elf_header.e_shoff = BYTE_GET (ehdr32.e_shoff); in get_file_header()
490 elf_header.e_shoff = BYTE_GET (ehdr64.e_shoff); in get_file_header()
/dragonfly/games/hangman/
H A Dgetsym.c126 if (lseek(symfd, eh.e_shoff, SEEK_SET) == -1) in ksyms_elf_parse()
/dragonfly/sys/sys/
H A Delf32.h62 Elf32_Off e_shoff; /* Section header file offset. */ member
H A Delf64.h77 Elf64_Off e_shoff; /* Section header file offset. */ member

12