Home
last modified time | relevance | path

Searched refs:IS_ELF (Results 1 – 24 of 24) sorted by relevance

/freebsd/sys/powerpc/ofw/
H A Dofw_initrd.c98 if (IS_ELF(ehdr)) { in ofw_initrd_probe_and_attach()
/freebsd/usr.bin/gprof/
H A Delf.c71 if (read(fd, &h, sizeof h) != sizeof h || !IS_ELF(h)) { in elf_getnfile()
/freebsd/sys/compat/linux/
H A Dlinux_vdso.c112 MPASS(IS_ELF(*ehdr)); in __elfN()
/freebsd/lib/libkvm/
H A Dkvm_powerpc.c56 if (!IS_ELF(*eh)) in valid_elf_header()
H A Dkvm_powerpc64.c56 if (!IS_ELF(*eh)) in valid_elf_header()
/freebsd/lib/libc/gen/
H A Dnlist.c107 if (IS_ELF(*ehdr) && in __elf_is_okay__()
/freebsd/sys/kern/
H A Dkern_ctf.c120 if (!IS_ELF(*hdr)) { in link_elf_ctf_get()
H A Dlink_elf_obj.c773 if (!IS_ELF(*hdr)) { in link_elf_load_file()
H A Dlink_elf.c1033 if (!IS_ELF(*hdr)) { in link_elf_load_file()
H A Dimgact_elf.c493 if (!IS_ELF(*hdr) || in __elfN()
/freebsd/stand/i386/isoboot/
H A Disoboot.c347 else if (IS_ELF(hdr.eh)) in load()
/freebsd/usr.sbin/crunch/crunchide/
H A Dexec_elf32.c173 if (IS_ELF(eh) == 0 || eh.e_ident[EI_CLASS] != ELFCLASS) in ELFNAMEEND()
/freebsd/libexec/rtld-elf/
H A Dmap_object.c360 if (!IS_ELF(*hdr)) { in check_elf_headers()
/freebsd/stand/i386/boot2/
H A Dboot2.c310 } else if (IS_ELF(hdr.eh)) { in load()
/freebsd/sys/powerpc/powerpc/
H A Dmachdep.c575 if (!IS_ELF(*ehdr)) { in load_external_symtab()
/freebsd/usr.sbin/btxld/
H A Dbtxld.c363 if (hdr->size >= sizeof(Elf32_Ehdr) && IS_ELF(*ee)) { in gethdr()
/freebsd/stand/powerpc/boot1.chrp/
H A Dboot1.c602 if (!IS_ELF(eh)) { in load()
/freebsd/stand/i386/gptboot/
H A Dgptboot.c408 else if (IS_ELF(hdr.eh)) in load()
/freebsd/stand/i386/zfsboot/
H A Dzfsboot.c363 } else if (IS_ELF(hdr.eh)) { in load()
/freebsd/stand/common/
H A Dload_elf_obj.c128 if (!IS_ELF(*hdr)) { in __elfN()
H A Dload_elf.c307 if (!IS_ELF(*ehdr)) { in __elfN()
/freebsd/sys/sys/
H A Delf_common.h190 #define IS_ELF(ehdr) ((ehdr).e_ident[EI_MAG0] == ELFMAG0 && \ macro
/freebsd/usr.bin/gcore/
H A Delfcore.c136 if (!IS_ELF(hdr)) in elf_ident()
/freebsd/usr.bin/elfdump/
H A Delfdump.c603 if (!IS_ELF(*e)) { in main()