Home
last modified time | relevance | path

Searched refs:e_machine (Results 1 – 25 of 86) sorted by relevance

1234

/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Di386_elf.h15 (EM_CURRENT_64_PRESENT && ((x).e_machine == EM_X86_64))
28 (((x).e_machine == EM_386) || ((x).e_machine == EM_486))
H A Delf.h168 Elf32_Half e_machine; /* Machine architecture. */ member
185 Elf64_Half e_machine; /* Machine architecture. */ member
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dsyms.c236 ofl->ofl_dehdr->e_ident[EI_OSABI], ofl->ofl_dehdr->e_machine, sym, in Dbg_syms_entered()
289 ofl->ofl_dehdr->e_machine, sym, 0, 0, NULL, in Dbg_syms_cap_convert()
310 ofl->ofl_dehdr->e_machine, sym, in Dbg_syms_cap_local()
371 ofl->ofl_dehdr->e_ident[EI_OSABI], ofl->ofl_dehdr->e_machine, in Dbg_syms_ignore()
384 ofl->ofl_dehdr->e_ident[EI_OSABI], ofl->ofl_dehdr->e_machine, in Dbg_syms_old()
400 ofl->ofl_dehdr->e_ident[EI_OSABI], ofl->ofl_dehdr->e_machine, sym, in Dbg_syms_new()
420 ofl->ofl_dehdr->e_ident[EI_OSABI], ofl->ofl_dehdr->e_machine, in Dbg_syms_updated()
440 Half mach = ofl->ofl_dehdr->e_machine; in Dbg_syms_resolving()
471 ofl->ofl_dehdr->e_machine, sdp->sd_sym, in Dbg_syms_resolved()
511 ofl->ofl_dehdr->e_ident[EI_OSABI], ofl->ofl_dehdr->e_machine, in Dbg_syms_copy_reloc()
[all …]
H A Dmap.c118 ofl->ofl_dehdr->e_ident[EI_OSABI], ofl->ofl_dehdr->e_machine, in Dbg_map_size_old()
135 ofl->ofl_dehdr->e_ident[EI_OSABI], ofl->ofl_dehdr->e_machine, in Dbg_map_symbol()
245 ofl->ofl_dehdr->e_machine, enp); in Dbg_map_ent()
282 ofl->ofl_dehdr->e_machine, ndx, sgp, FALSE); in Dbg_map_seg()
H A Dsegments.c112 ofl->ofl_dehdr->e_machine, ndx, sgp, TRUE); in Dbg_seg_entry()
157 ofl->ofl_dehdr->e_machine, osp->os_shdr); in Dbg_seg_os()
/illumos-gate/usr/src/cmd/abi/appcert/scripts/
H A DAppcertUtil.pm1213 my ($abi, $e_machine, $type, $wordsize, $endian, $rest);
1216 $e_machine = 'unknown';
1252 $e_machine = 'SPARC';
1269 $e_machine = 'SPARC';
1272 $e_machine = 'SPARC32PLUS';
1275 $e_machine = 'SPARCV9';
1281 $e_machine = 'AMD64';
1284 $e_machine = '80386';
1288 return ($abi, $type, $wordsize, $endian, $e_machine);
/illumos-gate/usr/src/cmd/sgs/ld/common/
H A Dld.c145 Half e_machine; /* target machine */ member
240 *mach_ret = ehdr->e_machine; in archive()
247 *mach_ret = ehdr->e_machine; in archive()
462 hdr.ehdr.e_machine : in process_args()
463 BSWAP_HALF(hdr.ehdr.e_machine); in process_args()
/illumos-gate/usr/src/cmd/sgs/ldd/common/
H A Dldd.c392 if ((ehdr.e_machine != M_MACH_32) && (ehdr.e_machine != M_MACH_64) && in elf_check()
393 (ehdr.e_machine != M_MACHPLUS)) { in elf_check()
395 conv_ehdr_mach(ehdr.e_machine, 0, &inv_buf)); in elf_check()
418 if ((ehdr.e_machine != M_MACH) && in elf_check()
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddw_elfstructs.h63 TYP(e_machine,2);
81 TYP(e_machine,2);
H A Ddwarf_elfstructs.h71 TYP(e_machine,2);
89 TYP(e_machine,2);
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Drelocate.c108 conv_reloc_type(ifl->ifl_ehdr->e_machine, in is_disp_copied()
166 conv_reloc_type(ifl->ifl_ehdr->e_machine, in is_disp_copied()
195 conv_reloc_type(ifl->ifl_ehdr->e_machine, in is_disp_copied()
1357 conv_reloc_type(ifl->ifl_ehdr->e_machine, in reloc_relobj()
1402 Half mach = ifl->ifl_ehdr->e_machine; in reloc_TLS()
1612 conv_reloc_type(ifl->ifl_ehdr->e_machine, rtype, in ld_process_sym_reloc()
1630 conv_reloc_type(ifl->ifl_ehdr->e_machine, in ld_process_sym_reloc()
1851 conv_reloc_type(ifl->ifl_ehdr->e_machine, in sloppy_comdat_reloc()
1862 conv_reloc_type(ifl->ifl_ehdr->e_machine, in sloppy_comdat_reloc()
2026 ifl->ifl_ehdr->e_machine, in process_reld()
[all …]
H A Dresolve.c293 conv_sym_info_type(ofl->ofl_dehdr->e_machine, otype, 0, &inv_buf1), in sym_typecheck()
295 conv_sym_info_type(ofl->ofl_dehdr->e_machine, ntype, 0, &inv_buf2)); in sym_typecheck()
573 conv_sym_info_type(ofl->ofl_dehdr->e_machine, otype, in sym_tworeals()
575 conv_sym_info_type(ofl->ofl_dehdr->e_machine, ntype, in sym_tworeals()
595 conv_sym_info_type(ofl->ofl_dehdr->e_machine, otype, in sym_tworeals()
597 conv_sym_info_type(ofl->ofl_dehdr->e_machine, ntype, in sym_tworeals()
694 conv_sym_info_type(ofl->ofl_dehdr->e_machine, otype, in sym_realtent()
696 conv_sym_info_type(ofl->ofl_dehdr->e_machine, ntype, in sym_realtent()
735 conv_sym_info_type(ofl->ofl_dehdr->e_machine, otype, in sym_realtent()
737 conv_sym_info_type(ofl->ofl_dehdr->e_machine, ntype, in sym_realtent()
H A Dldmain.c173 def_ehdr.e_machine = ld_targ.t_m.m_mach; in ld_main()
258 ofl->ofl_dehdr->e_ident[EI_OSABI], ofl->ofl_dehdr->e_machine, in ld_main()
261 ofl->ofl_dehdr->e_ident[EI_OSABI], ofl->ofl_dehdr->e_machine, in ld_main()
H A Dmachsym.sparc.c141 sdp->sd_file->ifl_ehdr->e_machine, otype, in ld_mach_sym_typecheck_sparc()
143 conv_sym_info_type(ifl->ifl_ehdr->e_machine, in ld_mach_sym_typecheck_sparc()
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Delfconst.c383 *mach = state.elf.obj_state.s32->os_ehdr->e_machine; in init_libconv_strings()
386 *mach = state.elf.obj_state.s64->os_ehdr->e_machine; in init_libconv_strings()
447 cur_mach = state.elf.obj_state.s32->os_ehdr->e_machine; in invalidate_libconv_strings()
450 cur_mach = state.elf.obj_state.s64->os_ehdr->e_machine; in invalidate_libconv_strings()
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Di386-elf.h71 Elf32_Half e_machine; /* machine types */ member
100 & (h.e_machine == EM_386) & (h.e_version == EV_CURRENT))
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Delfdump.c500 Elf_shdr(0, osabi, ehdr->e_machine, shdr); in sections()
1008 ehdr->e_machine, _cache, file); in unwind()
1558 ehdr->e_machine); in cap_section()
1904 ehdr->e_machine, icache, file); in interp()
2614 conv_sec_type(osabi, ehdr->e_machine, in sunw_sort()
2739 Half mach = ehdr->e_machine; in reloc()
3509 osabi, ehdr->e_machine); in dynamic()
3863 conv_ehdr_mach(ehdr->e_machine, in note_entry()
4498 ehdr->e_machine); in got()
4504 ehdr->e_machine); in got()
[all …]
H A Ddwarf.c45 Half e_machine; /* ehdr->e_machine */ member
217 dwarf_regname(state->e_machine, _rnum, _buf, sizeof (_buf)) in dump_cfi()
687 uint64_t sh_addr, Half e_machine, uchar_t *e_ident, uint64_t gotaddr) in dump_eh_frame() argument
701 cfi_state.e_machine = e_machine; in dump_eh_frame()
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dehdr.c450 conv_ehdr_mach(ehdr->e_machine, 0, &inv_buf)); in print_ehdr()
453 EC_WORD(ehdr->e_machine)); in print_ehdr()
486 conv_ehdr_flags(ehdr->e_machine, ehdr->e_flags, in print_ehdr()
797 if (ehdr->e_machine == mach) { in cmd_body()
800 conv_ehdr_mach(ehdr->e_machine, 0, in cmd_body()
805 conv_ehdr_mach(ehdr->e_machine, 0, in cmd_body()
809 ehdr->e_machine = mach; in cmd_body()
929 conv_ehdr_flags(ehdr->e_machine, in cmd_body()
934 conv_ehdr_flags(ehdr->e_machine, in cmd_body()
936 conv_ehdr_flags(ehdr->e_machine, in cmd_body()
H A Dcap.c467 argstate->obj_state->os_ehdr->e_machine); in print_cap()
497 e_machine, CONV_FMT_NOBKT, in print_cap()
508 e_machine, CONV_FMT_NOBKT, in print_cap()
516 e_machine, CONV_FMT_NOBKT, in print_cap()
524 e_machine, CONV_FMT_NOBKT, in print_cap()
541 e_machine, CONV_FMT_NOBKT, in print_cap()
739 Half mach = argstate->obj_state->os_ehdr->e_machine; in cap_set()
/illumos-gate/usr/src/uts/common/fs/objfs/
H A Dobjfs_data.c629 ehdr.e_machine = EM_SPARCV9; in objfs_data_read()
631 ehdr.e_machine = EM_SPARC; in objfs_data_read()
634 ehdr.e_machine = EM_AMD64; in objfs_data_read()
636 ehdr.e_machine = EM_386; in objfs_data_read()
/illumos-gate/usr/src/uts/sparc/os/
H A Darchdep.c166 Elf32_Half e_machine, in elfheadcheck() argument
175 switch (e_machine) { in elfheadcheck()
/illumos-gate/usr/src/lib/libc/sparc/crt/
H A D_rtld.c158 if ((ehdr->e_machine != EM_SPARC) && in __rtld()
159 (ehdr->e_machine != EM_SPARC32PLUS)) in __rtld()
/illumos-gate/usr/src/cmd/sgs/dump/common/
H A Ddump.c373 conv_reloc_type(p_ehdr->e_machine, in print_rela()
468 conv_reloc_type(p_ehdr->e_machine, in print_rel()
607 conv_sym_info_type(p_ehdr.e_machine, type, in print_symtab()
616 p_ehdr.e_machine, shndx, in print_symtab()
677 p_ehdr.e_ident[EI_OSABI], p_ehdr.e_machine, in print_shdr()
1124 p_ehdr.e_ident[EI_OSABI], p_ehdr.e_machine, in dump_dynamic()
1363 field, (int)elf_head_p->e_type, (int)elf_head_p->e_machine, in dump_elf_header()
1377 conv_ehdr_mach(elf_head_p->e_machine, DUMP_CONVFMT, in dump_elf_header()
/illumos-gate/usr/src/uts/intel/amd64/krtld/
H A Dkobj_isa.c45 (h->e_machine == EM_AMD64)); in elf_mach_ok()

1234