Home
last modified time | relevance | path

Searched refs:ELFMAG (Results 1 – 13 of 13) sorted by relevance

/arch/mips/tools/
Delf-entry.c58 if (memcmp(hdr.ehdr32.e_ident, ELFMAG, SELFMAG)) { in main()
Dloongson3-llsc-check.c270 if (memcmp(eh->e_ident, ELFMAG, SELFMAG)) { in main()
/arch/powerpc/boot/
Delf.h131 #define ELFMAG "\177ELF" macro
/arch/s390/kernel/
Dkexec_elf.c124 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0) in s390_elf_probe()
Dcrash_dump.c515 memcpy(ehdr->e_ident, ELFMAG, SELFMAG); in ehdr_init()
/arch/arm/vdso/
Dvdsomunge.c153 if (memcmp(&inhdr->e_ident, ELFMAG, SELFMAG) != 0) in main()
/arch/alpha/boot/tools/
Dobjstrip.c151 if (memcmp(&elf->e_ident[EI_MAG0], ELFMAG, SELFMAG) == 0) { in main()
/arch/mips/vdso/
Dgenvdso.c141 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0) { in map_vdso()
/arch/mips/kernel/
Dvpe.c593 if (memcmp(hdr->e_ident, ELFMAG, SELFMAG) != 0 in vpe_elfload()
830 if (memcmp(hdr->e_ident, ELFMAG, SELFMAG) == 0) { in vpe_release()
/arch/powerpc/platforms/powernv/
Dopal-core.c357 memcpy(elf->e_ident, ELFMAG, SELFMAG); in create_opalcore()
/arch/mips/boot/tools/
Drelocs.c210 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0) in read_ehdr()
/arch/x86/tools/
Drelocs.c345 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0) { in read_ehdr()
/arch/powerpc/kernel/
Dfadump.c958 memcpy(elf->e_ident, ELFMAG, SELFMAG); in fadump_init_elfcore_header()