Lines Matching full:symtab
195 Sym _sym = {0}, *sym, *symtab = NULL; in update_osym() local
197 Word symtab_ndx = 0; /* index into .symtab */ in update_osym()
198 Word symtab_gbl_bndx; /* .symtab ndx 1st global */ in update_osym()
202 Word scopesym_bndx = 0; /* .symtab ndx 1st scoped sym */ in update_osym()
246 symtab = (Sym *)ofl->ofl_ossymtab->os_outdata->d_buf; in update_osym()
247 symtab[symtab_ndx++] = _sym; in update_osym()
301 * points to the relevant symtab's (.dynsym or .symtab) symbol ndx. in update_osym()
339 * Put output file name to the first .symtab and .SUNW_ldynsym symbol. in update_osym()
341 if (symtab) { in update_osym()
343 sym = &symtab[symtab_ndx++]; in update_osym()
415 if (symtab) { in update_osym()
423 symtab[symtab_ndx++] = *sym; in update_osym()
610 if (symtab) { in update_osym()
630 * If we are generating a .symtab collect all the local symbols, in update_osym()
708 enter_in_symtab = symtab && in update_osym()
721 symtab[symtab_ndx] = *sym; in update_osym()
728 symtab[symtab_ndx].st_name) { in update_osym()
731 symtab[symtab_ndx].st_name = stoff; in update_osym()
736 sdp->sd_sym = sym = &symtab[symtab_ndx++]; in update_osym()
744 * Not using symtab, but we do have ldynsym in update_osym()
759 } else { /* Not using symtab or ldynsym */ in update_osym()
838 * If entering the symbol in both the symtab and the in update_osym()
839 * ldynsym, then the one in symtab needs to be in update_osym()
867 if (symtab && cdp && cdp->ca_syms) { in update_osym()
897 symtab[symtab_ndx] = *sym; in update_osym()
900 symtab[symtab_ndx].st_name = stoff; in update_osym()
906 symtab_gbl_bndx = symtab_ndx; /* .symtab index of 1st global entry */ in update_osym()
1244 if (symtab) in update_osym()
1277 * of the .symtab. Retain the appropriate index for use in in update_osym()
1523 * depending on the type of the symbol. Process the .symtab in update_osym()
1538 symtab[_symndx] = *sdp->sd_sym; in update_osym()
1539 sdp->sd_sym = sym = &symtab[_symndx]; in update_osym()
1627 &symtab[scopesym_ndx]; in update_osym()
1631 &symtab[symtab_ndx]; in update_osym()
1869 * Sym Updated: If both the .symtab and .dynsym in update_osym()
1872 * .symtab entry. in update_osym()
1878 symtab[_symndx].st_value = sym->st_value; in update_osym()
1879 symtab[_symndx].st_size = sym->st_size; in update_osym()
1880 symtab[_symndx].st_info = sym->st_info; in update_osym()
1881 symtab[_symndx].st_other = sym->st_other; in update_osym()
1895 symtab[_symndx].st_shndx = SHN_XINDEX; in update_osym()
1898 symtab[_symndx].st_shndx = (Half)sectndx; in update_osym()
2003 if (symtab) { in update_osym()
2996 Sym *symtab = symosp->os_outdata->d_buf; in update_osyminfo() local
3008 &sip[_cnt], &symtab[_cnt], strtab, dyn)); in update_osyminfo()
4412 * .dynsym, .dynstr, .symtab, .symtab, etc.). Here we update these in ld_update_outfile()