Home
last modified time | relevance | path

Searched refs:EI_MAG0 (Results 1 – 25 of 37) sorted by relevance

12

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Di386-elf.h36 #define EI_MAG0 0 macro
96 ((h.e_ident[EI_MAG0] == ELFMAG0) & (h.e_ident[EI_MAG1] == ELFMAG1) \
/illumos-gate/usr/src/tools/btxld/
H A Delfh.h32 #define IS_ELF(ehdr) ((ehdr).e_ident[EI_MAG0] == ELFMAG0 && \
/illumos-gate/usr/src/uts/i86pc/dboot/
H A Ddboot_elfload.c57 if (ident[EI_MAG0] != ELFMAG0 || ident[EI_MAG1] != ELFMAG1 || in getehdr()
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_elf_defines.h853 #ifndef EI_MAG0
854 #define EI_MAG0 0 macro
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Delf.h111 #define EI_MAG0 0 macro
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_bargs.c79 (memcmp(&ident[EI_MAG0], ELFMAG, 4) == 0) && in get_kernel_fd()
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Delf.c47 dbg_print(lml, MSG_ORIG(MSG_ELF_MAGIC), byte[EI_MAG0], in Elf_ehdr()
/illumos-gate/usr/src/tools/elfextract/
H A Delfextract.c247 if (ident[EI_MAG0] != ELFMAG0 || ident[EI_MAG1] != ELFMAG1 || in main()
/illumos-gate/usr/src/tools/mbh_patch/
H A Dmbh_patch.c302 if (ident[EI_MAG0] != ELFMAG0 || ident[EI_MAG1] != ELFMAG1 || in main()
/illumos-gate/usr/src/boot/sys/sys/
H A Delf_common.h120 #define EI_MAG0 0 /* Magic number, byte 0. */ macro
182 #define IS_ELF(ehdr) ((ehdr).e_ident[EI_MAG0] == ELFMAG0 && \
/illumos-gate/usr/src/lib/libc/i386/crt/
H A D_rtld.c149 if (ehdr->e_ident[EI_MAG0] != ELFMAG0 || in __rtld()
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dbegin.c142 (base[EI_MAG0] == ELFMAG0) && in _elf_config()
H A Dupdate.c174 p[EI_MAG0] = ELFMAG0; in _elf_upd_lib()
357 p[EI_MAG0] = ELFMAG0; in _elf_upd_usr()
/illumos-gate/usr/src/lib/libc/sparc/crt/
H A D_rtld.c148 if (ehdr->e_ident[EI_MAG0] != ELFMAG0 || in __rtld()
/illumos-gate/usr/src/lib/libm/common/m9x/
H A D__fex_sym.c119 if (h.e_ident[EI_MAG0] != ELFMAG0 || in __fex_read_syms()
/illumos-gate/usr/src/cmd/mdb/common/modules/krtld/
H A Dkrtld.c146 ehdr->e_ident[EI_MAG0], ehdr->e_ident[EI_MAG1], in dump_ehdr()
/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_arg.c99 } else if ((is_noelf = memcmp(&ehdr.e_ident[EI_MAG0], ELFMAG, in open_core()
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dehdr.c304 case EI_MAG0: in print_ehdr()
394 case EI_MAG0: in print_ehdr()
1189 int ei_ndx = (cmd - EHDR_CMD_T_EI_MAG0) + EI_MAG0; in cmd_body()
H A Dehdr.msg446 is found in the e_ident[EI_MAG0] field of the ELF header.\n\
449 e_ident[EI_MAG0] is shown. If called with the value argument,\n\
450 the e_ident[EI_MAG0] field is updated with the new value.\n\
452 Note: Changing the e_ident[EI_MAG0] field of the ELF header\n\
/illumos-gate/usr/src/cmd/sgs/ld/common/
H A Dld.c436 if ((hdr.ehdr.e_ident[EI_MAG0] == ELFMAG0) && in process_args()
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Delf.c680 CONV_DS_MSG_INIT(EI_MAG0, eident_cf) }; in ehdr_eident_strings()
682 CONV_DS_MSG_INIT(EI_MAG0, eident_nf) }; in ehdr_eident_strings()
H A Delf.msg439 @ MSG_EI_MAG0_CF "EI_MAG0" # 0
/illumos-gate/usr/src/uts/common/sys/
H A Delf.h107 #define EI_MAG0 0 /* e_ident[] indexes */ macro
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_link.c476 elf_file.ehdr.e_ident[EI_MAG0] = ELFMAG0; in dump_elf32()
613 elf_file.ehdr.e_ident[EI_MAG0] = ELFMAG0; in dump_elf64()
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm_upgrade.c176 if (ident[EI_MAG0] != ELFMAG0 || ident[EI_MAG1] != ELFMAG1 || in get_boot_cap()

12