tag | line | file | source code |
elf | 953 | fs/binfmt_elf.c | struct elfhdr elf; |
elf | 990 | fs/binfmt_elf.c | memcpy(elf.e_ident, ELFMAG, SELFMAG); |
elf | 991 | fs/binfmt_elf.c | elf.e_ident[EI_CLASS] = ELFCLASS32; |
elf | 992 | fs/binfmt_elf.c | elf.e_ident[EI_DATA] = ELFDATA2LSB; |
elf | 993 | fs/binfmt_elf.c | elf.e_ident[EI_VERSION] = EV_CURRENT; |
elf | 994 | fs/binfmt_elf.c | memset(elf.e_ident+EI_PAD, 0, EI_NIDENT-EI_PAD); |
elf | 996 | fs/binfmt_elf.c | elf.e_type = ET_CORE; |
elf | 997 | fs/binfmt_elf.c | elf.e_machine = EM_386; |
elf | 998 | fs/binfmt_elf.c | elf.e_version = EV_CURRENT; |
elf | 999 | fs/binfmt_elf.c | elf.e_entry = 0; |
elf | 1000 | fs/binfmt_elf.c | elf.e_phoff = sizeof(elf); |
elf | 1001 | fs/binfmt_elf.c | elf.e_shoff = 0; |
elf | 1002 | fs/binfmt_elf.c | elf.e_flags = 0; |
elf | 1003 | fs/binfmt_elf.c | elf.e_ehsize = sizeof(elf); |
elf | 1004 | fs/binfmt_elf.c | elf.e_phentsize = sizeof(struct elf_phdr); |
elf | 1005 | fs/binfmt_elf.c | elf.e_phnum = segs+1; /* Include notes */ |
elf | 1006 | fs/binfmt_elf.c | elf.e_shentsize = 0; |
elf | 1007 | fs/binfmt_elf.c | elf.e_shnum = 0; |
elf | 1008 | fs/binfmt_elf.c | elf.e_shstrndx = 0; |
elf | 1040 | fs/binfmt_elf.c | DUMP_WRITE(&elf, sizeof(elf)); |
elf | 1041 | fs/binfmt_elf.c | offset += sizeof(elf); /* Elf header */ |