Lines Matching defs:header
96 /* Make the ELF header available. */
105 /* We already read the ELF header. We have to copy the header
146 /* Get the number of sections from the ELF header. */
153 /* Cannot read the first section header. */
206 /* Get the number of sections from the ELF header. */
213 /* Cannot read the first section header. */
356 /* Copy the ELF header. */
460 /* Copy the ELF header. */
555 header. The header for an ELF file is EI_NIDENT bytes in size,
556 the header for an archive file SARMAG bytes long. */
588 header. The identification header for an ELF file is EI_NIDENT
589 bytes in size, but we read the whole ELF header since we will
590 need it anyway later. For archives the header in SARMAG bytes
600 unsigned char header[MAX (sizeof (Elf64_Ehdr), SARMAG)];
604 ssize_t nread = pread_retry (fildes, mem.header,
617 Elf_Kind kind = determine_kind (mem.header, nread);
625 /* Make sure at least the ELF header is contained in the file. */
626 if ((size_t) nread >= (mem.header[EI_CLASS] == ELFCLASS32
628 return file_read_elf (fildes, NULL, mem.header, offset, maxsize, cmd,
746 /* Read the header from the file. */
845 /* Read the next archive header. */
1083 pointing to. First read the header of the next member if this