/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | syms.c | 463 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 D | resolve.c | 151 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 D | sunwmove.c | 52 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 D | libs.c | 139 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 D | map_support.c | 479 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 D | update.c | 350 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 D | machsym.sparc.c | 105 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 D | dispsyms.c | 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()
|
/illumos-gate/usr/src/tools/ctf/common/ |
H A D | symbol.c | 41 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 D | sym.c | 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 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 D | sym.msg | 110 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 D | common_sparc.c | 83 if ((sym1->st_shndx == SHN_ABS) && (sym2->st_shndx == SHN_ABS)) in check_regsyms()
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dw_elfstructs.h | 180 TYP(st_shndx,2); 187 TYP(st_shndx,2);
|
H A D | dwarf_elfstructs.h | 188 TYP(st_shndx,2); 195 TYP(st_shndx,2);
|
/illumos-gate/usr/src/uts/intel/amd64/krtld/ |
H A D | kobj_reloc.c | 234 if (symref->st_shndx == SHN_UNDEF && in do_relocate() 239 if (symref->st_shndx == SHN_UNDEF && in do_relocate() 244 if (symref->st_shndx == SHN_UNDEF) { in do_relocate()
|
/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_elfwrite.c | 251 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 D | elfwrap.c | 450 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 D | syms.c | 78 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 D | objfs_data.c | 529 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 D | mdb_pservice.c | 195 symp->st_shndx = sym.st_shndx; in ps_pglobal_sym()
|
H A D | mdb_gelf.c | 981 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 D | kobj_reloc.c | 220 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 D | readelf.c | 412 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 D | syms.c | 78 syms->st_shndx = endx; in update_sym()
|
/illumos-gate/usr/src/uts/common/krtld/ |
H A D | kobj.c | 973 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 …]
|