Searched refs:EI_DATA (Results 1 - 25 of 38) sorted by relevance

12

/linux-master/arch/powerpc/boot/
H A Delf_util.c26 elf64->e_ident[EI_DATA] == ELFDATA2LSB &&
28 elf64->e_ident[EI_DATA] == ELFDATA2MSB &&
61 elf32->e_ident[EI_DATA] == ELFDATA2MSB &&
H A Delf.h122 #define EI_DATA 5 macro
139 #define ELFDATANONE 0 /* e_ident[EI_DATA] */
H A Daddnote.c102 #define EI_DATA 5 macro
145 e_data = buf[E_IDENT+EI_DATA];
/linux-master/tools/objtool/include/objtool/
H A Dendianness.h18 (elf->ehdr.e_ident[EI_DATA] == ELFDATA2LSB);
/linux-master/tools/testing/selftests/kvm/lib/
H A Delf.c52 && (ident[EI_DATA] == ELFDATA2LSB))
54 && (ident[EI_DATA] == ELFDATA2MSB)), "Current "
61 " ident[EI_DATA]: %u\n"
65 ident[EI_DATA], ELFDATA2LSB, ELFDATA2MSB);
/linux-master/scripts/mod/
H A Dmk_elfconfig.c31 switch (ei[EI_DATA]) {
/linux-master/arch/mips/tools/
H A Delf-entry.c65 switch (hdr.ehdr32.e_ident[EI_DATA]) {
82 switch (hdr.ehdr32.e_ident[EI_DATA]) {
H A Dloongson3-llsc-check.c280 if (eh->e_ident[EI_DATA] != ELFDATA2LSB) {
/linux-master/kernel/
H A Dkexec_elf.c31 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB)
33 else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB)
41 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB)
43 else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB)
51 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB)
53 else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB)
138 } else if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB &&
139 ehdr->e_ident[EI_DATA] != ELFDATA2MSB) {
H A Dcrash_core.c194 ehdr->e_ident[EI_DATA] = ELFDATA2LSB;
/linux-master/arch/mips/boot/tools/
H A Drelocs.c163 if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB)
171 if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB)
179 if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB)
191 if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB)
216 if ((ehdr.e_ident[EI_DATA] != ELFDATA2LSB) &&
217 (ehdr.e_ident[EI_DATA] != ELFDATA2MSB))
/linux-master/arch/arm64/kernel/pi/
H A Drelacheck.c72 swap = ehdr->e_ident[EI_DATA] != HOST_ORDER;
/linux-master/arch/mips/vdso/
H A Dgenvdso.c160 switch (ehdr->e_ident[EI_DATA]) {
163 need_swap = ehdr->e_ident[EI_DATA] != HOST_ORDER;
/linux-master/scripts/
H A Dsorttable.c274 switch (ehdr->e_ident[EI_DATA]) {
293 ehdr->e_ident[EI_DATA], fname);
H A Drecordmcount.c524 switch (ehdr->e_ident[EI_DATA]) {
528 ehdr->e_ident[EI_DATA], fname);
H A Dinsert-sys-cert.c336 if (hdr->e_ident[EI_DATA] != endianness()) {
/linux-master/arch/s390/tools/
H A Drelocs.c82 if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB)
90 if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB)
126 if (ehdr.e_ident[EI_DATA] != ELF_ENDIAN)
/linux-master/arch/arm/vdso/
H A Dvdsomunge.c159 swap = inhdr->e_ident[EI_DATA] != HOST_ORDER;
/linux-master/drivers/remoteproc/
H A Dremoteproc_elf_helpers.h34 hdr->e_ident[EI_DATA] = ELFDATA2LSB;
H A Dremoteproc_elf_loader.c82 if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB) {
84 if (ehdr->e_ident[EI_DATA] != ELFDATA2MSB) {
/linux-master/arch/arm64/kvm/hyp/nvhe/
H A Dgen-hyprel.c287 assert_eq(elf.ehdr->e_ident[EI_DATA], ELFENDIAN, "%u");
/linux-master/tools/perf/util/
H A Dsymbol-minimal.c110 need_swap = check_need_swap(e_ident[EI_DATA]);
H A Dgenelf.c283 ehdr->e_ident[EI_DATA] = GEN_ELF_ENDIAN;
/linux-master/include/uapi/linux/
H A Delf.h339 #define EI_DATA 5 macro
356 #define ELFDATANONE 0 /* e_ident[EI_DATA] */
/linux-master/arch/mips/boot/
H A Delf2ecoff.c315 if (ex.e_ident[EI_DATA] == ELFDATA2MSB)

Completed in 279 milliseconds

12