Lines Matching refs:Word

66 	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()
192 Word symtab_gbl_bndx; /* .symtab ndx 1st global */ in update_osym()
193 Word ldynsym_ndx = 0; /* index into .SUNW_ldynsym */ in update_osym()
194 Word dynsym_ndx = 0; /* index into .dynsym */ in update_osym()
195 Word scopesym_ndx = 0; /* index into scoped symbols */ in update_osym()
196 Word scopesym_bndx = 0; /* .symtab ndx 1st scoped sym */ in update_osym()
197 Word ldynscopesym_ndx = 0; /* index to ldynsym scoped */ in update_osym()
199 Word *dynsymsort = NULL; /* SUNW_dynsymsort index */ in update_osym()
201 Word *dyntlssort = NULL; /* SUNW_dyntlssort index */ in update_osym()
203 Word dynsymsort_ndx; /* index dynsymsort array */ in update_osym()
204 Word dyntlssort_ndx; /* index dyntlssort array */ in update_osym()
205 Word *symndx; /* symbol index (for */ in update_osym()
207 Word *symshndx = NULL; /* .symtab_shndx table */ in update_osym()
208 Word *dynshndx = NULL; /* .dynsym_shndx table */ in update_osym()
209 Word *ldynshndx = NULL; /* .SUNW_ldynsym_shndx table */ in update_osym()
210 Word ldynsym_cnt = NULL; /* number of items in */ in update_osym()
215 Word *hashtab; /* hash table pointer */ in update_osym()
216 Word *hashbkt; /* hash table bucket pointer */ in update_osym()
217 Word *hashchain; /* hash table chain pointer */ in update_osym()
226 Word ssndx; /* global index into sorted_syms */ in update_osym()
227 Word scndx; /* scoped index into sorted_syms */ in update_osym()
244 (Word *)ofl->ofl_ossymshndx->os_outdata->d_buf; in update_osym()
266 dynsymsort = (Word *) in update_osym()
271 dyntlssort = (Word *) in update_osym()
280 hashtab = (Word *)(ofl->ofl_oshash->os_outdata->d_buf); in update_osym()
287 (Word *)ofl->ofl_osdynshndx->os_outdata->d_buf; in update_osym()
290 (Word *)ofl->ofl_osldynshndx->os_outdata->d_buf; in update_osym()
387 Word _flags = phd->p_flags & (PF_W | PF_R); in update_osym()
401 Word sectndx; in update_osym()
436 osp->os_shdr->sh_name = (Word)stoff; in update_osym()
634 Word *_symshndx; in update_osym()
798 Word sectndx; in update_osym()
1186 Word sectndx; in update_osym()
1478 Word _symndx; in update_osym()
1513 Word hashval, _hashndx; in update_osym()
1810 Word _symndx = dynlocal ? scopesym_ndx : symtab_ndx; in update_osym()
1819 Word _symndx; in update_osym()
1842 Word _symndx; in update_osym()
1844 Word *_dynshndx; in update_osym()
1942 shdr->sh_link = (Word)elf_ndxscn(ofl->ofl_osstrtab->os_scn); in update_osym()
1945 (Word)elf_ndxscn(ofl->ofl_ossymtab->os_scn); in update_osym()
1965 shdr->sh_link = (Word)elf_ndxscn(ofl->ofl_osdynstr->os_scn); in update_osym()
1969 (Word)elf_ndxscn(ofl->ofl_osdynsym->os_scn); in update_osym()
1973 (Word)elf_ndxscn(ofl->ofl_osdynsym->os_scn); in update_osym()
2001 shdr->sh_link = (Word)elf_ndxscn(ofl->ofl_osdynstr->os_scn); in update_osym()
2006 (Word)elf_ndxscn(ofl->ofl_osldynsym->os_scn); in update_osym()
2020 (Word)elf_ndxscn(ofl->ofl_osldynsym->os_scn); in update_osym()
2035 (Word)elf_ndxscn(ofl->ofl_osldynsym->os_scn); in update_osym()
2078 Word cnt; in update_odynamic()
2101 ofl->ofl_osdynamic->os_shdr->sh_link = (Word)elf_ndxscn(strosp->os_scn); in update_odynamic()
2272 dyn->d_un.d_val = sizeof (Word); in update_odynamic()
2668 _vdap->vda_next = (Word)((uintptr_t)vdap - (uintptr_t)_vdap); in update_overdef()
2680 _vdap->vda_next = (Word)((uintptr_t)vdap - in update_overdef()
2690 vdf->vd_aux = (Word)((uintptr_t)(vdf + 1) - (uintptr_t)vdf); in update_overdef()
2701 _vdf->vd_next = (Word)((uintptr_t)vdf - (uintptr_t)_vdf); in update_overdef()
2712 ofl->ofl_osverdef->os_shdr->sh_link = (Word)elf_ndxscn(strosp->os_scn); in update_overdef()
2742 ofl->ofl_osversym->os_shdr->sh_link = (Word)elf_ndxscn(osp->os_scn); in update_oversym()
2756 Word num = 0; in update_overneed()
2777 Word cnt = 0; in update_overneed()
2828 (Word)((uintptr_t)vnap - (uintptr_t)_vnap); in update_overneed()
2839 vnd->vn_aux = (Word)((uintptr_t)(vnd + 1) - (uintptr_t)vnd); in update_overneed()
2851 _vnd->vn_next = (Word)((uintptr_t)vnd - (uintptr_t)_vnd); in update_overneed()
2860 ofl->ofl_osverneed->os_shdr->sh_link = (Word)elf_ndxscn(strosp->os_scn); in update_overneed()
2889 infosp->os_shdr->sh_link = (Word)elf_ndxscn(symosp->os_scn); in update_osyminfo()
2893 (Word)elf_ndxscn(ofl->ofl_osdynamic->os_scn); in update_osyminfo()
2916 Word _cnt, cnt = shdr->sh_size / shdr->sh_entsize; in update_osyminfo()
3040 *((Word *)taddr) = (Word)mvp->m_value; in expand_move()
3058 Word ndx = 0; in update_move()
3070 ndx = (Word) elf_ndxscn(ofl->ofl_osdynsym->os_scn); in update_move()
3073 ndx = (Word) elf_ndxscn(ofl->ofl_ossymtab->os_scn); in update_move()
3133 Word ndx = osp->os_identndx; in update_move()
3161 Word ndx = osp->os_identndx; in update_move()
3206 Word *gdata; in update_ogroup()
3217 shdr->sh_link = (Word)elf_ndxscn(ofl->ofl_ossymtab->os_scn); in update_ogroup()
3225 gdata = (Word *)osp->os_outdata->d_buf; in update_ogroup()
3238 gdata[i] = (Word)elf_ndxscn(_osp->os_scn); in update_ogroup()
3295 (Word)elf_ndxscn(ofl->ofl_oscapinfo->os_scn); in update_oscap()
3307 cosp->os_shdr->sh_info = (Word)elf_ndxscn(strosp->os_scn); in update_oscap()
3372 Word chainndx = 0; in update_oscapinfo()
3389 ciosp->os_shdr->sh_link = (Word)elf_ndxscn(symosp->os_scn); in update_oscapinfo()
3393 ciosp->os_shdr->sh_info = (Word)elf_ndxscn(ccosp->os_scn); in update_oscapinfo()
3540 static Word
3541 translate_link(Ofl_desc *ofl, Os_desc *osp, Word link, const char *msg) in translate_link()
3580 return ((Word)elf_ndxscn(osp->os_scn)); in translate_link()
3617 Word phdrsz = (ehdr->e_phnum * ehdr->e_phentsize), shscnndx; in ld_update_outfile()
3619 Word ehdrsz = ehdr->e_ehsize; in ld_update_outfile()