Searched defs:osabi (Results 1 - 25 of 28) sorted by relevance

12

/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dphdr.c33 Elf_phdr(Lm_list *lml, uchar_t osabi, Half mach, Phdr *phdr) argument
39 conv_phdr_flags(osabi, phdr->p_flags, 0, &phdr_flags_buf));
41 conv_phdr_type(osabi, mach, phdr->p_type, 0, &inv_buf));
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.c41 uchar_t osabi = ehdr->e_ident[EI_OSABI]; local
62 conv_ehdr_type(osabi, ehdr->e_type, 0, &inv_buf1));
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));
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 Dsegments.c36 Dbg_seg_desc_entry(Lm_list *lml, uchar_t osabi, Half mach, int ndx, argument
52 Elf_phdr(lml, osabi, mach, &sgp->sg_phdr);
119 Dbg_seg_list(Lm_list *lml, uchar_t osabi, Half mach, APlist *apl) argument
131 Dbg_seg_desc_entry(lml, osabi, mach, ndx++, sgp, TRUE);
H A Dmap.c187 Dbg_map_sort_seg(Lm_list *lml, uchar_t osabi, Half mach, Sg_desc *sgp) argument
197 type_str = conv_phdr_type(osabi, mach, sgp->sg_phdr.p_type,
287 Dbg_map_seg_order(Ofl_desc *ofl, uchar_t osabi, Half mach, argument
304 type_str = conv_phdr_type(osabi, mach, sgp->sg_phdr.p_type,
H A Dsyms.c446 uchar_t osabi = ofl->ofl_dehdr->e_ident[EI_OSABI]; local
459 osabi, mach, osym, sdp->sd_aux ? sdp->sd_aux->sa_overndx : 0,
463 osabi, mach, nsym, 0, 0, NULL, ifl->ifl_name);
639 uchar_t osabi, Half mach, Sym *sym, Versym verndx, int gnuver,
656 sec = conv_sym_shndx(osabi, mach, sym->st_shndx,
638 Elf_syms_table_entry(Lm_list *lml, int caller, const char *prestr, uchar_t osabi, Half mach, Sym *sym, Versym verndx, int gnuver, const char *sec, const char *poststr) argument
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Dlintsup.c47 const char *wname, int wfd, uchar_t osabi)
49 return (regular64(file, fd, elf, flags, wname, wfd, osabi));
54 const char *wname, int wfd, uchar_t osabi)
56 return (regular32(file, fd, elf, flags, wname, wfd, osabi));
46 regular32(const char *file, int fd, Elf *elf, uint_t flags, const char *wname, int wfd, uchar_t osabi) argument
53 regular64(const char *file, int fd, Elf *elf, uint_t flags, const char *wname, int wfd, uchar_t osabi) argument
H A Dmain.c548 const char *wname, int wfd, uchar_t osabi)
553 r = regular64(file, fd, elf, flags, wname, wfd, osabi);
555 r = regular32(file, fd, elf, flags, wname, wfd, osabi);
562 const char *wname, int wfd, uchar_t osabi)
704 wname, wfd, osabi) == 1)
709 wname, wfd, osabi) == 1)
735 uchar_t osabi; local
813 * osabi is a uchar_t in the ELF header.
824 osabi = val;
970 ret = archive(file, fd, elf, flags, wname, wfd, osabi);
547 decide(const char *file, int fd, Elf *elf, uint_t flags, const char *wname, int wfd, uchar_t osabi) argument
561 archive(const char *file, int fd, Elf *elf, uint_t flags, const char *wname, int wfd, uchar_t osabi) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/libconv/common/
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,
H A Ddynamic_machelf.c133 conv_dyn_tag(Xword tag, uchar_t osabi, Half mach, Conv_fmt_flags_t fmt_flags, argument
137 return (conv_map_ds(osabi, mach, tag,
138 conv_dyn_tag_strings(osabi, mach, fmt_flags), fmt_flags, inv_buf));
H A Dglobals_machelf.c223 * have a non-zero osabi or machine value that does not match that
257 _conv_expn_field2(CONV_EXPN_FIELD_ARG *arg, uchar_t osabi, Half mach, argument
271 if (CONV_VD2_SKIP(osabi, mach, vdp))
H A Dglobals.c77 * osabi,mach (_conv_vd22str only) - The osab/mach under which
78 * val is to be interpreted. Items with a non-0 osabi or machine
90 * If val is found in the vdp array, and in the osabi version of
91 * this function if the osabi matches, then the string corresponding
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/mac
250 _conv_iter_vd2(conv_iter_osabi_t osabi, Half mach, const Val_desc2 *vdp, conv_iter_cb_t func, void *uvalue, const char *local_sgs_msg) argument
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 Dphdr.c193 conv_phdr_type(uchar_t osabi, Half mach, Word type, Conv_fmt_flags_t fmt_flags, argument
196 return (conv_map_ds(osabi, mach, type,
201 conv_iter_phdr_type(conv_iter_osabi_t osabi, Conv_fmt_flags_t fmt_flags, argument
204 return (conv_iter_ds(osabi, EM_NONE,
268 conv_phdr_flags(uchar_t osabi, Word flags, Conv_fmt_flags_t fmt_flags, argument
279 (void) conv_expn_field2(&conv_arg, osabi, EM_NONE,
286 conv_iter_phdr_flags(conv_iter_osabi_t osabi, Conv_fmt_flags_t fmt_flags, argument
289 if (conv_iter_vd2(osabi, EM_NONE,
H A Dsections.c39 sec_type_strings(conv_iter_osabi_t osabi, Half mach, Conv_fmt_flags_t fmt_flags) argument
43 * three osabi arrays, two machine arrays, plus the NULL termination.
165 /* The Linux osabi range has two separate sequences */
266 if ((osabi == ELFOSABI_NONE) || (osabi == ELFOSABI_SOLARIS) ||
267 (osabi == CONV_OSABI_ALL)) {
284 if ((osabi == ELFOSABI_LINUX) || (osabi == CONV_OSABI_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, mac
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
369 conv_iter_sec_symtab(conv_iter_osabi_t osabi, 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 Dsymbols.c371 conv_sym_shndx(uchar_t osabi, Half mach, Half shndx, Conv_fmt_flags_t fmt_flags, argument
374 return (conv_map_ds(osabi, mach, shndx,
379 conv_iter_sym_shndx(conv_iter_osabi_t osabi, Half mach, argument
401 if (conv_iter_ds(osabi, mach, conv_sym_shndx_strings(fmt_flags),
H A Ddynamic.c420 conv_dyn_tag_strings(conv_iter_osabi_t osabi, Half mach, argument
753 * DT_LOPROC - DT_HIPROC range: Solaris osabi, all hardware
783 osabi_solaris = (osabi == ELFOSABI_NONE) ||
784 (osabi == ELFOSABI_SOLARIS) || (osabi == CONV_OSABI_ALL);
785 osabi_linux = (osabi == ELFOSABI_LINUX) || (osabi == CONV_OSABI_ALL);
791 * apply to the current osabi. Note that we order these items such
883 conv_iter_dyn_tag(conv_iter_osabi_t osabi, Half mach, argument
886 return (conv_iter_ds(osabi, mac
[all...]
H A Delf.c522 conv_ehdr_type(uchar_t osabi, Half etype, Conv_fmt_flags_t fmt_flags, argument
525 return (conv_map_ds(osabi, EM_NONE, etype,
530 conv_iter_ehdr_type(conv_iter_osabi_t osabi, Conv_fmt_flags_t fmt_flags, argument
533 return (conv_iter_ds(osabi, EM_NONE,
833 conv_ehdr_osabi(uchar_t osabi, Conv_fmt_flags_t fmt_flags, argument
836 return (conv_map_ds(ELFOSABI_NONE, EM_NONE, osabi,
865 ehdr_abivers_strings(conv_iter_osabi_t osabi, Conv_fmt_flags_t fmt_flags) argument
898 if ((osabi == ELFOSABI_SOLARIS) || (osabi == CONV_OSABI_ALL))
906 conv_ehdr_abivers(uchar_t osabi, Wor argument
914 conv_iter_ehdr_abivers(conv_iter_osabi_t osabi, Conv_fmt_flags_t fmt_flags, conv_iter_cb_t func, void *uvalue) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Delfconst.c132 STE_LC_OS = 2, /* From libconv, osabi dependency */
134 STE_LC_OS_MACH = 4 /* From libconv, osabi/mach dep. */
150 libconv_iter_func_os_t osabi; member in union:__anon1475
179 * with changes in osabi or machine type.
206 { 0 }, /* 23: EAV osabi version */
266 libconv_fill_iter(sym_table_ent_t *sym, conv_iter_osabi_t osabi, Half mach, argument
278 (void) (* sym->ste_conv_func.osabi)(osabi,
280 (void) (* sym->ste_conv_func.osabi)(osabi,
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
499 static conv_iter_osabi_t osabi; local
[all...]
H A Dutil_machelf.c316 * Compare the a specified osabi with that of the current object.
321 * not return to the caller if osabi is not native.
324 * If current osabi is the one specified, True (1) is returned.
334 elfedit_test_osabi(elfedit_obj_state_t *obj_state, uchar_t osabi, argument
343 if (osabi == obj_osabi)
348 conv_ehdr_osabi(osabi, 0, &inv_buf));
519 * if the osabi is Solaris.
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dphdr.c228 uchar_t osabi = ehdr->e_ident[EI_OSABI]; local
241 EC_WORD(i), conv_phdr_type(osabi,
249 osabi, mach, argstate->ndx, 0, &inv_buf));
352 uchar_t osabi = ehdr->e_ident[EI_OSABI]; local
411 Elf_phdr(0, osabi, mach, phdr);
447 conv_phdr_type(osabi,
486 conv_phdr_flags(osabi, phdr->p_flags,
691 uchar_t osabi = ehdr->e_ident[EI_OSABI]; local
701 conv_phdr_type(osabi, mach, phdr->p_type,
707 conv_phdr_type(osabi, mac
824 uchar_t osabi = ehdr->e_ident[EI_OSABI]; local
[all...]
H A Dshdr.c217 uchar_t osabi = ehdr->e_ident[EI_OSABI]; local
258 Elf_shdr(NULL, osabi, mach, sec->sec_shdr);
284 conv_sec_flags(osabi, mach, shdr->sh_flags,
331 conv_sec_type(osabi, mach, shdr->sh_type, 0,
359 uchar_t osabi = ehdr->e_ident[EI_OSABI]; local
525 conv_sec_flags(osabi, mach,
532 conv_sec_flags(osabi, mach,
534 conv_sec_flags(osabi, mach,
708 conv_sec_type(osabi, mach, shdr->sh_type,
715 conv_sec_type(osabi, mac
[all...]
H A Dsym.c252 uchar_t osabi = obj_state->os_ehdr->e_ident[EI_OSABI]; local
284 Elf_syms_table_entry(NULL, ELF_DBG_ELFDUMP, index, osabi, mach,
1148 * is considered to be a symbol table by the current osabi,
H A Ddyn.c662 uchar_t osabi = ehdr->e_ident[EI_OSABI]; local
669 conv_dyn_tag(dt_value, osabi, mach, 0, &want),
671 osabi, mach, 0, &is));
1280 uchar_t osabi = ehdr->e_ident[EI_OSABI]; local
1289 EC_WORD(ndx), conv_dyn_tag(d_tag, osabi,
1311 osabi, mach, 0, &inv_buf1));
1327 conv_dyn_tag(d_tag, osabi,
1335 conv_dyn_tag(d_tag, osabi,
1343 conv_dyn_tag(orig_d_tag, osabi, mach, 0,
1345 conv_dyn_tag(d_tag, osabi, mac
[all...]

Completed in 120 milliseconds

12