Home
last modified time | relevance | path

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

123456

/titanic_41/usr/src/cmd/sgs/include/
H A Drtc.h104 Word ch_version; /* version of config file */
105 Word ch_cnflags; /* configuration flags */
106 Word ch_dlflags; /* dldump() flags used */
107 Word ch_app; /* application that this config file */
109 Word ch_hash; /* hash table offset */
110 Word ch_obj; /* object table offset */
111 Word ch_str; /* string table offset */
112 Word ch_file; /* file entries */
113 Word ch_dir; /* directory entries */
114 Word ch_edlibpath; /* ELF default library path offset */
[all …]
H A Dlibld.h56 #define SYM_NOHASH (~(Word)0)
108 Word rc_cnt; /* and count */
202 Word cs_ndx; /* the entries output Cap index */
245 typedef Word ofl_guideflag_t;
264 Word ofl_objscnt; /* and count */
266 Word ofl_arscnt; /* and count */
270 Word ofl_ars_gsndx; /* current -zrescan-start ofl_ars ndx */
272 Word ofl_soscnt; /* and count */
278 Word ofl_entrelscnt; /* no of relocations entered */
301 Word ofl_regsymsno; /* symbols and array count */
[all …]
H A Dconv.h795 extern const char *conv_cnote_auxv_af(Word, Conv_fmt_flags_t,
797 extern const char *conv_cnote_auxv_type(Word, Conv_fmt_flags_t,
803 extern const char *conv_cnote_fault(Word, Conv_fmt_flags_t,
809 extern const char *conv_cnote_pr_dmodel(Word, Conv_fmt_flags_t,
817 extern const char *conv_cnote_pr_stype(Word, Conv_fmt_flags_t,
829 extern const char *conv_cnote_signal(Word, Conv_fmt_flags_t,
837 extern const char *conv_cnote_syscall(Word, Conv_fmt_flags_t,
845 extern const char *conv_cnote_type(Word, Conv_fmt_flags_t,
856 extern const char *conv_dwarf_regname(Half, Word, Conv_fmt_flags_t,
858 extern const char *conv_ehdr_abivers(uchar_t, Word, Conv_fmt_flags_t,
[all …]
H A Ddebug.h800 extern void Dbg_bind_plt_summary(Lm_list *, Half, Word, Word, Word, Word,
801 Word, Word);
879 extern void Dbg_got_display(Ofl_desc *, Off, int, Word, size_t);
909 Word, Lineno);
922 extern void Dbg_move_entry2(Lm_list *, Move *, Word, const char *);
931 extern void Dbg_reloc_ars_entry(Lm_list *, int, Word, Half, Rel_desc *);
934 extern void Dbg_reloc_doact(Lm_list *, int, Half, Word, Rel_desc *,
937 extern void Dbg_reloc_dooutrel(Lm_list *, Word);
938 extern void Dbg_reloc_entry(Lm_list *, const char *, Half, Word, void *,
940 extern void Dbg_reloc_error(Lm_list *, int, Half, Word, void *,
[all …]
/titanic_41/usr/src/cmd/sgs/libld/common/
H A D_libld.h61 Word m_flagsplus; /* ELF header flags used to identify */
69 Word m_dataseg_perm; /* data segment permission mask */
70 Word m_stack_perm; /* ABI default stack permission mask */
71 Word m_word_align; /* alignment to use for Word sections */
75 Word m_r_arrayaddr;
76 Word m_r_copy;
77 Word m_r_glob_dat;
78 Word m_r_jmp_slot;
79 Word m_r_num;
80 Word m_r_none;
[all …]
H A Dmachrel.intel.c92 static Word
93 ld_init_rel(Rel_desc *reld, Word *typedata, void *reloc) in ld_init_rel()
98 reld->rel_rtype = (Word)ELF_R_TYPE(rel->r_info, M_MACH); in ld_init_rel()
103 return ((Word)ELF_R_SYM(rel->r_info)); in ld_init_rel()
163 plt_entry(Ofl_desc * ofl, Word rel_off, Sym_desc * sdp) in plt_entry()
167 Word got_off; in plt_entry()
180 *(Word *)gotent = ofl->ofl_osplt->os_shdr->sh_addr + plt_off + in plt_entry()
184 *(Word *)gotent = ld_bswap_Word(*(Word *)gotent); in plt_entry()
191 *(Word *)pltent = (Word)(ofl->ofl_osgot->os_shdr->sh_addr + in plt_entry()
198 *(Word *)pltent = (Word)got_off; in plt_entry()
[all …]
H A Dmachrel.sparc.c103 static Word
104 ld_init_rel(Rel_desc *reld, Word *typedata, void *reloc) in ld_init_rel()
109 reld->rel_rtype = (Word)ELF_R_TYPE(rela->r_info, M_MACH); in ld_init_rel()
112 *typedata = (Word)ELF_R_TYPE_DATA(rela->r_info); in ld_init_rel()
116 return ((Word)ELF_R_SYM(rela->r_info)); in ld_init_rel()
122 Word eflags = ofl->ofl_dehdr->e_flags; in ld_mach_eflags()
123 Word memopt1, memopt2; in ld_mach_eflags()
420 *(Word *)pltent = M_SETHIG1 | pltoff; in plt_entry()
423 *(Word *)pltent = ld_bswap_Word(*(Word *)pltent); in plt_entry()
433 *(Word *)pltent = M_BA_A_XCC | in plt_entry()
[all …]
H A Dupdate.c66 Sym *s1 = dynsort_compare_syms + *((const Word *) idx1); in dynsort_compare()
67 Sym *s2 = dynsort_compare_syms + *((const Word *) idx2); in dynsort_compare()
100 Word *symsort, Word n, const char *secname) in dynsort_dupwarn()
103 Word ndx, cmp_ndx; in dynsort_dupwarn()
157 Word *_dynsort_arr, *_dynsort_ndx; \ in update_osym()
178 Word bssndx, etext_ndx, edata_ndx = 0, end_ndx, start_ndx; in update_osym()
179 Word end_abs = 0, etext_abs = 0, edata_abs; in update_osym()
180 Word tlsbssndx = 0, parexpnndx; in update_osym()
182 Word lbssndx = 0; in update_osym()
191 Word symtab_ndx = 0; /* index into .symtab */ in update_osym()
[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.h248 Word ms_shndx; /* SHN_UNDEF / mapfile set sec index */
254 Word ms_dft_flag; /* 0, or type of filter in ms_filtee */
331 extern Boolean ld_map_cap_sanitize(Mapfile *, Word, Capmask *);
332 extern void ld_map_cap_set_ovflag(Mapfile *, Word);
339 extern Sg_desc *ld_map_seg_alloc(const char *, Word, sg_flags_t);
342 Word, const char *);
354 ld_map_sym_t *, Word, const char *);
/titanic_41/usr/src/cmd/sgs/elfedit/common/
H A Dutil_machelf.c99 elfedit_dyn_elt_save(elfedit_dyn_elt_t *elt, Word ndx, Dyn *dyn) in elfedit_dyn_elt_save()
118 Word
122 Word ndx; in elfedit_name_to_shndx()
123 Word shnum = obj_state->os_shnum; in elfedit_name_to_shndx()
153 Word
154 elfedit_type_to_shndx(elfedit_obj_state_t *obj_state, Word shtype) in elfedit_type_to_shndx()
158 Word ndx; in elfedit_type_to_shndx()
159 Word shnum = obj_state->os_shnum; in elfedit_type_to_shndx()
213 const char *name, elfedit_msg_t msg_type, Word *ret_symndx) in elfedit_name_to_symndx()
217 Word cnt = symsec->sec_shdr->sh_size / symsec->sec_shdr->sh_entsize; in elfedit_name_to_symndx()
[all …]
/titanic_41/usr/src/cmd/sgs/elfdump/common/
H A Delfdump.c120 Word shnum; /* # of sections in cache */
122 Word secndx; /* Index of symbol table section hdr */
127 Word *data; /* NULL, or extended section index */
133 Word symn; /* # of symbols */
141 Word frame_cnt; /* # .eh_frame sections seen */
142 Word frame_ndx; /* Section index of 1st .eh_frame */
143 Word hdr_cnt; /* # .eh_frame_hdr sections seen */
144 Word hdr_ndx; /* Section index of 1st .eh_frame_hdr */
194 string(Cache *refsec, Word ndx, Cache *strsec, const char *file, Word name) in string()
207 Word strn; in string()
[all …]
H A Dstruct_layout.c83 Word
94 return ((Word) v.sld_i8); in sl_extract_as_word()
96 return ((Word) v.sld_i16); in sl_extract_as_word()
98 return ((Word) v.sld_i32); in sl_extract_as_word()
100 return ((Word) v.sld_i64); in sl_extract_as_word()
105 return ((Word) v.sld_ui8); in sl_extract_as_word()
107 return ((Word) v.sld_ui16); in sl_extract_as_word()
109 return ((Word) v.sld_ui32); in sl_extract_as_word()
111 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;
196 FAKE_M_WORD_ALIGN, sizeof (Word), ELF_T_WORD },
204 FAKE_M_WORD_ALIGN, sizeof (Word), ELF_T_WORD },
208 FAKE_M_WORD_ALIGN, sizeof (Word), ELF_T_WORD },
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()
[all …]
/titanic_41/usr/src/cmd/sgs/libconv/common/
H A Dllib-lconv81 const char *conv_cnote_auxv_af(Word, Conv_fmt_flags_t,
83 const char *conv_cnote_auxv_type(Word, Conv_fmt_flags_t, Conv_inv_buf_t *);
87 const char *conv_cnote_fault(Word, Conv_fmt_flags_t, Conv_inv_buf_t *);
92 const char *conv_cnote_pr_dmodel(Word, Conv_fmt_flags_t, Conv_inv_buf_t *);
99 const char *conv_cnote_pr_stype(Word, Conv_fmt_flags_t, Conv_inv_buf_t *);
107 const char *conv_cnote_signal(Word, Conv_fmt_flags_t, Conv_inv_buf_t *);
114 const char *conv_cnote_syscall(Word, Conv_fmt_flags_t, Conv_inv_buf_t *);
117 const char *conv_cnote_type(Word, Conv_fmt_flags_t, Conv_inv_buf_t *);
125 const char *conv_dwarf_regname(Half, Word, Conv_fmt_flags_t,
127 const char *conv_ehdr_abivers(uchar_t, Word, Conv_fmt_flags_t,
[all …]
/titanic_41/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()
104 size += ((2 + hashbkts + crle->c_hashstrnum) * 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()
158 size += S_ROUND(crle->c_strsize, sizeof (Word)); in genconfig()
217 hashtbl = (Word *)(CAST_PTRINT(char *, head->ch_hash) + addr); in genconfig()
[all …]
/titanic_41/usr/src/cmd/sgs/elfedit/modules/common/
H A Dcap.c126 Word num; /* # Capabilities elts */
128 Word grp_start_ndx; /* capabilities group starting index */
129 Word grp_end_ndx; /* capabilities group ending index */
186 cap_group_extents(ARGSTATE *argstate, Word ndx, Word *ret_start_ndx, in cap_group_extents()
187 Word *ret_end_ndx) in cap_group_extents()
223 Word ndx = argstate->cap.grp_start_ndx; in cap_group_id()
251 argstate_cap_group(ARGSTATE *argstate, Word ndx) in argstate_cap_group()
271 group_title(ARGSTATE *argstate, Word ndx) in group_title()
333 Word i; in process_args()
384 PRINT_CAP_T print_type, Word arg) in print_cap()
[all …]
H A Dstr.c120 Word ndx; /* Table offset if (argc > 0) */
125 Word n;
146 shtype_to_strtab(Word sh_type, Word sh_flags) in shtype_to_strtab()
198 static Word
199 shndx_to_strtab(elfedit_obj_state_t *obj_state, Word ndx) in shndx_to_strtab()
252 Word ndx; in process_args()
430 Word ndx; in print_strtab()
475 Word skip = strlen(str) + 1; in print_strtab()
476 Word start_ndx; in print_strtab()
521 Word ndx = argstate->str.ndx; in cmd_body_set()
[all …]
H A Ddyn.c132 Word num; /* # dynamic elts */
133 Word null_ndx; /* Index of first DT_NULL */
134 Word num_null_ndx; /* # of DT_NULL elements */
152 Word num, null_ndx; in set_null_ndx()
186 static Word
190 Word ndx; in convert_dt_null()
294 PRINT_DYN_T print_type, Word arg) in print_dyn()
298 Word end_ndx, ndx, printed = 0; in print_dyn()
622 static Word
626 Word ndx; in arg_to_index()
[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.c72 Word phndx; /* Index of PT_INTERP header */
75 Word stroff; /* Offset into string section */
137 Word ndx; /* Index of header if cmd */
220 argstate->ndx = (Word) elfedit_atoui_range( in process_args()
229 Word i; in process_args()
232 argstate->ndx = (Word) elfedit_atoconst( in process_args()
277 Word i; in locate_interp()
354 Word ndx, cnt, by_type, type; in print_phdr()
513 Word numdyn; /* # of elements in dyn arr */ in cmd_body_set_interp()
516 Word i, j; in cmd_body_set_interp()
[all …]
/titanic_41/usr/src/uts/common/exec/elf/
H A Delf_notes.c98 + roundup(sizeof (psinfo_t), sizeof (Word)) in setup_note_header()
99 + roundup(sizeof (pstatus_t), sizeof (Word)) in setup_note_header()
100 + roundup(prgetprivsize(), sizeof (Word)) in setup_note_header()
101 + roundup(priv_get_implinfo_size(), sizeof (Word)) in setup_note_header()
102 + roundup(strlen(platform) + 1, sizeof (Word)) in setup_note_header()
103 + roundup(strlen(p->p_zone->zone_name) + 1, sizeof (Word)) in setup_note_header()
104 + roundup(__KERN_NAUXV_IMPL * sizeof (aux_entry_t), sizeof (Word)) in setup_note_header()
105 + roundup(sizeof (utsname), sizeof (Word)) in setup_note_header()
106 + roundup(sizeof (core_content_t), sizeof (Word)) in setup_note_header()
107 + (nlwp + nzomb) * roundup(sizeof (lwpsinfo_t), sizeof (Word)) in setup_note_header()
[all …]
H A Dold_notes.c71 + roundup(sizeof (prpsinfo_t), sizeof (Word)) in setup_old_note_header()
72 + roundup(strlen(platform) + 1, sizeof (Word)) in setup_old_note_header()
74 sizeof (Word)) in setup_old_note_header()
75 + nlwp * roundup(sizeof (prstatus_t), sizeof (Word)); in setup_old_note_header()
78 + nlwp*roundup(sizeof (prfpregset_t), sizeof (Word)); in setup_old_note_header()
81 + nlwp * roundup(size, sizeof (Word)); in setup_old_note_header()
95 roundup(size, sizeof (Word)); in setup_old_note_header()
/titanic_41/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()
211 Dbg_reloc_doact(Lm_list *lml, int caller, Half mach, Word type, Rel_desc *rdesc, in Dbg_reloc_doact()
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()
308 Dbg_reloc_in(Lm_list *lml, int caller, Half mach, Word type, void *reloc, in Dbg_reloc_in()
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()
[all …]

123456