HomeSort by: relevance | last modified time | path
    Searched refs:e_ident (Results 1 - 25 of 170) sorted by relevancy

1 2 3 4 5 6 7

  /src/sys/arch/hpc/stand/hpcboot/
load_elf.h 55 _eh.e_ident[EI_MAG0] == ELFMAG0 &&
56 _eh.e_ident[EI_MAG1] == ELFMAG1 &&
57 _eh.e_ident[EI_MAG2] == ELFMAG2 &&
58 _eh.e_ident[EI_MAG3] == ELFMAG3;
load.cpp 58 if (header.elf.e_ident[EI_MAG0] == ELFMAG0 &&
59 header.elf.e_ident[EI_MAG1] == ELFMAG1 &&
60 header.elf.e_ident[EI_MAG2] == ELFMAG2 &&
61 header.elf.e_ident[EI_MAG3] == ELFMAG3)
  /src/sys/lib/libsa/
loadfile.c 160 if (memcmp(hdr.elf32.e_ident, ELFMAG, SELFMAG) == 0 &&
161 hdr.elf32.e_ident[EI_CLASS] == ELFCLASS32) {
163 netbsd_elf_data = hdr.elf32.e_ident[EI_DATA];
168 if (memcmp(hdr.elf64.e_ident, ELFMAG, SELFMAG) == 0 &&
169 hdr.elf64.e_ident[EI_CLASS] == ELFCLASS64) {
171 netbsd_elf_data = hdr.elf64.e_ident[EI_DATA];
  /src/external/gpl3/binutils/dist/bfd/
elf64-amdgcn.c 43 osabi = hdr->e_ident[EI_OSABI];
44 osabi_version = hdr->e_ident[EI_ABIVERSION];
elfcore.h 112 if (x_ehdr.e_ident[EI_CLASS] != ELFCLASS)
116 switch (x_ehdr.e_ident[EI_DATA])
155 if (ebd->osabi_exact && i_ehdrp->e_ident[EI_OSABI] != ebd->elf_osabi)
329 || x_ehdr.e_ident[EI_VERSION] != EV_CURRENT
330 || x_ehdr.e_ident[EI_CLASS] != ELFCLASS)
334 switch (x_ehdr.e_ident[EI_DATA])
  /src/external/gpl3/binutils.old/dist/bfd/
elf64-amdgcn.c 43 osabi = hdr->e_ident[EI_OSABI];
44 osabi_version = hdr->e_ident[EI_ABIVERSION];
elfcore.h 113 if (x_ehdr.e_ident[EI_CLASS] != ELFCLASS)
117 switch (x_ehdr.e_ident[EI_DATA])
157 && i_ehdrp->e_ident[EI_OSABI] != ebd->elf_osabi
332 || x_ehdr.e_ident[EI_VERSION] != EV_CURRENT
333 || x_ehdr.e_ident[EI_CLASS] != ELFCLASS)
337 switch (x_ehdr.e_ident[EI_DATA])
  /src/sys/compat/freebsd/
freebsd_exec_elf32.c 69 if ((eh->e_ident[EI_BRAND] == '\0' ||
70 strcmp(&eh->e_ident[EI_BRAND], wantBrand) != 0) &&
71 eh->e_ident[EI_OSABI] != ELFOSABI_FREEBSD)
  /src/external/bsd/elftoolchain/dist/libelf/
gelf_ehdr.c 77 (void) memcpy(d->e_ident, eh32->e_ident,
78 sizeof(eh32->e_ident));
160 (void) memcpy(eh32->e_ident, s->e_ident, sizeof(eh32->e_ident));
libelf_ehdr.c 103 eh->e_ident[EI_MAG0] = ELFMAG0; \
104 eh->e_ident[EI_MAG1] = ELFMAG1; \
105 eh->e_ident[EI_MAG2] = ELFMAG2; \
106 eh->e_ident[EI_MAG3] = ELFMAG3; \
107 eh->e_ident[EI_CLASS] = ELFCLASS##SZ; \
108 eh->e_ident[EI_DATA] = ELFDATANONE; \
109 eh->e_ident[EI_VERSION] = LIBELF_PRIVATE(version) & 0xFFU; \
  /src/sys/arch/emips/stand/common/
