Lines Matching refs:elf
1069 struct elfhdr elf; in irix_core_dump() local
1099 memcpy(elf.e_ident, ELFMAG, SELFMAG); in irix_core_dump()
1100 elf.e_ident[EI_CLASS] = ELFCLASS32; in irix_core_dump()
1101 elf.e_ident[EI_DATA] = ELFDATA2LSB; in irix_core_dump()
1102 elf.e_ident[EI_VERSION] = EV_CURRENT; in irix_core_dump()
1103 memset(elf.e_ident+EI_PAD, 0, EI_NIDENT-EI_PAD); in irix_core_dump()
1105 elf.e_type = ET_CORE; in irix_core_dump()
1106 elf.e_machine = ELF_ARCH; in irix_core_dump()
1107 elf.e_version = EV_CURRENT; in irix_core_dump()
1108 elf.e_entry = 0; in irix_core_dump()
1109 elf.e_phoff = sizeof(elf); in irix_core_dump()
1110 elf.e_shoff = 0; in irix_core_dump()
1111 elf.e_flags = 0; in irix_core_dump()
1112 elf.e_ehsize = sizeof(elf); in irix_core_dump()
1113 elf.e_phentsize = sizeof(struct elf_phdr); in irix_core_dump()
1114 elf.e_phnum = segs+1; /* Include notes. */ in irix_core_dump()
1115 elf.e_shentsize = 0; in irix_core_dump()
1116 elf.e_shnum = 0; in irix_core_dump()
1117 elf.e_shstrndx = 0; in irix_core_dump()
1125 DUMP_WRITE(&elf, sizeof(elf)); in irix_core_dump()
1126 offset += sizeof(elf); /* Elf header. */ in irix_core_dump()