Searched refs:e_ident (Results 1 - 25 of 58) sorted by relevance

123

/haiku-buildtools/binutils/gold/
H A Dbinary.cc276 unsigned char e_ident[elfcpp::EI_NIDENT]; local
277 memset(e_ident, 0, elfcpp::EI_NIDENT);
278 e_ident[elfcpp::EI_MAG0] = elfcpp::ELFMAG0;
279 e_ident[elfcpp::EI_MAG1] = elfcpp::ELFMAG1;
280 e_ident[elfcpp::EI_MAG2] = elfcpp::ELFMAG2;
281 e_ident[elfcpp::EI_MAG3] = elfcpp::ELFMAG3;
283 e_ident[elfcpp::EI_CLASS] = elfcpp::ELFCLASS32;
285 e_ident[elfcpp::EI_CLASS] = elfcpp::ELFCLASS64;
288 e_ident[elfcpp::EI_DATA] = (big_endian
291 e_ident[elfcp
[all...]
H A Dtarget.cc232 unsigned char e_ident[elfcpp::EI_NIDENT]; local
233 memcpy(e_ident, ehdr.get_e_ident(), elfcpp::EI_NIDENT);
235 e_ident[elfcpp::EI_OSABI] = osabi;
238 oehdr.put_e_ident(e_ident);
H A Ddwp.cc2106 unsigned char e_ident[elfcpp::EI_NIDENT]; local
2107 memset(e_ident, 0, elfcpp::EI_NIDENT);
2108 e_ident[elfcpp::EI_MAG0] = elfcpp::ELFMAG0;
2109 e_ident[elfcpp::EI_MAG1] = elfcpp::ELFMAG1;
2110 e_ident[elfcpp::EI_MAG2] = elfcpp::ELFMAG2;
2111 e_ident[elfcpp::EI_MAG3] = elfcpp::ELFMAG3;
2113 e_ident[elfcpp::EI_CLASS] = elfcpp::ELFCLASS32;
2115 e_ident[elfcpp::EI_CLASS] = elfcpp::ELFCLASS64;
2118 e_ident[elfcpp::EI_DATA] = (big_endian
2121 e_ident[elfcp
[all...]
H A Doutput.cc505 unsigned char e_ident[elfcpp::EI_NIDENT]; local
506 memset(e_ident, 0, elfcpp::EI_NIDENT);
507 e_ident[elfcpp::EI_MAG0] = elfcpp::ELFMAG0;
508 e_ident[elfcpp::EI_MAG1] = elfcpp::ELFMAG1;
509 e_ident[elfcpp::EI_MAG2] = elfcpp::ELFMAG2;
510 e_ident[elfcpp::EI_MAG3] = elfcpp::ELFMAG3;
512 e_ident[elfcpp::EI_CLASS] = elfcpp::ELFCLASS32;
514 e_ident[elfcpp::EI_CLASS] = elfcpp::ELFCLASS64;
517 e_ident[elfcpp::EI_DATA] = (big_endian
520 e_ident[elfcp
[all...]
/haiku-buildtools/legacy/binutils/include/elf/
H A Dexternal.h41 unsigned char e_ident[16]; /* ELF "magic number" */ member in struct:__anon2823
58 unsigned char e_ident[16]; /* ELF "magic number" */ member in struct:__anon2824
H A Dinternal.h42 #define EI_NIDENT 16 /* Size of e_ident[] */
45 unsigned char e_ident[EI_NIDENT]; /* ELF "magic number" */ member in struct:elf_internal_ehdr
/haiku-buildtools/binutils/binutils/
H A Delfedit.c95 if (elf_header.e_ident[EI_MAG0] != ELFMAG0
96 || elf_header.e_ident[EI_MAG1] != ELFMAG1
97 || elf_header.e_ident[EI_MAG2] != ELFMAG2
98 || elf_header.e_ident[EI_MAG3] != ELFMAG3)
106 if (elf_header.e_ident[EI_VERSION] != EV_CURRENT)
110 file_name, elf_header.e_ident[EI_VERSION],
119 class = elf_header.e_ident[EI_CLASS];
164 osabi = elf_header.e_ident[EI_OSABI];
188 ehdr32.e_ident[EI_OSABI] = output_elf_osabi;
197 ehdr64.e_ident[EI_OSAB
[all...]
H A Dreadelf.c707 && elf_header.e_ident[EI_OSABI] == ELFOSABI_OPENVMS;
906 && elf_header.e_ident[EI_DATA] != ELFDATA2MSB)
1002 && elf_header.e_ident[EI_DATA] != ELFDATA2MSB)
1065 || (elf_header.e_ident[EI_OSABI] == ELFOSABI_NONE));
1607 && elf_header.e_ident[EI_OSABI] == ELFOSABI_HPUX
2101 if (elf_header.e_ident[EI_OSABI] == ELFOSABI_SOLARIS)
2128 if (elf_header.e_ident[EI_OSABI] == ELFOSABI_SOLARIS)
3460 if (elf_header.e_ident[EI_OSABI] == ELFOSABI_OPENVMS)
3835 if (elf_header.e_ident[EI_OSABI] == ELFOSABI_SOLARIS)
4132 if (elf_header.e_ident[EI_OSAB
[all...]
/haiku-buildtools/binutils/include/elf/
H A Dexternal.h53 unsigned char e_ident[16]; /* ELF "magic number" */ member in struct:__anon768
70 unsigned char e_ident[16]; /* ELF "magic number" */ member in struct:__anon769
H A Dinternal.h65 #define EI_NIDENT 16 /* Size of e_ident[] */
68 unsigned char e_ident[EI_NIDENT]; /* ELF "magic number" */ member in struct:elf_internal_ehdr
/haiku-buildtools/gcc/libbacktrace/
H A Delf.c138 unsigned char e_ident[EI_NIDENT]; /* ELF "magic number" */ member in struct:__anon248
568 if (ehdr.e_ident[EI_MAG0] != ELFMAG0
569 || ehdr.e_ident[EI_MAG1] != ELFMAG1
570 || ehdr.e_ident[EI_MAG2] != ELFMAG2
571 || ehdr.e_ident[EI_MAG3] != ELFMAG3)
576 if (ehdr.e_ident[EI_VERSION] != EV_CURRENT)
588 if (ehdr.e_ident[EI_CLASS] != BACKTRACE_ELFCLASS)
594 if (ehdr.e_ident[EI_DATA] != ELFDATA2LSB
595 && ehdr.e_ident[EI_DATA] != ELFDATA2MSB)
829 ehdr.e_ident[EI_DAT
[all...]
/haiku-buildtools/legacy/binutils/bfd/
H A Delfcore.h101 if (x_ehdr.e_ident[EI_CLASS] != ELFCLASS)
105 switch (x_ehdr.e_ident[EI_DATA])
H A Delfcode.h232 memcpy (dst->e_ident, src->e_ident, EI_NIDENT);
261 memcpy (dst->e_ident, src->e_ident, EI_NIDENT);
457 return ((x_ehdrp->e_ident[EI_MAG0] == ELFMAG0)
458 && (x_ehdrp->e_ident[EI_MAG1] == ELFMAG1)
459 && (x_ehdrp->e_ident[EI_MAG2] == ELFMAG2)
460 && (x_ehdrp->e_ident[EI_MAG3] == ELFMAG3));
523 || x_ehdr.e_ident[EI_VERSION] != EV_CURRENT
524 || x_ehdr.e_ident[EI_CLAS
[all...]
H A Delf64-hppa.c384 if (i_ehdrp->e_ident[EI_OSABI] != ELFOSABI_LINUX
385 && i_ehdrp->e_ident[EI_OSABI] != ELFOSABI_NONE) /* aka SYSV */
392 if (i_ehdrp->e_ident[EI_OSABI] != ELFOSABI_HPUX
393 && i_ehdrp->e_ident[EI_OSABI] != ELFOSABI_NONE) /* aka SYSV */
405 if (i_ehdrp->e_ident[EI_CLASS] == ELFCLASS64)
1211 i_ehdrp->e_ident[EI_OSABI] = ELFOSABI_LINUX;
1215 i_ehdrp->e_ident[EI_OSABI] = ELFOSABI_HPUX;
1216 i_ehdrp->e_ident[EI_ABIVERSION] = 1;
H A Delf-eh-frame.c223 ptr_size = (elf_elfheader (abfd)->e_ident[EI_CLASS]
776 ptr_size = (elf_elfheader (sec->owner)->e_ident[EI_CLASS]
1157 return elf_elfheader (abfd)->e_ident[EI_CLASS] == ELFCLASS64 ? 8 : 4;
H A Delf32-hppa.c929 if (i_ehdrp->e_ident[EI_OSABI] != ELFOSABI_LINUX &&
930 i_ehdrp->e_ident[EI_OSABI] != ELFOSABI_NONE) /* aka SYSV */
937 if (i_ehdrp->e_ident[EI_OSABI] != ELFOSABI_NETBSD &&
938 i_ehdrp->e_ident[EI_OSABI] != ELFOSABI_NONE) /* aka SYSV */
943 if (i_ehdrp->e_ident[EI_OSABI] != ELFOSABI_HPUX)
4224 i_ehdrp->e_ident[EI_OSABI] = ELFOSABI_LINUX;
4228 i_ehdrp->e_ident[EI_OSABI] = ELFOSABI_NETBSD;
4232 i_ehdrp->e_ident[EI_OSABI] = ELFOSABI_HPUX;
/haiku-buildtools/binutils/bfd/
H A Delfcode.h241 memcpy (dst->e_ident, src->e_ident, EI_NIDENT);
270 memcpy (dst->e_ident, src->e_ident, EI_NIDENT);
475 return ((x_ehdrp->e_ident[EI_MAG0] == ELFMAG0)
476 && (x_ehdrp->e_ident[EI_MAG1] == ELFMAG1)
477 && (x_ehdrp->e_ident[EI_MAG2] == ELFMAG2)
478 && (x_ehdrp->e_ident[EI_MAG3] == ELFMAG3));
520 || x_ehdr.e_ident[EI_VERSION] != EV_CURRENT
521 || x_ehdr.e_ident[EI_CLAS
[all...]
H A Delfcore.h104 if (x_ehdr.e_ident[EI_CLASS] != ELFCLASS)
108 switch (x_ehdr.e_ident[EI_DATA])
H A Delf32-visium.c727 i_ehdrp->e_ident[EI_OSABI] = ELFOSABI_STANDALONE;
728 i_ehdrp->e_ident[EI_ABIVERSION] = 1;
H A Delf64-hppa.c331 if (i_ehdrp->e_ident[EI_OSABI] != ELFOSABI_GNU
332 && i_ehdrp->e_ident[EI_OSABI] != ELFOSABI_NONE) /* aka SYSV */
339 if (i_ehdrp->e_ident[EI_OSABI] != ELFOSABI_HPUX
340 && i_ehdrp->e_ident[EI_OSABI] != ELFOSABI_NONE) /* aka SYSV */
352 if (i_ehdrp->e_ident[EI_CLASS] == ELFCLASS64)
1133 i_ehdrp->e_ident[EI_OSABI] = get_elf_backend_data (abfd)->elf_osabi;
1134 i_ehdrp->e_ident[EI_ABIVERSION] = 1;
/haiku-buildtools/binutils/elfcpp/
H A Delfcpp_internal.h49 unsigned char e_ident[EI_NIDENT]; member in struct:elfcpp::internal::Ehdr_data
/haiku-buildtools/binutils/libiberty/
H A Dsimple-object-elf.c50 unsigned char e_ident[16]; /* ELF "magic number" */ member in struct:__anon1028
69 unsigned char e_ident[16]; /* ELF "magic number" */ member in struct:__anon1029
85 /* Indexes and values in e_ident field of Ehdr. */
/haiku-buildtools/gcc/libiberty/
H A Dsimple-object-elf.c50 unsigned char e_ident[16]; /* ELF "magic number" */ member in struct:__anon2168
69 unsigned char e_ident[16]; /* ELF "magic number" */ member in struct:__anon2169
85 /* Indexes and values in e_ident field of Ehdr. */
/haiku-buildtools/legacy/binutils/binutils/
H A Dreadelf.c886 if (elf_header.e_ident[EI_DATA] != ELFDATA2MSB)
1213 && elf_header.e_ident[EI_OSABI] == ELFOSABI_HPUX
3079 if ( elf_header.e_ident[EI_MAG0] != ELFMAG0
3080 || elf_header.e_ident[EI_MAG1] != ELFMAG1
3081 || elf_header.e_ident[EI_MAG2] != ELFMAG2
3082 || elf_header.e_ident[EI_MAG3] != ELFMAG3)
3096 printf ("%2.2x ", elf_header.e_ident[i]);
3099 get_elf_class (elf_header.e_ident[EI_CLASS]));
3101 get_data_encoding (elf_header.e_ident[EI_DATA]));
3103 elf_header.e_ident[EI_VERSIO
[all...]
/haiku-buildtools/binutils/opcodes/
H A Driscv-dis.c417 xlen = ehdr->e_ident[EI_CLASS] == ELFCLASS64 ? 64 : 32;

Completed in 218 milliseconds

123