Searched refs:mach (Results 1 - 25 of 94) sorted by relevance

1234

/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dsymbols_machelf.c38 conv_sym_value(Half mach, uchar_t type, Addr value, Conv_inv_buf_t *inv_buf) argument
40 if (((mach == EM_SPARC) || (mach == EM_SPARC32PLUS) ||
41 (mach == EM_SPARCV9)) && (type == STT_SPARC_REGISTER))
H A Drelocate.c38 conv_reloc_type(Half mach, Word type, Conv_fmt_flags_t fmt_flags, argument
41 switch (mach) {
63 conv_reloc_type_static(Half mach, Word type, Conv_fmt_flags_t fmt_flags) argument
67 return (conv_reloc_type(mach, type, fmt_flags, &inv_buf));
H A Dcap_machelf.c38 conv_cap(Xword val, char *str, size_t len, Half mach, argument
58 mach) != 0)
72 conv_cap_val_hw1(Xword val, Half mach, Conv_fmt_flags_t fmt_flags, argument
79 mach, fmt_flags, elfcap_hw1_to_str) == 0)
85 conv_cap_val_hw2(Xword val, Half mach, Conv_fmt_flags_t fmt_flags, argument
92 mach, fmt_flags, elfcap_hw2_to_str) == 0)
98 conv_cap_val_sf1(Xword val, Half mach, Conv_fmt_flags_t fmt_flags, argument
105 mach, fmt_flags, elfcap_sf1_to_str) == 0)
131 conv_cap_val(Xword tag, Xword val, Half mach, Conv_fmt_flags_t fmt_flags, argument
136 return (conv_cap_val_hw1(val, mach, fmt_flag
[all...]
H A Dcap.c118 conv_iter_cap_val_hw1(Half mach, Conv_fmt_flags_t fmt_flags, argument
121 if ((mach == EM_386) || (mach == EM_486) ||
122 (mach == EM_AMD64) || (mach == CONV_MACH_ALL))
128 if ((mach == EM_SPARC) || (mach == EM_SPARC32PLUS) ||
129 (mach == EM_SPARCV9) || (mach == CONV_MACH_ALL))
140 conv_iter_cap_val_hw2(Half mach, Conv_fmt_flags_ argument
[all...]
H A Dsymbols.c127 conv_sym_info_type_strings(Half mach, Conv_fmt_flags_t fmt_flags) argument
177 is_sparc = (mach == EM_SPARC) || (mach == EM_SPARCV9) ||
178 (mach == EM_SPARC32PLUS) || (mach == CONV_MACH_ALL);
204 conv_sym_info_type(Half mach, uchar_t type, Conv_fmt_flags_t fmt_flags, argument
207 return (conv_map_ds(ELFOSABI_NONE, mach, type,
208 conv_sym_info_type_strings(mach, fmt_flags), fmt_flags, inv_buf));
212 conv_iter_sym_info_type(Half mach, Conv_fmt_flags_t fmt_flags, argument
215 return (conv_iter_ds(ELFOSABI_NONE, mach,
371 conv_sym_shndx(uchar_t osabi, Half mach, Half shndx, Conv_fmt_flags_t fmt_flags, Conv_inv_buf_t *inv_buf) argument
379 conv_iter_sym_shndx(conv_iter_osabi_t osabi, Half mach, Conv_fmt_flags_t fmt_flags, conv_iter_cb_t func, void *uvalue) argument
[all...]
H A Dsections.c39 sec_type_strings(conv_iter_osabi_t osabi, Half mach, Conv_fmt_flags_t fmt_flags) argument
305 if ((mach == EM_SPARC) || (mach == EM_SPARC32PLUS) ||
306 (mach == EM_SPARCV9) || (mach == CONV_MACH_ALL)) {
323 if ((mach == EM_AMD64) || (mach == CONV_MACH_ALL)) {
348 conv_sec_type(uchar_t osabi, Half mach, Word sec, Conv_fmt_flags_t fmt_flags, argument
351 return (conv_map_ds(osabi, mach, sec,
352 sec_type_strings(osabi, mach, fmt_flag
356 conv_iter_sec_type(conv_iter_osabi_t osabi, Half mach, Conv_fmt_flags_t fmt_flags, conv_iter_cb_t func, void *uvalue) argument
479 conv_iter_sec_flags(conv_iter_osabi_t osabi, Half mach, Conv_fmt_flags_t fmt_flags, conv_iter_cb_t func, void *uvalue) argument
[all...]
H A Dglobals.c77 * osabi,mach (_conv_vd22str only) - The osab/mach under which
112 map_vd22str(Conv_inv_buf_t *inv_buf, uchar_t osabi, Half mach, argument
117 if (CONV_VD2_SKIP(osabi, mach, vdp))
133 _conv_map_ds(uchar_t osabi, Half mach, Conv_elfvalue_t value, argument
158 return (map_vd22str(inv_buf, osabi, mach, value,
215 * osabi,mach (_conv_iter_vd2 only) - The osabi/mach for which
250 _conv_iter_vd2(conv_iter_osabi_t osabi, Half mach, const Val_desc2 *vdp, argument
254 if (CONV_ITER_VD2_SKIP(osabi, mach, vd
270 _conv_iter_ds(conv_iter_osabi_t osabi, Half mach, const conv_ds_t **dsp, conv_iter_cb_t func, void *uvalue, const char *local_sgs_msg) argument
[all...]
H A Dsections_machelf.c40 conv_sec_flags(uchar_t osabi, Half mach, Xword flags, argument
52 (void) conv_expn_field2(&conv_arg, osabi, mach,
/illumos-gate/usr/src/cmd/sgs/tools/
H A Dcatalog.awk51 if ($3 == mach)
55 if ($3 == mach)
/illumos-gate/usr/src/cmd/drd/
H A Dsvc-drd33 mach=`/sbin/uname -m`
37 if [ $mach = "sun4v" ]; then
/illumos-gate/usr/src/cmd/mdb/tools/scripts/
H A Dmdb.sh36 mach=`/usr/bin/uname -p` # Machine type
45 if [ -n "$CODEMGR_WS" -a -x $CODEMGR_WS/proto/root_$mach/usr/bin/mdb ]; then
46 mdb_exec=$CODEMGR_WS/proto/root_$mach/usr/bin/mdb
47 root=$CODEMGR_WS/proto/root_$mach
50 root=$mdb_lib/$mach/%R/%V
62 root=$mdb_lib/$mach/%R/%V
63 elif [ -x $mdb_ws/proto/root_$mach/usr/bin/mdb ]; then
64 mdb_exec=$mdb_ws/proto/root_$mach/usr/bin/mdb
65 root=$mdb_lib/$mach/%R/%V
126 [ -n "$build" ] && root=$mdb_lib/$mach/
[all...]
/illumos-gate/usr/src/cmd/mach/
H A DMakefile28 PROG= mach
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dentry.c35 Dbg_ent_entry(Lm_list *lml, uchar_t osabi, Half mach, Ent_desc *enp) argument
54 conv_sec_flags(osabi, mach, enp->ec_attrmask, 0, &buf.sec_flags));
59 conv_sec_flags(osabi, mach, enp->ec_attrbits, 0, &buf.sec_flags));
62 conv_sec_type(osabi, mach, enp->ec_type, 0, &buf.inv));
77 Dbg_ent_print(Lm_list *lml, uchar_t osabi, Half mach, APlist *alp) argument
90 Dbg_ent_entry(lml, osabi, mach, enp);
H A Dshdr.c33 Elf_shdr(Lm_list *lml, uchar_t osabi, Half mach, Shdr *shdr) argument
39 conv_sec_flags(osabi, mach, shdr->sh_flags, 0, &sec_flags_buf));
41 conv_sec_type(osabi, mach, shdr->sh_type, 0, &inv_buf1));
61 Dbg_shdr_modified(Lm_list *lml, const char *obj, uchar_t osabi, Half mach, argument
79 Elf_shdr(lml, osabi, mach, oshdr);
82 Elf_shdr(lml, osabi, mach, nshdr);
H A Dphdr.c33 Elf_phdr(Lm_list *lml, uchar_t osabi, Half mach, Phdr *phdr) argument
41 conv_phdr_type(osabi, mach, phdr->p_type, 0, &inv_buf));
H A Dcap.c65 Dbg_cap_val(Lm_list *lml, Syscapset *sys, Syscapset *alt, Half mach) argument
87 conv_cap_val_hw2(sys->sc_hw_2, mach, 0,
92 conv_cap_val_hw1(sys->sc_hw_1, mach, 0,
97 conv_cap_val_sf1(sys->sc_sf_1, mach, 0,
113 conv_cap_val_hw2(alt->sc_hw_2, mach, 0,
118 conv_cap_val_hw1(alt->sc_hw_1, mach, 0,
123 conv_cap_val_sf1(alt->sc_sf_1, mach, 0,
154 Half mach)
163 conv_cap_tag(tag, 0, &inv_buf), conv_cap_val(tag, val, mach, 0,
214 Half mach)
153 Dbg_cap_val_entry(Lm_list *lml, dbg_state_t dbg_state, Xword tag, Xword val, Half mach) argument
213 Elf_cap_entry(Lm_list *lml, Cap *cap, int ndx, const char *str, size_t str_size, Half mach) argument
[all...]
H A Drelocate.c34 Dbg_reloc_apply_reg(Lm_list *lml, int caller, Half mach, Xword off, Xword value) argument
46 Elf_reloc_apply_reg(lml, caller, mach, off, value);
66 Dbg_reloc_error(Lm_list *lml, int caller, Half mach, Word type, void *reloc, argument
74 Elf_reloc_entry_1(lml, caller, MSG_INTL(MSG_STR_IN), mach, type, reloc,
211 Dbg_reloc_doact(Lm_list *lml, int caller, Half mach, Word type, Rel_desc *rdesc, argument
231 conv_reloc_type(mach, rdesc->rel_rtype, 0, &inv_buf),
250 Dbg_reloc_discard(Lm_list *lml, Half mach, Rel_desc *rsp) argument
265 conv_reloc_type(mach, rsp->rel_rtype, 0, &inv_buf),
272 Dbg_reloc_transition(Lm_list *lml, Half mach, Word rtype, Rel_desc *rsp, argument
285 conv_reloc_type(mach, rs
308 Dbg_reloc_in(Lm_list *lml, int caller, Half mach, Word type, void *reloc, const char *secname, Word secndx, const char *symname) argument
359 Dbg_reloc_ors_entry(Lm_list *lml, int caller, Word type, Half mach, Rel_desc *orsp) argument
401 Dbg_reloc_ars_entry(Lm_list *lml, int caller, Word type, Half mach, Rel_desc *arsp) argument
424 Dbg_reloc_entry(Lm_list *lml, const char *prestr, Half mach, Word type, void *reloc, const char *secname, const char *symname, const char *poststr) argument
658 Elf_reloc_entry_1(Lm_list *lml, int caller, const char *prestr, Half mach, Word type, void *reloc, const char *secname, const char *symname, const char *poststr) argument
699 Elf_reloc_apply_reg(Lm_list *lml, int caller, Half mach, Xword offset, Xword value) argument
[all...]
H A Ddynamic.c45 uchar_t osabi, Half mach)
52 conv_dyn_tag(dyn->d_tag, osabi, mach, 0, &inv_buf),
44 Elf_dyn_entry(Lm_list *lml, Dyn *dyn, int ndx, const char *name, uchar_t osabi, Half mach) argument
H A Delf.c42 Half mach = ehdr->e_machine; local
59 conv_ehdr_mach(mach, 0, &inv_buf1),
69 flgs = conv_ehdr_flags(mach, ehdr->e_flags, 0, &flags_buf);
112 conv_sec_flags(osabi, mach, shdr0->sh_flags, 0, &sec_flags_buf));
114 conv_sec_type(osabi, mach, shdr0->sh_type, 0, &inv_buf1));
/illumos-gate/usr/src/common/elfcap/
H A Delfcap.c511 size_t len, elfcap_fmt_t fmt, ushort_t mach)
520 if ((mach == EM_386) || (mach == EM_IA_64) || (mach == EM_AMD64))
524 if ((mach == EM_SPARC) || (mach == EM_SPARC32PLUS) ||
525 (mach == EM_SPARCV9))
537 size_t len, elfcap_fmt_t fmt, ushort_t mach)
546 if ((mach == EM_386) || (mach
510 elfcap_hw1_to_str(elfcap_style_t style, elfcap_mask_t val, char *str, size_t len, elfcap_fmt_t fmt, ushort_t mach) argument
536 elfcap_hw2_to_str(elfcap_style_t style, elfcap_mask_t val, char *str, size_t len, elfcap_fmt_t fmt, ushort_t mach) argument
561 elfcap_sf1_to_str(elfcap_style_t style, elfcap_mask_t val, char *str, size_t len, elfcap_fmt_t fmt, ushort_t mach) argument
578 elfcap_tag_to_str(elfcap_style_t style, uint64_t tag, elfcap_mask_t val, char *str, size_t len, elfcap_fmt_t fmt, ushort_t mach) argument
630 elfcap_sf1_from_str(elfcap_style_t style, const char *str, ushort_t mach) argument
636 elfcap_hw1_from_str(elfcap_style_t style, const char *str, ushort_t mach) argument
648 elfcap_hw2_from_str(elfcap_style_t style, const char *str, ushort_t mach) argument
661 elfcap_tag_from_str(elfcap_style_t style, uint64_t tag, const char *str, ushort_t mach) argument
[all...]
/illumos-gate/usr/src/cmd/ldmad/
H A Dldoms-agents33 mach=`/sbin/uname -m`
35 if [ "$mach" != "sun4v" ]; then
/illumos-gate/usr/src/cmd/sgs/elfwrap/common/
H A Dmain.c55 ushort_t mach = EM_NONE; local
125 * for the output object. If no target is specified, we leave "mach" as
132 mach = EM_SPARCV9;
134 mach = EM_SPARC;
138 mach = EM_AMD64;
140 mach = EM_386;
179 return (output64(prog, fd, ofile, mach, &odesc));
181 return (output32(prog, fd, ofile, mach, &odesc));
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Delfconst.c133 STE_LC_MACH = 3, /* From libconv, mach dependency */
134 STE_LC_OS_MACH = 4 /* From libconv, osabi/mach dep. */
151 libconv_iter_func_mach_t mach; member in union:__anon1520
266 libconv_fill_iter(sym_table_ent_t *sym, conv_iter_osabi_t osabi, Half mach, argument
285 (void) (* sym->ste_conv_func.mach)(mach,
287 (void) (* sym->ste_conv_func.mach)(mach,
292 (void) (* sym->ste_conv_func.osabi_mach)(osabi, mach,
294 (void) (* sym->ste_conv_func.osabi_mach)(osabi, mach,
304 libconv_fill(sym_table_ent_t *sym, conv_iter_osabi_t osabi, Half mach) argument
347 init_libconv_strings(conv_iter_osabi_t *osabi, Half *mach) argument
427 invalidate_libconv_strings(conv_iter_osabi_t *osabi, Half *mach) argument
500 static Half mach; local
[all...]
/illumos-gate/usr/src/cmd/bnu/
H A Duusched.c39 char mach[15]; member in struct:m
151 M[UUSTAT_TBL].mach[0] = NULLCHAR;
154 for (num=0, m=M; m->mach[0] != '\0'; m++, num++) {
155 DEBUG(5, "machine: %s, ", M[num].mach);
176 (void) strcpy(Rmtname, M[snumber].mach);
217 for (m = M; m->mach[0] != '\0'; m++)
219 if (EQUALSN(name, m->mach, MAXBASENAME)) {
225 if (namelen > strlen(m->mach))
226 (void) strcpy(m->mach, name);
245 (void) strcpy(m->mach, nam
[all...]
/illumos-gate/usr/src/lib/
H A Dreq.flg29 echo_file usr/src/lib/Makefile.mach

Completed in 10484 milliseconds

1234