/titanic_41/usr/src/common/elfcap/ |
H A D | elfcap.c | 427 size_t len, elfcap_fmt_t fmt, ushort_t mach) in elfcap_hw1_to_str() argument 436 if ((mach == EM_386) || (mach == EM_IA_64) || (mach == EM_AMD64)) in elfcap_hw1_to_str() 440 if ((mach == EM_SPARC) || (mach == EM_SPARC32PLUS) || in elfcap_hw1_to_str() 441 (mach == EM_SPARCV9)) in elfcap_hw1_to_str() 453 size_t len, elfcap_fmt_t fmt, ushort_t mach) in elfcap_hw2_to_str() argument 462 if ((mach == EM_386) || (mach == EM_IA_64) || (mach == EM_AMD64)) in elfcap_hw2_to_str() 478 size_t len, elfcap_fmt_t fmt, ushort_t mach) in elfcap_sf1_to_str() argument 495 char *str, size_t len, elfcap_fmt_t fmt, ushort_t mach) in elfcap_tag_to_str() argument 499 return (elfcap_hw1_to_str(style, val, str, len, fmt, mach)); in elfcap_tag_to_str() 502 return (elfcap_sf1_to_str(style, val, str, len, fmt, mach)); in elfcap_tag_to_str() [all …]
|
/titanic_41/usr/src/cmd/mdb/tools/scripts/ |
H A D | mdb.sh | 36 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/$build [all …]
|
/titanic_41/usr/src/cmd/sgs/libconv/common/ |
H A D | cap_machelf.c | 38 conv_cap(Xword val, char *str, size_t len, Half mach, in conv_cap() argument 58 mach) != 0) in conv_cap() 72 conv_cap_val_hw1(Xword val, Half mach, Conv_fmt_flags_t fmt_flags, in conv_cap_val_hw1() argument 79 mach, fmt_flags, elfcap_hw1_to_str) == 0) in conv_cap_val_hw1() 85 conv_cap_val_hw2(Xword val, Half mach, Conv_fmt_flags_t fmt_flags, in conv_cap_val_hw2() argument 92 mach, fmt_flags, elfcap_hw2_to_str) == 0) in conv_cap_val_hw2() 98 conv_cap_val_sf1(Xword val, Half mach, Conv_fmt_flags_t fmt_flags, in conv_cap_val_sf1() argument 105 mach, fmt_flags, elfcap_sf1_to_str) == 0) in conv_cap_val_sf1() 131 conv_cap_val(Xword tag, Xword val, Half mach, Conv_fmt_flags_t fmt_flags, in conv_cap_val() argument 136 return (conv_cap_val_hw1(val, mach, fmt_flags, in conv_cap_val() [all …]
|
H A D | cap.c | 118 conv_iter_cap_val_hw1(Half mach, Conv_fmt_flags_t fmt_flags, in conv_iter_cap_val_hw1() argument 121 if ((mach == EM_386) || (mach == EM_486) || in conv_iter_cap_val_hw1() 122 (mach == EM_AMD64) || (mach == CONV_MACH_ALL)) in conv_iter_cap_val_hw1() 128 if ((mach == EM_SPARC) || (mach == EM_SPARC32PLUS) || in conv_iter_cap_val_hw1() 129 (mach == EM_SPARCV9) || (mach == CONV_MACH_ALL)) in conv_iter_cap_val_hw1() 140 conv_iter_cap_val_hw2(Half mach, Conv_fmt_flags_t fmt_flags, in conv_iter_cap_val_hw2() argument
|
H A D | symbols.c | 127 conv_sym_info_type_strings(Half mach, Conv_fmt_flags_t fmt_flags) in conv_sym_info_type_strings() argument 177 is_sparc = (mach == EM_SPARC) || (mach == EM_SPARCV9) || in conv_sym_info_type_strings() 178 (mach == EM_SPARC32PLUS) || (mach == CONV_MACH_ALL); in conv_sym_info_type_strings() 204 conv_sym_info_type(Half mach, uchar_t type, Conv_fmt_flags_t fmt_flags, in conv_sym_info_type() argument 207 return (conv_map_ds(ELFOSABI_NONE, mach, type, in conv_sym_info_type() 208 conv_sym_info_type_strings(mach, fmt_flags), fmt_flags, inv_buf)); in conv_sym_info_type() 212 conv_iter_sym_info_type(Half mach, Conv_fmt_flags_t fmt_flags, in conv_iter_sym_info_type() argument 215 return (conv_iter_ds(ELFOSABI_NONE, mach, in conv_iter_sym_info_type() 216 conv_sym_info_type_strings(mach, fmt_flags), func, uvalue)); in conv_iter_sym_info_type() 371 conv_sym_shndx(uchar_t osabi, Half mach, Half shndx, Conv_fmt_flags_t fmt_flags, in conv_sym_shndx() argument [all …]
|
H A D | sections.c | 39 sec_type_strings(conv_iter_osabi_t osabi, Half mach, Conv_fmt_flags_t fmt_flags) in sec_type_strings() argument 305 if ((mach == EM_SPARC) || (mach == EM_SPARC32PLUS) || in sec_type_strings() 306 (mach == EM_SPARCV9) || (mach == CONV_MACH_ALL)) { in sec_type_strings() 323 if ((mach == EM_AMD64) || (mach == CONV_MACH_ALL)) { in sec_type_strings() 348 conv_sec_type(uchar_t osabi, Half mach, Word sec, Conv_fmt_flags_t fmt_flags, in conv_sec_type() argument 351 return (conv_map_ds(osabi, mach, sec, in conv_sec_type() 352 sec_type_strings(osabi, mach, fmt_flags), fmt_flags, inv_buf)); in conv_sec_type() 356 conv_iter_sec_type(conv_iter_osabi_t osabi, Half mach, in conv_iter_sec_type() argument 359 return (conv_iter_ds(osabi, mach, in conv_iter_sec_type() 360 sec_type_strings(osabi, mach, fmt_flags), func, uvalue)); in conv_iter_sec_type() [all …]
|
H A D | symbols_machelf.c | 38 conv_sym_value(Half mach, uchar_t type, Addr value, Conv_inv_buf_t *inv_buf) in conv_sym_value() argument 40 if (((mach == EM_SPARC) || (mach == EM_SPARC32PLUS) || in conv_sym_value() 41 (mach == EM_SPARCV9)) && (type == STT_SPARC_REGISTER)) in conv_sym_value()
|
H A D | relocate.c | 38 conv_reloc_type(Half mach, Word type, Conv_fmt_flags_t fmt_flags, in conv_reloc_type() argument 41 switch (mach) { in conv_reloc_type() 63 conv_reloc_type_static(Half mach, Word type, Conv_fmt_flags_t fmt_flags) in conv_reloc_type_static() argument 67 return (conv_reloc_type(mach, type, fmt_flags, &inv_buf)); in conv_reloc_type_static()
|
H A D | globals.c | 112 map_vd22str(Conv_inv_buf_t *inv_buf, uchar_t osabi, Half mach, in map_vd22str() argument 117 if (CONV_VD2_SKIP(osabi, mach, vdp)) in map_vd22str() 133 _conv_map_ds(uchar_t osabi, Half mach, Conv_elfvalue_t value, in _conv_map_ds() argument 158 return (map_vd22str(inv_buf, osabi, mach, value, in _conv_map_ds() 250 _conv_iter_vd2(conv_iter_osabi_t osabi, Half mach, const Val_desc2 *vdp, in _conv_iter_vd2() argument 254 if (CONV_ITER_VD2_SKIP(osabi, mach, vdp)) in _conv_iter_vd2() 270 _conv_iter_ds(conv_iter_osabi_t osabi, Half mach, const conv_ds_t **dsp, in _conv_iter_ds() argument 294 if (_conv_iter_vd2(osabi, mach, in _conv_iter_ds()
|
H A D | elf.c | 666 conv_ehdr_flags(Half mach, Word flags, Conv_fmt_flags_t fmt_flags, in conv_ehdr_flags() argument 681 if ((mach != EM_SPARCV9) && (((mach != EM_SPARC) && in conv_ehdr_flags() 682 (mach != EM_SPARC32PLUS)) || (flags == 0))) in conv_ehdr_flags() 692 if ((mach == EM_SPARCV9) && (mm <= mm_msg->ds_topval)) { in conv_ehdr_flags() 704 conv_iter_ehdr_flags(Half mach, Conv_fmt_flags_t fmt_flags, conv_iter_cb_t func, in conv_iter_ehdr_flags() argument 708 if ((mach == EM_SPARCV9) || (mach == EM_SPARC) || in conv_iter_ehdr_flags() 709 (mach == EM_SPARC32PLUS) || (mach == CONV_MACH_ALL)) { in conv_iter_ehdr_flags() 715 if (mach == EM_SPARCV9) { in conv_iter_ehdr_flags() 721 if (conv_iter_ds(ELFOSABI_NONE, mach, ds, in conv_iter_ehdr_flags() 927 Half mach) in conv_reject_desc() argument [all …]
|
/titanic_41/usr/src/cmd/sgs/elfedit/common/ |
H A D | elfconst.c | 151 libconv_iter_func_mach_t mach; member 266 libconv_fill_iter(sym_table_ent_t *sym, conv_iter_osabi_t osabi, Half mach, in libconv_fill_iter() argument 285 (void) (* sym->ste_conv_func.mach)(mach, in libconv_fill_iter() 287 (void) (* sym->ste_conv_func.mach)(mach, in libconv_fill_iter() 292 (void) (* sym->ste_conv_func.osabi_mach)(osabi, mach, in libconv_fill_iter() 294 (void) (* sym->ste_conv_func.osabi_mach)(osabi, mach, in libconv_fill_iter() 304 libconv_fill(sym_table_ent_t *sym, conv_iter_osabi_t osabi, Half mach) in libconv_fill() argument 310 libconv_fill_iter(sym, osabi, mach, libconv_count_cb, &fill_state.cnt); in libconv_fill() 332 libconv_fill_iter(sym, osabi, mach, libconv_fill_cb, &fill_state); in libconv_fill() 347 init_libconv_strings(conv_iter_osabi_t *osabi, Half *mach) in init_libconv_strings() argument [all …]
|
/titanic_41/usr/src/cmd/sgs/liblddbg/common/ |
H A D | relocate.c | 34 Dbg_reloc_apply_reg(Lm_list *lml, int caller, Half mach, Xword off, Xword value) in Dbg_reloc_apply_reg() argument 46 Elf_reloc_apply_reg(lml, caller, mach, off, value); in Dbg_reloc_apply_reg() 66 Dbg_reloc_error(Lm_list *lml, int caller, Half mach, Word type, void *reloc, in Dbg_reloc_error() argument 74 Elf_reloc_entry_1(lml, caller, MSG_INTL(MSG_STR_IN), mach, type, reloc, in Dbg_reloc_error() 211 Dbg_reloc_doact(Lm_list *lml, int caller, Half mach, Word type, Rel_desc *rdesc, in Dbg_reloc_doact() argument 231 conv_reloc_type(mach, rdesc->rel_rtype, 0, &inv_buf), in Dbg_reloc_doact() 250 Dbg_reloc_discard(Lm_list *lml, Half mach, Rel_desc *rsp) in Dbg_reloc_discard() argument 265 conv_reloc_type(mach, rsp->rel_rtype, 0, &inv_buf), in Dbg_reloc_discard() 272 Dbg_reloc_transition(Lm_list *lml, Half mach, Word rtype, Rel_desc *rsp, in Dbg_reloc_transition() argument 285 conv_reloc_type(mach, rsp->rel_rtype, 0, &inv_buf1), in Dbg_reloc_transition() [all …]
|
H A D | cap.c | 65 Dbg_cap_val(Lm_list *lml, Syscapset *sys, Syscapset *alt, Half mach) in Dbg_cap_val() argument 87 conv_cap_val_hw2(sys->sc_hw_2, mach, 0, in Dbg_cap_val() 92 conv_cap_val_hw1(sys->sc_hw_1, mach, 0, in Dbg_cap_val() 97 conv_cap_val_sf1(sys->sc_sf_1, mach, 0, in Dbg_cap_val() 113 conv_cap_val_hw2(alt->sc_hw_2, mach, 0, in Dbg_cap_val() 118 conv_cap_val_hw1(alt->sc_hw_1, mach, 0, in Dbg_cap_val() 123 conv_cap_val_sf1(alt->sc_sf_1, mach, 0, in Dbg_cap_val() 154 Half mach) in Dbg_cap_val_entry() argument 163 conv_cap_tag(tag, 0, &inv_buf), conv_cap_val(tag, val, mach, 0, in Dbg_cap_val_entry() 214 Half mach) in Elf_cap_entry() argument [all …]
|
H A D | entry.c | 35 Dbg_ent_entry(Lm_list *lml, uchar_t osabi, Half mach, Ent_desc *enp) in Dbg_ent_entry() argument 54 conv_sec_flags(osabi, mach, enp->ec_attrmask, 0, &buf.sec_flags)); in Dbg_ent_entry() 59 conv_sec_flags(osabi, mach, enp->ec_attrbits, 0, &buf.sec_flags)); in Dbg_ent_entry() 62 conv_sec_type(osabi, mach, enp->ec_type, 0, &buf.inv)); in Dbg_ent_entry() 77 Dbg_ent_print(Lm_list *lml, uchar_t osabi, Half mach, APlist *alp) in Dbg_ent_print() argument 90 Dbg_ent_entry(lml, osabi, mach, enp); in Dbg_ent_print()
|
H A D | shdr.c | 33 Elf_shdr(Lm_list *lml, uchar_t osabi, Half mach, Shdr *shdr) in Elf_shdr() argument 39 conv_sec_flags(osabi, mach, shdr->sh_flags, 0, &sec_flags_buf)); in Elf_shdr() 41 conv_sec_type(osabi, mach, shdr->sh_type, 0, &inv_buf1)); in Elf_shdr() 61 Dbg_shdr_modified(Lm_list *lml, const char *obj, uchar_t osabi, Half mach, in Dbg_shdr_modified() argument 79 Elf_shdr(lml, osabi, mach, oshdr); in Dbg_shdr_modified() 82 Elf_shdr(lml, osabi, mach, nshdr); in Dbg_shdr_modified()
|
H A D | elf.c | 42 Half mach = ehdr->e_machine; in Elf_ehdr() local 59 conv_ehdr_mach(mach, 0, &inv_buf1), in Elf_ehdr() 69 flgs = conv_ehdr_flags(mach, ehdr->e_flags, 0, &flags_buf); in Elf_ehdr() 112 conv_sec_flags(osabi, mach, shdr0->sh_flags, 0, &sec_flags_buf)); in Elf_ehdr() 114 conv_sec_type(osabi, mach, shdr0->sh_type, 0, &inv_buf1)); in Elf_ehdr()
|
H A D | got.c | 128 Elf_got_entry(Lm_list *lml, Sword ndx, Addr addr, Xword value, Half mach, in Elf_got_entry() argument 153 str = conv_reloc_type(mach, in Elf_got_entry() 154 ELF_R_TYPE(rela->r_info, mach), 0, &inv_buf); in Elf_got_entry() 157 str = conv_reloc_type(mach, in Elf_got_entry() 158 ELF_R_TYPE(rel->r_info, mach), 0, &inv_buf); in Elf_got_entry()
|
/titanic_41/usr/src/cmd/sgs/elfwrap/common/ |
H A D | main.c | 55 ushort_t mach = EM_NONE; in main() local 132 mach = EM_SPARCV9; in main() 134 mach = EM_SPARC; in main() 138 mach = EM_AMD64; in main() 140 mach = EM_386; in main() 179 return (output64(prog, fd, ofile, mach, &odesc)); in main() 181 return (output32(prog, fd, ofile, mach, &odesc)); in main()
|
H A D | lintsup.c | 50 output32(const char *prog, int fd, const char *ofile, ushort_t mach, in output32() argument 53 return (output64(prog, fd, ofile, mach, odp)); in output32() 63 output64(const char *prog, int fd, const char *ofile, ushort_t mach, in output64() argument 66 return (output32(prog, fd, ofile, mach, odp)); in output64()
|
/titanic_41/usr/src/cmd/bnu/ |
H A D | uusched.c | 39 char mach[15]; member 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, name);
|
/titanic_41/usr/src/cmd/sgs/packages/common/ |
H A D | bld_awk_pkginfo.ksh | 49 mach="" 61 mach=$OPTARG 76 if [[ ( -z $release ) || ( -z $mach ) || ( -z $awk_script ) \ 114 printf "ARCH=\"%s\"\n", "$mach"
|
/titanic_41/usr/src/cmd/sgs/ld/common/ |
H A D | ld.c | 252 Half *mach) in process_args() argument 471 *mach = (class == ELFCLASS64) ? mach64 : mach32; in process_args() 472 if (*mach == EM_NONE) in process_args() 474 *mach = ar_mach; in process_args() 476 *mach = (class == ELFCLASS64) ? M_MACH_64 : M_MACH_32; in process_args() 665 Half mach; in main() local 693 if (process_args(argc, argv, &class, &ldclass, &mach)) in main() 720 return (ld64_main(argc, argv, mach)); in main() 722 return (ld32_main(argc, argv, mach)); in main()
|
/titanic_41/usr/src/lib/libbc/ |
H A D | Makefile | 70 -$(RM) mach 71 $(SYMLINK) sparc mach 76 include ../Makefile.mach
|
/titanic_41/usr/src/cmd/sgs/tools/ |
H A D | catalog.awk | 51 if ($3 == mach) 55 if ($3 == mach)
|
/titanic_41/usr/src/cmd/drd/ |
H A D | svc-drd | 33 mach=`/sbin/uname -m` 37 if [ $mach = "sun4v" ]; then
|