bootxx.c 149 (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0) ||
150 (ehdr.e_ident[EI_CLASS] != ELFCLASS32)) {
  /src/sys/arch/mipsco/stand/common/
bootxx.c 139 (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0) ||
140 (ehdr.e_ident[EI_CLASS] != ELFCLASS32)) {
  /src/usr.sbin/mdsetimage/
exec_elf32.c 68 if (memcmp(ehdrp->e_ident, ELFMAG, SELFMAG) != 0 ||
69 ehdrp->e_ident[EI_CLASS] != ELFCLASS)
  /src/external/cddl/osnet/dist/tools/ctf/cvt/
util.c 110 if (ehdr.e_ident[EI_CLASS] == ELFCLASS32)
112 else if (ehdr.e_ident[EI_CLASS] == ELFCLASS64)
115 terminate("unknown ELF class %d\n", ehdr.e_ident[EI_CLASS]);
  /src/sys/arch/pmax/stand/common/
bootxx.c 171 (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0) ||
172 (ehdr.e_ident[EI_CLASS] != ELFCLASS32)) {
  /src/sys/arch/sun3/sun3x/
locore2.c 107 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0 ||
108 ehdr->e_ident[EI_CLASS] != ELFCLASS32) {
  /src/sys/arch/zaurus/stand/zboot/
loadfile_zboot.c 86 if (memcmp(elf32.e_ident, ELFMAG, SELFMAG) == 0 &&
87 elf32.e_ident[EI_CLASS] == ELFCLASS32) {
  /src/external/gpl3/binutils/dist/binutils/
elfedit.c 112 if ((elf_header.e_ident[EI_CLASS] == ELFCLASS32
125 if (elf_header.e_ident[EI_CLASS] == ELFCLASS32)
328 if (elf_header.e_ident[EI_VERSION] != EV_CURRENT)
332 file_name, elf_header.e_ident[EI_VERSION],
341 class = elf_header.e_ident[EI_CLASS];
386 osabi = elf_header.e_ident[EI_OSABI];
397 abiversion = elf_header.e_ident[EI_ABIVERSION];
422 ehdr32.e_ident[EI_OSABI] = output_elf_osabi;
424 ehdr32.e_ident[EI_ABIVERSION] = output_elf_abiversion;
433 ehdr64.e_ident[EI_OSABI] = output_elf_osabi
    [all...]
  /src/external/gpl3/binutils/dist/include/elf/
external.h 53 unsigned char e_ident[16]; /* ELF "magic number" */ member in struct:__anon8117
70 unsigned char e_ident[16]; /* ELF "magic number" */ member in struct:__anon8118
  /src/external/gpl3/binutils.old/dist/binutils/
elfedit.c 112 if ((elf_header.e_ident[EI_CLASS] == ELFCLASS32
125 if (elf_header.e_ident[EI_CLASS] == ELFCLASS32)
328 if (elf_header.e_ident[EI_VERSION] != EV_CURRENT)
332 file_name, elf_header.e_ident[EI_VERSION],
341 class = elf_header.e_ident[EI_CLASS];
386 osabi = elf_header.e_ident[EI_OSABI];
397 abiversion = elf_header.e_ident[EI_ABIVERSION];
422 ehdr32.e_ident[EI_OSABI] = output_elf_osabi;
424 ehdr32.e_ident[EI_ABIVERSION] = output_elf_abiversion;
433 ehdr64.e_ident[EI_OSABI] = output_elf_osabi
    [all...]
  /src/external/gpl3/binutils.old/dist/include/elf/
external.h 53 unsigned char e_ident[16]; /* ELF "magic number" */ member in struct:__anon9581
70 unsigned char e_ident[16]; /* ELF "magic number" */ member in struct:__anon9582
  /src/sys/arch/ews4800mips/stand/common/
bootxx.c 195 if (e->e_ident[EI_MAG2] != 'L' || e->e_ident[EI_MAG3] != 'F' ||
196 e->e_ident[EI_CLASS] != ELFCLASS32 ||
197 e->e_ident[EI_DATA] != ELFDATA2MSB ||
  /src/external/cddl/osnet/dist/lib/libctf/common/
ctf_lib.c 147 bcopy(src->e_ident, dst->e_ident, EI_NIDENT);
281 bcmp(&hdr.e32.e_ident[EI_MAG0], ELFMAG, SELFMAG) == 0) {
293 if (hdr.e32.e_ident[EI_DATA] != order)
298 if (hdr.e32.e_ident[EI_CLASS] == ELFCLASS64) {
311 if (hdr.e32.e_ident[EI_CLASS] == ELFCLASS32) {
346 if (hdr.e32.e_ident[EI_CLASS] == ELFCLASS32) {
  /src/sys/kern/
core_elf32.c 162 memset(&ehdr.e_ident[EI_PAD], 0, sizeof(ehdr.e_ident) - EI_PAD);
163 memcpy(ehdr.e_ident, ELFMAG, SELFMAG);
165 ehdr.e_ident[EI_CLASS] = ELFCLASS32;
167 ehdr.e_ident[EI_CLASS] = ELFCLASS64;
169 ehdr.e_ident[EI_DATA] = ELFDEFNNAME(MACHDEP_ENDIANNESS);
170 ehdr.e_ident[EI_VERSION] = EV_CURRENT;
175 ehdr.e_ident[EI_OSABI] = ELFOSABI_SYSV;
176 ehdr.e_ident[EI_ABIVERSION] = 0;
  /src/external/gpl3/binutils/usr.sbin/dbsym/
dbsym.c 290 * unsigned char e_ident[ELF_NIDENT]; # Id bytes
309 char e_ident[16]; /* XXX MAGIC NUMBER */ member in union:__anon8780
378 if (ehdr.e_ident[EI_MAG0] != ELFMAG0 ||
379 ehdr.e_ident[EI_MAG1] != ELFMAG1 ||
380 ehdr.e_ident[EI_MAG2] != ELFMAG2 ||
381 ehdr.e_ident[EI_MAG3] != ELFMAG3)
388 if (ehdr.e_ident[EI_CLASS] == ELFCLASS64)

Completed in 45 milliseconds

1 2 3 4 5 6 7