Home
last modified time | relevance | path

Searched refs:Word (Results 1 – 25 of 134) sorted by relevance

123456

/illumos-gate/usr/src/cmd/sgs/include/
H A Drtc.h110 Word ch_hash; /* hash table offset */
111 Word ch_obj; /* object table offset */
112 Word ch_str; /* string table offset */
113 Word ch_file; /* file entries */
114 Word ch_dir; /* directory entries */
140 Word co_hash; /* name hash value */
170 Word cd_obj; /* index to Rtc_obj */
171 Word cd_file; /* index to Rtc_file[] */
175 Word cf_obj; /* index to Rtc_obj */
193 Word env_flags; /* various flags */
[all …]
H A Dlibld.h57 #define SYM_NOHASH (~(Word)0)
109 Word rc_cnt; /* and count */
247 typedef Word ofl_guideflag_t;
266 Word ofl_objscnt; /* and count */
268 Word ofl_arscnt; /* and count */
274 Word ofl_soscnt; /* and count */
659 Word rel_rtype; /* relocation type */
935 Word is_flags; /* Various flags */
1119 Word ec_type; /* section type */
1395 Word sdf_flags;
[all …]
H A Ddebug.h799 extern void Dbg_bind_plt_summary(Lm_list *, Half, Word, Word, Word, Word,
800 Word, Word);
906 Word, Lineno);
934 extern void Dbg_reloc_dooutrel(Lm_list *, Word);
939 extern void Dbg_reloc_generate(Lm_list *, Os_desc *, Word);
941 Word, const char *);
974 Word, Shdr *, Shdr *, const char *);
1009 extern void Dbg_syms_entry(Lm_list *, Word, Sym_desc *);
1010 extern void Dbg_syms_global(Lm_list *, Word, const char *);
1174 uchar_t, uchar_t, Word, void *, const char *);
[all …]
H A Dconv.h822 extern const char *conv_cnote_auxv_af(Word, Conv_fmt_flags_t,
824 extern const char *conv_cnote_auxv_type(Word, Conv_fmt_flags_t,
830 extern const char *conv_cnote_fault(Word, Conv_fmt_flags_t,
836 extern const char *conv_cnote_pr_dmodel(Word, Conv_fmt_flags_t,
844 extern const char *conv_cnote_pr_stype(Word, Conv_fmt_flags_t,
860 extern const char *conv_cnote_signal(Word, Conv_fmt_flags_t,
868 extern const char *conv_cnote_syscall(Word, Conv_fmt_flags_t,
876 extern const char *conv_cnote_type(Word, Conv_fmt_flags_t,
903 extern const char *conv_ehdr_vers(Word, Conv_fmt_flags_t,
917 extern const char *conv_mapfile_version(Word, Conv_fmt_flags_t,
[all …]
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A D_libld.h114 Word id_bss;
115 Word id_cap;
124 Word id_got;
132 Word id_plt;
133 Word id_rel;
139 Word id_tls;
202 Word (* mr_init_rel)(Rel_desc *, Word *, void *);
883 Sym_desc *, Gotndx *, Gotref, Word, Word,
884 Word, Word);
886 extern Word ld_bswap_Word(Word);
[all …]
H A Dmachrel.intel.c92 static Word
184 *(Word *)gotent = ld_bswap_Word(*(Word *)gotent); in plt_entry()
198 *(Word *)pltent = (Word)got_off; in plt_entry()
202 *(Word *)pltent = ld_bswap_Word(*(Word *)pltent); in plt_entry()
208 *(Word *)pltent = (Word)rel_off; in plt_entry()
211 *(Word *)pltent = ld_bswap_Word(*(Word *)pltent); in plt_entry()
218 *(Word *)pltent = (Word)plt_off; in plt_entry()
221 *(Word *)pltent = ld_bswap_Word(*(Word *)pltent); in plt_entry()
1509 *(Word *)genptr = (Word)sdp->sd_sym->st_value; in ld_fillin_gotplt()
1562 *(Word *)pltent = (Word)(M_GOT_XLINKMAP * in ld_fillin_gotplt()
[all …]
H A Dmachrel.sparc.c103 static Word
423 *(Word *)pltent = ld_bswap_Word(*(Word *)pltent); in plt_entry()
437 *(Word *)pltent = ld_bswap_Word(*(Word *)pltent); in plt_entry()
447 *(Word *)pltent = ld_bswap_Word(*(Word *)pltent); in plt_entry()
457 *(Word *)pltent = ld_bswap_Word(*(Word *)pltent); in plt_entry()
467 *(Word *)pltent = ld_bswap_Word(*(Word *)pltent); in plt_entry()
477 *(Word *)pltent = ld_bswap_Word(*(Word *)pltent); in plt_entry()
487 *(Word *)pltent = ld_bswap_Word(*(Word *)pltent); in plt_entry()
497 *(Word *)pltent = ld_bswap_Word(*(Word *)pltent); in plt_entry()
546 *(Word *)pltent = ld_bswap_Word(*(Word *)pltent); in plt_entry()
[all …]
H A Dgroups.c101 Word *data; in ld_get_group()
167 Word *new_data = NULL; in ld_group_process()
203 (gshdr->sh_info >= (Word)(sshdr->sh_size / sshdr->sh_entsize)) || in ld_group_process()
243 gd.gd_cnt = gisc->is_indata->d_size / sizeof (Word); in ld_group_process()
261 Word gndx = gd.gd_data[ndx]; in ld_group_process()
287 if ((new_data = libld_calloc(sizeof (Word), in ld_group_process()
296 sizeof (Word) * gd.gd_cnt); in ld_group_process()
310 (gd.gd_cnt - (ndx + 1)) * sizeof (Word)); in ld_group_process()
313 gisc->is_indata->d_size -= sizeof (Word); in ld_group_process()
314 gisc->is_shdr->sh_size -= sizeof (Word); in ld_group_process()
H A Dupdate.c100 Word *symsort, Word n, const char *secname) in dynsort_dupwarn()
103 Word ndx, cmp_ndx; in dynsort_dupwarn()
407 Word sectndx; in update_osym()
1239 Word sectndx; in update_osym()
1531 Word _symndx; in update_osym()
2144 Word cnt; in update_odynamic()
2835 Word num = 0; in update_overneed()
3119 *((Word *)taddr) = (Word)mvp->m_value; in expand_move()
3137 Word ndx = 0; in update_move()
3285 Word *gdata; in update_ogroup()
[all …]
H A Dorder.c121 inline static Word
122 is_keyshndx_ok(Ifl_desc *ifl, Word keyshndx) in is_keyshndx_ok()
169 validate_shf_ordered_dest(Ofl_desc *ofl, Ifl_desc *ifl, Word ndx, in validate_shf_ordered_dest()
172 Word shnum = ifl->ifl_shnum; in validate_shf_ordered_dest()
173 Word isp1_ndx, isp2_ndx; in validate_shf_ordered_dest()
293 Word ndx) in ld_process_ordered()
298 Word keyshndx; in ld_process_ordered()
393 Word key = 1; in ld_sec_validate()
437 Word ndx1, ndx2; in comp()
H A D_map.h252 Word ms_shndx; /* SHN_UNDEF / mapfile set sec index */
259 Word ms_dft_flag; /* 0, or type of filter in ms_filtee */
339 extern Boolean ld_map_cap_sanitize(Mapfile *, Word, Capmask *);
340 extern void ld_map_cap_set_ovflag(Mapfile *, Word);
347 extern Sg_desc *ld_map_seg_alloc(const char *, Word, sg_flags_t);
350 Word, const char *);
362 ld_map_sym_t *, Word, const char *);
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Dutil_machelf.c118 Word
122 Word ndx; in elfedit_name_to_shndx()
153 Word
158 Word ndx; in elfedit_type_to_shndx()
370 Word cnt; in elfedit_sec_getcap()
452 Word cnt; in elfedit_sec_getsyminfo()
572 Word ndx; in elfedit_sec_getsymtab()
648 Word ndx; in elfedit_sec_getxshndx()
870 Word i; in elfedit_dynstr_getpad()
913 Word
[all …]
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Delfdump.c211 Word strn; in string()
508 getphdr(Word phnum, Word *type_arr, Word type_cnt, const char *file, Elf *elf, in getphdr()
1139 output_symbol(SYMTBL_STATE *state, Word symndx, Word info, Word disp_symndx, in output_symbol()
1592 Word gndx = (Word)ELF_C_GROUP(*cip); in cap_section()
1671 Word gndx = (Word)ELF_C_GROUP(*cip); in cap_section()
1840 Word cnt; in interp()
2127 Word cnt; in version_def()
2676 Word cnt; in reloc()
3007 Word cnt; in dynamic()
3722 (sizeof (Word) - 1)) & ~(sizeof (Word) - 1); in parse_note_entry()
[all …]
H A Dstruct_layout.c82 Word
93 return ((Word) v.sld_i8); in sl_extract_as_word()
95 return ((Word) v.sld_i16); in sl_extract_as_word()
97 return ((Word) v.sld_i32); in sl_extract_as_word()
99 return ((Word) v.sld_i64); in sl_extract_as_word()
104 return ((Word) v.sld_ui8); in sl_extract_as_word()
106 return ((Word) v.sld_ui16); in sl_extract_as_word()
108 return ((Word) v.sld_ui32); in sl_extract_as_word()
110 return ((Word) v.sld_ui64); in sl_extract_as_word()
H A Dfake_shdr.c152 Word sh_type;
153 Word sh_flags;
154 Word sh_addralign;
155 Word sh_entsize;
611 Word *nbucket, Word *nchain, size_t *total) in hash_size()
614 Word buf[2]; in hash_size()
637 read_verdef(FSTATE *fstate, Off offset, Half *cnt, Word *aux, Word *next) in read_verdef()
697 read_verneed(FSTATE *fstate, Off offset, Half *cnt, Word *aux, Word *next) in read_verneed()
782 int (* read_main)(FSTATE *, Off, Half *, Word *, Word *); in verdefneed_size()
1398 Word nbucket; in fake_shdr_cache()
[all …]
/illumos-gate/usr/src/uts/common/exec/elf/
H A Delf_notes.c100 + roundup(sizeof (psinfo_t), sizeof (Word)) in setup_note_header()
101 + roundup(sizeof (pstatus_t), sizeof (Word)) in setup_note_header()
102 + roundup(prgetprivsize(), sizeof (Word)) in setup_note_header()
104 + roundup(strlen(platform) + 1, sizeof (Word)) in setup_note_header()
107 + roundup(sizeof (utsname), sizeof (Word)) in setup_note_header()
109 + roundup(sizeof (prsecflags_t), sizeof (Word)) in setup_note_header()
117 roundup(sizeof (psinfo_t), sizeof (Word)); in setup_note_header()
128 roundup(sizeof (prcred_t), sizeof (Word)); in setup_note_header()
143 + nlwp * roundup(size, sizeof (Word)); in setup_note_header()
157 roundup(size, sizeof (Word)); in setup_note_header()
[all …]
H A Dold_notes.c74 + roundup(sizeof (prpsinfo_t), sizeof (Word)) in setup_old_note_header()
75 + roundup(strlen(platform) + 1, sizeof (Word)) in setup_old_note_header()
77 sizeof (Word)) in setup_old_note_header()
78 + nlwp * roundup(sizeof (prstatus_t), sizeof (Word)); in setup_old_note_header()
81 nlwp * roundup(sizeof (prfpregset_t), sizeof (Word)); in setup_old_note_header()
/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Dconfig.c65 Word *hashtbl, *hashbkt, *hashchn, hashbkts = 0; in genconfig()
79 size = S_ROUND(sizeof (Rtc_head), sizeof (Word)); in genconfig()
120 sizeof (Word)); in genconfig()
127 sizeof (Word)); in genconfig()
136 sizeof (Word)); in genconfig()
146 sizeof (Word)); in genconfig()
149 sizeof (Word)); in genconfig()
286 Word hashval; in genconfig()
358 Word hashval; in genconfig()
453 Word hashval; in genconfig()
[all …]
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dcap.c335 Word i; in process_args()
598 static Word
699 static Word
735 cap_set(ARGSTATE *argstate, Cap *cap, Word ndx, Word cap_ndx, in cap_set()
784 Word ndx; in cmd_body()
886 Word c_tag = (Word) elfedit_atoconst(argstate.argv[1], in cmd_body()
977 Word cnt; in cmd_body()
978 Word dstndx; in cmd_body()
990 Word max; in cmd_body()
1082 Word num; in cpl_capid_opt()
[all …]
H A Ddyn.c186 static Word
190 Word ndx; in convert_dt_null()
622 static Word
626 Word ndx; in arg_to_index()
769 Word i; in cmd_body_value()
773 Word tmp_val; in cmd_body_value()
970 Word i; in cmd_body_runpath()
1089 static Word
1135 Word ndx; in cmd_body()
1372 Word cnt; in cmd_body()
[all …]
H A Dstr.c125 Word n;
146 shtype_to_strtab(Word sh_type, Word sh_flags) in shtype_to_strtab()
198 static Word
252 Word ndx; in process_args()
430 Word ndx; in print_strtab()
622 Word count; in cmd_body_zero()
625 Word i; in cmd_body_zero()
753 Word ndx; in cpl_sh_opt()
824 Word ndx; in cpl_sec_str()
852 Word i; in cpl_sec_str()
[all …]
H A Dsyminfo.c118 Word n;
123 Word n;
131 Word n;
257 dump_syminfo(ARGSTATE *argstate, Word ndx, Word cnt) in dump_syminfo()
314 Word ndx, Word cnt) in print_syminfo()
430 static Word
433 Word symndx; in arg_to_symndx()
468 Word null_cnt; in needed_to_boundto()
470 Word str_offset, ndx, numdyn; in needed_to_boundto()
572 Word ndx; in cmd_body()
[all …]
H A Dphdr.c137 Word ndx; /* Index of header if cmd */
229 Word i; in process_args()
277 Word i; in locate_interp()
354 Word ndx, cnt, by_type, type; in print_phdr()
516 Word i, j; in cmd_body_set_interp()
826 Word p_flags = 0; in cmd_body()
892 Word cnt = (argstate.argc == 1) ? 1 : in cmd_body()
908 Word cnt; in cmd_body()
909 Word dstndx; in cmd_body()
912 dstndx = (Word) in cmd_body()
[all …]
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dbindings.c35 Dbg_bind_plt_summary(Lm_list *lml, Half mach, Word pltcnt21d, Word pltcnt24d, in Dbg_bind_plt_summary()
36 Word pltcntu32, Word pltcntu44, Word pltcntfull, Word pltcntfar) in Dbg_bind_plt_summary()
38 Word plttotal = pltcnt21d + pltcnt24d + pltcntu32 + in Dbg_bind_plt_summary()
H A Drelocate.c66 Dbg_reloc_error(Lm_list *lml, int caller, Half mach, Word type, void *reloc, in Dbg_reloc_error()
140 Dbg_reloc_generate(Lm_list *lml, Os_desc *osp, Word type) in Dbg_reloc_generate()
237 Dbg_reloc_dooutrel(Lm_list *lml, Word type) in Dbg_reloc_dooutrel()
272 Dbg_reloc_transition(Lm_list *lml, Half mach, Word rtype, Rel_desc *rsp, in Dbg_reloc_transition()
294 Dbg_reloc_out(Ofl_desc *ofl, int caller, Word type, void *reloc, in Dbg_reloc_out()
309 const char *secname, Word secndx, const char *symname) in Dbg_reloc_in()
359 Dbg_reloc_ors_entry(Lm_list *lml, int caller, Word type, Half mach, in Dbg_reloc_ors_entry()
401 Dbg_reloc_ars_entry(Lm_list *lml, int caller, Word type, Half mach, in Dbg_reloc_ars_entry()
424 Dbg_reloc_entry(Lm_list *lml, const char *prestr, Half mach, Word type, in Dbg_reloc_entry()
512 Elf_reloc_title(Lm_list *lml, int caller, Word type) in Elf_reloc_title()
[all …]

123456