Home
last modified time | relevance | path

Searched refs:st_shndx (Results 1 – 25 of 88) sorted by relevance

1234

/titanic_52/usr/src/cmd/sgs/libld/common/
H A Dsyms.c400 if ((sdflags & FLG_SY_SPECSEC) || (nsym->st_shndx == SHN_UNDEF)) in ld_sym_enter()
425 if (nsym->st_shndx == SHN_COMMON) in ld_sym_enter()
429 (nsym->st_shndx == SHN_X86_64_LCOMMON)) in ld_sym_enter()
474 (nsym->st_shndx != SHN_UNDEF)) { in ld_sym_enter()
496 if ((vis == STV_SINGLETON) && (nsym->st_shndx != SHN_UNDEF)) in ld_sym_enter()
513 if (nsym->st_shndx == SHN_SUNW_IGNORE) { in ld_sym_enter()
526 ((nsym->st_shndx == SHN_UNDEF) || ((sdflags & FLG_SY_SPECSEC) && in ld_sym_enter()
528 ((nsym->st_shndx == SHN_COMMON) || in ld_sym_enter()
530 (nsym->st_shndx == SHN_X86_64_LCOMMON)))))) in ld_sym_enter()
533 (nsym->st_shndx == SHN_COMMON)))) in ld_sym_enter()
[all …]
H A Dresolve.c151 if ((sdp->sd_sym->st_shndx == SHN_UNDEF) && in sym_visibility()
152 (nsym->st_shndx != SHN_UNDEF) && (wnvis == STV_SINGLETON)) in sym_visibility()
159 if ((sdp->sd_sym->st_shndx != SHN_UNDEF) && in sym_visibility()
160 (nsym->st_shndx == SHN_UNDEF) && (wovis == STV_SINGLETON)) in sym_visibility()
319 Word shndx = nsym->st_shndx; in sym_promote()
372 (sdp->sd_sym->st_shndx == SHN_UNDEF) && in sym_override()
415 if (nsym->st_shndx == SHN_UNDEF) { in sym_override()
454 if (((nsym->st_shndx == SHN_UNDEF) || in sym_override()
456 (nsym->st_shndx == SHN_COMMON))) && in sym_override()
510 (nsym->st_shndx ! in sym_override()
[all...]
H A Dsunwmove.c52 if (sym->st_shndx == SHN_COMMON) in make_mvsections()
282 if ((sym->st_shndx != SHN_UNDEF) && in ld_process_move()
283 (sym->st_shndx < SHN_LOPROC)) { in ld_process_move()
286 isc = ifile->ifl_isdesc[ sym->st_shndx]; in ld_process_move()
H A Dlibs.c139 if ((shndx = syms->st_shndx) == SHN_UNDEF) in process_member()
142 if (osym->st_shndx == SHN_COMMON) { in process_member()
565 (visible && vers && (sym->st_shndx != SHN_UNDEF) && in ar_extract_bysym()
566 (sym->st_shndx != SHN_COMMON)) || in ar_extract_bysym()
642 if ((sym->st_shndx == SHN_COMMON) || in ar_extract_bysym()
H A Dupdate.c344 sym->st_shndx = SHN_ABS; in update_osym()
358 sym->st_shndx = SHN_ABS; in update_osym()
412 sym->st_shndx = SHN_XINDEX; in update_osym()
415 sym->st_shndx = (Half)sectndx; in update_osym()
731 (sym->st_shndx == SHN_ABS) && in update_osym()
761 (sym->st_shndx == SHN_ABS)) in update_osym()
774 sdp->sd_shndx = sym->st_shndx = SHN_ABS; in update_osym()
785 sym->st_shndx = parexpnndx; in update_osym()
822 sym->st_shndx = SHN_XINDEX; in update_osym()
825 sym->st_shndx in update_osym()
[all...]
H A Dmap_support.c479 sym->st_shndx = SHN_ABS; in ld_map_seg_size_symbol()
496 if (sym->st_shndx == SHN_UNDEF) { in ld_map_seg_size_symbol()
497 sdp->sd_shndx = sym->st_shndx = SHN_ABS; in ld_map_seg_size_symbol()
1108 sym->st_shndx = (Half)ms->ms_shndx; in ld_map_sym_enter()
1127 if (sym->st_shndx == SHN_UNDEF) in ld_map_sym_enter()
1160 if (sym->st_shndx != SHN_UNDEF) { in ld_map_sym_enter()
1162 (sym->st_shndx != ms->ms_shndx)) in ld_map_sym_enter()
1165 sym->st_shndx = sdp->sd_shndx = ms->ms_shndx; in ld_map_sym_enter()
H A Dmachsym.sparc.c50 * Matrix of legal combinations of st_shndx for the same register symbol:
105 if ((osym->st_shndx == SHN_ABS) && in ld_reg_check_sparc()
106 (nsym->st_shndx == SHN_ABS)) { in ld_reg_check_sparc()
/titanic_52/usr/src/cmd/sgs/libelf/demo/
H A Ddispsyms.c151 * Check to see if this symbol's st_shndx is using in print_symtab()
157 if ((sym.st_shndx == SHN_XINDEX) && in print_symtab()
233 if (sym.st_shndx < SHN_LORESERVE) in print_symtab()
234 shndx = sym.st_shndx; in print_symtab()
235 else if ((sym.st_shndx != SHN_XINDEX) || in print_symtab()
237 shndx = sym.st_shndx; in print_symtab()
/titanic_52/usr/src/tools/ctf/common/
H A Dsymbol.c43 if (sym->st_shndx == SHN_UNDEF || sym->st_name == 0) in ignore_symbol()
58 if (type == STT_OBJECT && sym->st_shndx == SHN_ABS && in ignore_symbol()
/titanic_52/usr/src/cmd/sgs/rtld/sparc/
H A Dcommon_sparc.c52 * Matrix of legal combinations of st_shndx for the same register symbol:
83 if ((sym1->st_shndx == SHN_ABS) && (sym2->st_shndx == SHN_ABS)) in check_regsyms()
H A Dsparc_a.out.c132 (sym->st_shndx != SHN_ABS)) in aout_bndr()
320 (sym->st_shndx != SHN_COMMON) && in aout_reloc()
321 (sym->st_shndx != SHN_ABS)) in aout_reloc()
/titanic_52/usr/src/cmd/sgs/elfedit/modules/common/
H A Dsym.c56 SYM_CMD_T_ST_SHNDX = 5, /* sym:st_shndx */
280 shndx = sym->st_shndx; in dump_symtab()
361 ndx1 = sym1->st_shndx; in all_same()
369 ndx2 = sym2->st_shndx; in all_same()
499 value = sym[ndx].st_shndx; in print_symstate()
796 Word shndx, st_shndx, xshndx; in cmd_body_set_st_shndx() local
837 * for st_shndx and the extended section slot. in cmd_body_set_st_shndx()
844 st_shndx = SHN_XINDEX; in cmd_body_set_st_shndx()
847 st_shndx = shndx; in cmd_body_set_st_shndx()
854 shndx_chg = (sym->st_shndx ! in cmd_body_set_st_shndx()
[all...]
H A Dsym.msg110 into the symbol st_shndx field. Note that this will produce\n\
283 This information is maintained in the st_shndx field of an ELF\n\
284 symbol. The sym:st_shndx command is used to display or alter the\n\
285 st_shndx field of the specified symbol.\n\
291 If sym:st_shndx is called without arguments, the value of st_shndx\n\
294 If both arguments are present, the st_shndx field of the symbol at\n\
297 sym:st_shndx is aware of extended section indexes, and will\n\
408 @ MSG_CMD_ST_SHNDX "st_shndx"
/titanic_52/usr/src/tools/ctf/cvt/
H A Doutput.c270 if (sym.st_shndx != weak->st_shndx) in check_for_weak()
597 if (sym.st_shndx >= SHN_LORESERVE) in write_file()
600 if ((newscn = secxlate[sym.st_shndx]) != in write_file()
601 sym.st_shndx) { in write_file()
602 sym.st_shndx = in write_file()
/titanic_52/usr/src/lib/libctf/common/
H A Dctf_elfwrite.c251 if (sym.st_shndx >= SHN_LORESERVE) in ctf_write_elf()
254 if ((newscn = secxlate[sym.st_shndx]) != in ctf_write_elf()
255 sym.st_shndx) { in ctf_write_elf()
256 sym.st_shndx = in ctf_write_elf()
/titanic_52/usr/src/cmd/sgs/elfwrap/common/
H A Delfwrap.c451 secsymtabent->st_shndx = SHN_ABS; in output()
476 secsymtabent->st_shndx = outsec->os_ndx; in output()
507 glbsymtabent->st_shndx = outsec->os_ndx; in output()
527 glbsymtabent->st_shndx = outsec->os_ndx; in output()
/titanic_52/usr/src/cmd/sgs/prof/common/
H A Drdelf.c169 if (sym->st_shndx == SHN_UNDEF) in is_function()
198 if (sym->st_shndx >= SHN_LORESERVE) in is_function()
201 scn = elf_getscn(elf, sym->st_shndx); in is_function()
/titanic_52/usr/src/cmd/sgs/librtld_db/demo/common/
H A Dsyms.c78 if ((sym.st_shndx == SHN_UNDEF) || in str_map_sym()
156 if ((sym.st_name == 0) || (sym.st_shndx == SHN_UNDEF)) in addr_map_sym()
/titanic_52/usr/src/lib/libtnfctl/
H A Dsym.c328 if ((sym->st_shndx != SHN_UNDEF) && in sym_match()
360 if ((sym->st_shndx != SHN_UNDEF) && in sym_matchname()
/titanic_52/usr/src/cmd/mdb/common/mdb/
H A Dmdb_pservice.c198 symp->st_shndx = sym.st_shndx; in ps_pglobal_sym()
/titanic_52/usr/src/uts/intel/ia32/krtld/
H A Dkobj_reloc.c215 if (symref->st_shndx == SHN_UNDEF && in do_relocate()
220 if (symref->st_shndx == SHN_UNDEF && in do_relocate()
/titanic_52/usr/src/uts/common/fs/objfs/
H A Dobjfs_data.c506 * converting st_shndx to SHN_ABS for each symbol.
531 if (sym.st_shndx != SHN_UNDEF) in read_symtab()
532 sym.st_shndx = SHN_ABS; in read_symtab()
548 if (sym.st_shndx != SHN_UNDEF) in read_symtab()
549 sym.st_shndx = SHN_ABS; in read_symtab()
711 * the st_shndx field to SHN_ABS. Otherwise, simply in objfs_data_read()
/titanic_52/usr/src/cmd/mdb/tools/findfp/common/
H A Dfindsym.c63 sym.st_shndx == SHN_UNDEF) in findelfsym()
/titanic_52/usr/src/uts/intel/amd64/krtld/
H A Dkobj_reloc.c220 if (symref->st_shndx == SHN_UNDEF && in do_relocate()
225 if (symref->st_shndx == SHN_UNDEF && in do_relocate()
/titanic_52/usr/src/cmd/sgs/rtld/common/
H A Da.out.c305 sym.st_shndx = SHN_ABS; in aout_symconvert()
308 sym.st_shndx = SHN_COMMON; in aout_symconvert()
311 sym.st_shndx = SHN_UNDEF; in aout_symconvert()
314 sym.st_shndx = 0; in aout_symconvert()

1234