Home
last modified time | relevance | path

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

1234

/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dsyms.c463 if (nsym->st_shndx == SHN_COMMON) in ld_sym_enter()
512 (nsym->st_shndx != SHN_UNDEF)) { in ld_sym_enter()
595 if (nsym->st_shndx == SHN_UNDEF) { in ld_sym_enter()
743 sym->st_shndx = SHN_ABS; in sym_add_spec()
1620 if (sym->st_shndx == SHN_UNDEF) { in ld_sym_validate()
1947 if (sym1->st_shndx > sym2->st_shndx) in compare()
1949 if (sym1->st_shndx < sym2->st_shndx) in compare()
2064 (_sym->st_shndx != SHN_UNDEF) && \ in ld_sym_process()
2883 tsym, tsym->st_shndx); in ld_sym_process()
2988 if ((ssym->st_shndx != wsym->st_shndx) || in ld_sym_process()
[all …]
H A Dresolve.c151 if ((sdp->sd_sym->st_shndx == SHN_UNDEF) && in sym_visibility()
319 Word shndx = nsym->st_shndx; in sym_promote()
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 != SHN_UNDEF) && in sym_override()
855 (nsym->st_shndx == SHN_COMMON)) {
879 (nsym->st_shndx == SHN_COMMON)) ||
886 (nsym->st_shndx == SHN_COMMON))) {
1133 (nsym->st_shndx == SHN_COMMON)) {
[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()
566 (visible && vers && (sym->st_shndx != SHN_UNDEF) && in ar_extract_bysym()
567 (sym->st_shndx != SHN_COMMON)) || in ar_extract_bysym()
643 if ((sym->st_shndx == SHN_COMMON) || in ar_extract_bysym()
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()
1180 if (sym->st_shndx != SHN_UNDEF) { in ld_map_sym_enter()
1182 (sym->st_shndx != ms->ms_shndx)) in ld_map_sym_enter()
1185 sym->st_shndx = sdp->sd_shndx = ms->ms_shndx; in ld_map_sym_enter()
H A Dupdate.c350 sym->st_shndx = SHN_ABS; in update_osym()
364 sym->st_shndx = SHN_ABS; in update_osym()
418 sym->st_shndx = SHN_XINDEX; in update_osym()
421 sym->st_shndx = (Half)sectndx; in update_osym()
769 (sym->st_shndx == SHN_ABS)) in update_osym()
793 sym->st_shndx = parexpnndx; in update_osym()
830 sym->st_shndx = SHN_XINDEX; in update_osym()
833 sym->st_shndx = sectndx; in update_osym()
1147 (x->st_shndx == SHN_UNDEF))) in update_osym()
1973 sym->st_shndx = _sym->st_shndx; in update_osym()
[all …]
H A Dmachsym.sparc.c105 if ((osym->st_shndx == SHN_ABS) && in ld_reg_check_sparc()
106 (nsym->st_shndx == SHN_ABS)) { in ld_reg_check_sparc()
/illumos-gate/usr/src/cmd/sgs/libelf/demo/
H A Ddispsyms.c157 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()
/illumos-gate/usr/src/tools/ctf/common/
H A Dsymbol.c41 if (sym->st_shndx == SHN_UNDEF || sym->st_name == 0) in ignore_symbol()
56 if (type == STT_OBJECT && sym->st_shndx == SHN_ABS && in ignore_symbol()
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dsym.c280 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
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 != st_shndx); in cmd_body_set_st_shndx()
886 (st_shndx == SHN_XINDEX)) in cmd_body_set_st_shndx()
899 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"
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/
H A Dcommon_sparc.c83 if ((sym1->st_shndx == SHN_ABS) && (sym2->st_shndx == SHN_ABS)) in check_regsyms()
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddw_elfstructs.h180 TYP(st_shndx,2);
187 TYP(st_shndx,2);
H A Ddwarf_elfstructs.h188 TYP(st_shndx,2);
195 TYP(st_shndx,2);
/illumos-gate/usr/src/uts/intel/amd64/krtld/
H A Dkobj_reloc.c226 if (symref->st_shndx == SHN_UNDEF && in do_relocate()
231 if (symref->st_shndx == SHN_UNDEF && in do_relocate()
236 if (symref->st_shndx == SHN_UNDEF) { in do_relocate()
/illumos-gate/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()
/illumos-gate/usr/src/cmd/sgs/elfwrap/common/
H A Delfwrap.c450 secsymtabent->st_shndx = SHN_ABS; in output()
475 secsymtabent->st_shndx = outsec->os_ndx; in output()
506 glbsymtabent->st_shndx = outsec->os_ndx; in output()
526 glbsymtabent->st_shndx = outsec->os_ndx; in output()
/illumos-gate/usr/src/cmd/sgs/demo_rdb/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()
/illumos-gate/usr/src/uts/common/fs/objfs/
H A Dobjfs_data.c529 if (sym.st_shndx != SHN_UNDEF) in read_symtab()
530 sym.st_shndx = SHN_ABS; in read_symtab()
546 if (sym.st_shndx != SHN_UNDEF) in read_symtab()
547 sym.st_shndx = SHN_ABS; in read_symtab()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_pservice.c195 symp->st_shndx = sym.st_shndx; in ps_pglobal_sym()
H A Dmdb_gelf.c981 if (sym->st_shndx > SHN_UNDEF && sym->st_shndx < smax) { in gelf32_symtab_init()
982 gsp = &gst->gst_file->gf_sects[sym->st_shndx]; in gelf32_symtab_init()
1078 if (sym->st_shndx > SHN_UNDEF && sym->st_shndx < smax) { in gelf64_symtab_init()
1079 gsp = &gst->gst_file->gf_sects[sym->st_shndx]; in gelf64_symtab_init()
1437 dst->st_shndx = src->st_shndx; in gelf32_to_sym()
1775 dst->st_shndx = src->st_shndx; in gelf_sym_to_32()
/illumos-gate/usr/src/uts/sparc/krtld/
H A Dkobj_reloc.c220 if (symref->st_shndx == SHN_UNDEF && in do_relocate()
227 if (symref->st_shndx == SHN_UNDEF) { in do_relocate()
/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Dreadelf.c412 if (sym->st_shndx == SHN_UNDEF) in is_function()
441 if (sym->st_shndx >= SHN_LORESERVE) in is_function()
444 scn = elf_getscn(elf, sym->st_shndx); in is_function()
/illumos-gate/usr/src/cmd/sgs/librtld/common/
H A Dsyms.c78 syms->st_shndx = endx; in update_sym()
/illumos-gate/usr/src/uts/common/krtld/
H A Dkobj.c973 if (sp->st_shndx == SHN_COMMON) in load_linker()
974 sp->st_shndx = SHN_ABS; in load_linker()
2592 sp->st_shndx != SHN_UNDEF && in get_syms()
2593 sp->st_shndx != SHN_COMMON && in get_syms()
2594 ksp->st_shndx != SHN_UNDEF && in get_syms()
2991 if (sp->st_shndx != SHN_UNDEF && sp->st_shndx != SHN_COMMON) in do_symbols()
3022 sp->st_shndx = SHN_ABS; in do_symbols()
3028 if (sp->st_shndx == SHN_UNDEF) { in do_symbols()
3082 sp->st_shndx = SHN_ABS; in do_symbols()
3347 sp->st_shndx != SHN_UNDEF && in lookup_one()
[all …]

1234