Home
last modified time | relevance | path

Searched refs:SHN_UNDEF (Results 1 – 25 of 71) sorted by relevance

123

/illumos-gate/usr/src/tools/btxld/
H A Delfh.c95 0, htole32(SHT_NULL), 0, 0, 0, 0, htole32(SHN_UNDEF), 0, 0, 0
104 htole32(SHN_UNDEF), /* sh_link */
116 htole32(SHN_UNDEF), /* sh_link */
128 htole32(SHN_UNDEF), /* sh_link */
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dsymbols.c317 { SHN_UNDEF, ALL, MSG_SHN_UNDEF_CFNP }, in conv_sym_shndx_strings()
328 { SHN_UNDEF, ALL, MSG_SHN_UNDEF_CF }, in conv_sym_shndx_strings()
339 { SHN_UNDEF, ALL, MSG_SHN_UNDEF_CFNP }, in conv_sym_shndx_strings()
350 { SHN_UNDEF, ALL, MSG_SHN_UNDEF_NF }, in conv_sym_shndx_strings()
361 CONV_DS_VD2, SHN_UNDEF, SHN_XINDEX, shn_def }; in conv_sym_shndx_strings()
363 CONV_DS_VD2, SHN_UNDEF, SHN_XINDEX, shn_cf }; in conv_sym_shndx_strings()
365 CONV_DS_VD2, SHN_UNDEF, SHN_XINDEX, shn_cfnp }; in conv_sym_shndx_strings()
367 CONV_DS_VD2, SHN_UNDEF, SHN_XINDEX, shn_nf }; in conv_sym_shndx_strings()
/illumos-gate/usr/src/cmd/sgs/libld/common/
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()
338 if (shndx == SHN_UNDEF) in sym_promote()
346 if (((shndx == SHN_UNDEF) || ((nsdflags & FLG_SY_SPECSEC) && 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()
510 (nsym->st_shndx != SHN_UNDEF) && in sym_override()
[all …]
H A Dsyms.c438 if ((sdflags & FLG_SY_SPECSEC) || (nsym->st_shndx == SHN_UNDEF)) in ld_sym_enter()
512 (nsym->st_shndx != SHN_UNDEF)) { in ld_sym_enter()
534 if ((vis == STV_SINGLETON) && (nsym->st_shndx != SHN_UNDEF)) in ld_sym_enter()
552 sdp->sd_shndx = shndx = SHN_UNDEF; in ld_sym_enter()
564 ((nsym->st_shndx == SHN_UNDEF) || ((sdflags & FLG_SY_SPECSEC) && in ld_sym_enter()
595 if (nsym->st_shndx == SHN_UNDEF) { in ld_sym_enter()
690 if ((usdp->sd_shndx == SHN_UNDEF) || in sym_add_spec()
769 (sdp->sd_sym->st_shndx == SHN_UNDEF)) { in sym_add_spec()
957 if ((bsdp->sd_shndx != SHN_UNDEF) && in sym_add_bounds()
1162 (sdp->sd_sym->st_shndx != SHN_UNDEF)) { in ld_sym_adjust_vis()
[all …]
H A Dmachsym.sparc.c185 if ((shndx != SHN_ABS) && (shndx != SHN_UNDEF)) { in ld_is_regsym_sparc()
199 (shndx != SHN_UNDEF)) { in ld_is_regsym_sparc()
H A Dmap_support.c496 if (sym->st_shndx == SHN_UNDEF) { in ld_map_seg_size_symbol()
1092 ms->ms_shndx = SHN_UNDEF; 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()
1181 if ((ms->ms_shndx != SHN_UNDEF) && in ld_map_sym_enter()
1207 if (ms->ms_shndx != SHN_UNDEF) in ld_map_sym_enter()
H A Dgroups.c179 if ((gshdr->sh_link == SHN_UNDEF) || in ld_group_process()
202 if ((sshdr->sh_info == SHN_UNDEF) || in ld_group_process()
/illumos-gate/usr/src/lib/libdwarf/common/
H A Dpro_reloc_symbolic.c51 #ifndef SHN_UNDEF
52 #define SHN_UNDEF 0 macro
185 know */ SHN_UNDEF, in _dwarf_symbolic_relocs_to_disk()
H A Ddwarf_elf_defines.h824 #ifndef SHN_UNDEF
825 #define SHN_UNDEF 0 macro
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Delfedit_machelf.c144 tstate.os_dynndx = SHN_UNDEF; in elfedit64_init_obj_state()
309 if (symtab->symt_xshndx != SHN_UNDEF) { in elfedit64_init_obj_state()
322 if (symtab->symt_syminfo != SHN_UNDEF) { in elfedit64_init_obj_state()
335 if (symtab->symt_versym != SHN_UNDEF) { in elfedit64_init_obj_state()
357 if (obj_state->os_dynndx != SHN_UNDEF) { in elfedit64_init_obj_state()
H A Dutil_machelf.c137 return (SHN_UNDEF); in elfedit_name_to_shndx()
179 return (SHN_UNDEF); in elfedit_type_to_shndx()
277 (shndx != SHN_UNDEF)) in elfedit_shndx_to_name()
416 if (obj_state->os_dynndx != SHN_UNDEF) { in elfedit_sec_getdyn()
665 (symtab->symt_xshndx == SHN_UNDEF)) in elfedit_sec_getxshndx()
726 (symtab->symt_versym == SHN_UNDEF)) in elfedit_sec_getversym()
1008 if (obj_state->os_dynndx != SHN_UNDEF) { in elfedit_strtab_insert_test()
1094 if (obj_state->os_dynndx != SHN_UNDEF) { in elfedit_strtab_insert()
/illumos-gate/usr/src/uts/intel/amd64/krtld/
H A Dkobj_reloc.c234 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/cmd/sgs/elfedit/modules/common/
H A Dsym.c264 if (symstate->versym.shndx != SHN_UNDEF) in dump_symtab()
268 if (symstate->xshndx.shndx != SHN_UNDEF) in dump_symtab()
363 (symstate1->xshndx.shndx != SHN_UNDEF)) { in all_same()
371 (symstate2->xshndx.shndx != SHN_UNDEF)) { in all_same()
495 if (symstate->xshndx.shndx != SHN_UNDEF) in print_symstate()
619 if (symstate->versym.shndx != SHN_UNDEF) in print_sym()
621 if (symstate->xshndx.shndx != SHN_UNDEF) in print_sym()
633 if (symstate->xshndx.shndx != SHN_UNDEF) in print_sym()
848 xshndx = SHN_UNDEF; in cmd_body_set_st_shndx()
849 if (symstate->xshndx.shndx != SHN_UNDEF) in cmd_body_set_st_shndx()
[all …]
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dndxscn.c41 return (SHN_UNDEF); in elf_ndxscn()
H A Dnewdata.c47 if (s->s_index == SHN_UNDEF) { in elf_newdata()
/illumos-gate/usr/src/tools/ctf/common/
H A Dsymbol.c41 if (sym->st_shndx == SHN_UNDEF || sym->st_name == 0) in ignore_symbol()
/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/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/mdb/common/mdb/
H A Dmdb_nm.c171 case SHN_UNDEF: in nm_sect2str()
342 if (sym->st_shndx == SHN_UNDEF) in nm_undef()
387 if (sym->st_shndx == SHN_UNDEF) in nm_cnt_undef()
416 if (sym->st_shndx == SHN_UNDEF) in nm_get_undef()
/illumos-gate/usr/src/cmd/sgs/mcs/common/
H A Dfile.c388 (shdr->sh_info != SHN_UNDEF && in traverse_file()
521 (tmp_shdr.sh_link != SHN_UNDEF) && in traverse_file()
740 if ((shstrndx != SHN_UNDEF) && in build_file()
742 dst_ehdr.e_shstrndx = SHN_UNDEF; in build_file()
859 (csym.st_shndx != SHN_UNDEF)) { in build_file()
924 if (oldshndx[c] != SHN_UNDEF) { in build_file()
/illumos-gate/usr/src/common/ctf/
H A Dctf_util.c193 if (shndx == SHN_UNDEF || noff == 0) in ctf_sym_valid()
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Di386-elf.h83 #define SHN_UNDEF 0 macro
/illumos-gate/usr/src/cmd/sgs/nm/common/
H A Dnm.c1001 if ((sym_data->shndx == SHN_UNDEF) &&
1069 if ((sym_data->shndx == SHN_UNDEF) && (strlen(sym_data->name))) {
1097 if ((sym_data->shndx == SHN_UNDEF) && (strlen(sym_data->name)))
1287 if (sym_data->shndx == SHN_UNDEF) {
/illumos-gate/usr/src/lib/libsaveargs/tests/dump/
H A Ddump.c97 (ss.ss_sym.st_shndx == SHN_UNDEF)) in walk_symtab()
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dgot.c108 if ((sdp == 0) || (sdp->sd_sym->st_shndx == SHN_UNDEF) || in Dbg_got_display()

123