/freebsd/usr.sbin/btxld/ |
H A D | elfh.c | 85 0, htole32(SHT_NULL), 0, 0, 0, 0, htole32(SHN_UNDEF), 0, 0, 0 94 htole32(SHN_UNDEF), /* sh_link */ 106 htole32(SHN_UNDEF), /* sh_link */ 118 htole32(SHN_UNDEF), /* sh_link */
|
/freebsd/contrib/elftoolchain/libelf/ |
H A D | libelf_extended.c | 45 return (_libelf_allocate_scn(e, (size_t) SHN_UNDEF)); in _libelf_getscn0() 57 assert(scn->s_ndx == SHN_UNDEF); in _libelf_setshnum() 87 assert(scn->s_ndx == SHN_UNDEF); in _libelf_setshstrndx() 116 assert(scn->s_ndx == SHN_UNDEF); in _libelf_setphnum()
|
H A D | elf_scn.c | 184 return (SHN_UNDEF); in elf_ndxscn() 226 if ((scn = _libelf_allocate_scn(e, (size_t) SHN_UNDEF)) == in elf_newscn()
|
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/ |
H A D | ELFObjcopy.cpp | 265 Sym.getShndx() == SHN_UNDEF) in isAArch64MappingSymbol() 275 Sym.getShndx() == SHN_UNDEF) in isArmMappingSymbol() 300 (Sym.Binding == STB_LOCAL || Sym.getShndx() == SHN_UNDEF) && in isUnneededSymbol() 317 if (!Sym.isCommon() && Sym.getShndx() != SHN_UNDEF && in updateAndRemoveSymbols() 339 Sym.getShndx() != SHN_UNDEF) in updateAndRemoveSymbols() 343 Sym.getShndx() != SHN_UNDEF) in updateAndRemoveSymbols() 351 Sym.getShndx() != SHN_UNDEF) in updateAndRemoveSymbols() 396 Sym.Binding == STB_LOCAL && Sym.getShndx() != SHN_UNDEF && in updateAndRemoveSymbols() 407 Sym.getShndx() == SHN_UNDEF) in updateAndRemoveSymbols()
|
H A D | ELFObject.cpp | 697 return SHN_UNDEF; in getShndx() 843 SectionIndexTable->addIndex(SHN_UNDEF); in fillShndxTable() 932 if (Link != SHN_UNDEF) { in initialize() 945 if (Info != SHN_UNDEF) { in initialize() 1137 if (Link == ELF::SHN_UNDEF) in initialize() 1523 if (GroupSec->Link != SHN_UNDEF) { in initGroupSection() 1631 } else if (Sym.st_shndx != SHN_UNDEF) { in initSymbolTable() 1687 if (Index == SHN_UNDEF || Index > Sections.size()) in getSection() 1837 if (ShstrIndex == SHN_UNDEF) in readSections()
|
/freebsd/contrib/elftoolchain/elfcopy/ |
H A D | symbols.c | 197 SHN_UNDEF, /* st_shndx */ in is_remove_symbol() 208 if (s->st_shndx != SHN_UNDEF && s->st_shndx < SHN_LORESERVE && in is_remove_symbol() 532 if (sym.st_shndx != SHN_UNDEF && in generate_symbols() 538 sym.st_shndx != SHN_UNDEF && in generate_symbols() 543 sym.st_shndx != SHN_UNDEF && in generate_symbols() 619 if ((ndx = elf_ndxscn(s->os)) == SHN_UNDEF) in generate_symbols() 693 if ((ndx = elf_ndxscn(s->os)) == SHN_UNDEF) in create_symtab() 850 add_to_symtab(ecp, NULL, 0, 0, SHN_UNDEF, in create_external_symtab() 862 if ((ndx = elf_ndxscn(s->os)) == SHN_UNDEF) { in create_external_symtab() 910 else if (st_shndx == SHN_UNDEF || st_shndx >= SHN_LORESERVE) \ in add_to_symtab()
|
H A D | sections.c | 441 oldndx = newndx = SHN_UNDEF; in create_scn() 460 if ((newndx = elf_ndxscn(s->os)) == SHN_UNDEF) in create_scn() 464 if ((oldndx = elf_ndxscn(is)) == SHN_UNDEF) in create_scn() 467 if (oldndx != SHN_UNDEF && newndx != SHN_UNDEF) in create_scn() 674 if (ws[i] != SHN_UNDEF && ws[i] < ishnum && in update_section_group()
|
H A D | archive.c | 318 if (sym.st_shndx == SHN_UNDEF) in extract_arsym()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.cpp | 86 result |= e_shnum_hdr == SHN_UNDEF; in HasHeaderExtension() 107 if (e_shnum_hdr == SHN_UNDEF) in ParseHeaderExtension() 296 ENUM_TO_CSTR(SHN_UNDEF); in sectionIndexToCString()
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/common/ |
H A D | symbol.c | 43 if (sym->st_shndx == SHN_UNDEF || sym->st_name == 0) in ignore_symbol()
|
/freebsd/contrib/elftoolchain/nm/ |
H A D | nm.c | 761 return (sym->st_shndx == SHN_UNDEF ? 'v' : 'V'); in get_sym_type() 763 return (sym->st_shndx == SHN_UNDEF ? 'w' : 'W'); in get_sym_type() 766 if (sym->st_shndx == SHN_UNDEF) /* undefined */ in get_sym_type() 1214 dynndx = SHN_UNDEF; in read_elf() 1215 strndx = SHN_UNDEF; in read_elf() 1287 if (dynndx == SHN_UNDEF) { in read_elf() 1295 if (strndx == SHN_UNDEF) { in read_elf() 1327 if ((dynndx == SHN_UNDEF && nm_opts.print_symbol == PRINT_SYM_DYN) || in read_elf() 1328 (strndx == SHN_UNDEF && nm_opts.print_symbol == PRINT_SYM_SYM)) { in read_elf()
|
/freebsd/lib/libkldelf/ |
H A D | ef_obj.c | 141 if (symp->st_shndx != SHN_UNDEF && strcmp(name, strp) == 0) { in ef_obj_lookup_symbol() 180 if (sym->st_shndx != SHN_UNDEF) in ef_obj_symaddr()
|
H A D | ef.c | 156 if (symp->st_shndx != SHN_UNDEF || in ef_lookup_symbol() 219 sym->st_shndx != SHN_UNDEF && sym->st_value != 0) in ef_symaddr()
|
/freebsd/lib/libc/gen/ |
H A D | nlist.c | 266 case SHN_UNDEF: in elf_sym_to_nlist()
|
/freebsd/sys/ddb/ |
H A D | db_main.c | 126 if (sym->st_name == 0 || sym->st_shndx == SHN_UNDEF) in X_db_search_symbol()
|
H A D | db_ctf.c | 73 if (symp->st_name == 0 || symp->st_shndx == SHN_UNDEF) { in sym_to_objtoff()
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | input.c | 404 sym.st_shndx == SHN_UNDEF) in symit_next()
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_module.c | 118 if (is_elf_obj && sym->st_shndx != SHN_UNDEF && in dt_module_syminit32() 167 if (is_elf_obj && sym->st_shndx != SHN_UNDEF && in dt_module_syminit64() 1486 symp->st_shndx = SHN_UNDEF; in dtrace_lookup_by_name() 1674 if (symp->st_shndx == SHN_UNDEF && dmp->dm_extern != NULL) { in dtrace_symbol_type()
|
H A D | dt_pid.c | 236 if (symp->st_shndx == SHN_UNDEF) in dt_pid_sym_filt() 366 sym.st_shndx == SHN_UNDEF || sym.st_size == 0) in dt_pid_per_mod()
|
/freebsd/sys/kern/ |
H A D | link_elf_obj.c | 1477 if (symp->st_shndx != SHN_UNDEF && strcmp(name, strp) == 0) { in link_elf_lookup_symbol1() 1675 sym->st_shndx = SHN_UNDEF; in elf_obj_cleanup_globals_cache() 1705 if (sym->st_shndx != SHN_UNDEF) { in elf_obj_lookup() 1774 if (sym->st_shndx != SHN_UNDEF) in link_elf_fix_link_set()
|
H A D | link_elf.c | 1547 if (symp->st_shndx != SHN_UNDEF || in link_elf_lookup_symbol1() 1589 if (symp->st_shndx != SHN_UNDEF || in link_elf_lookup_debug_symbol() 1615 if (symp->st_shndx != SHN_UNDEF || in link_elf_lookup_debug_symbol_ctf() 1878 if (sym->st_shndx == SHN_UNDEF || sym->st_value == 0) { in elf_lookup()
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | InputFiles.cpp | 1143 if (secIdx == SHN_UNDEF) { in initializeSymbols() 1220 if (eSym.st_shndx == SHN_UNDEF || sec == &InputSection::discarded) in initSectionsAndLocalSyms() 1257 if (!sym.file || !sym.isDefined() || secIdx == SHN_UNDEF || in postParse() 1892 if (eSyms[i].st_shndx == SHN_UNDEF) in parseLazy()
|
/freebsd/usr.sbin/crunch/crunchide/ |
H A D | exec_elf32.c | 421 (xe16toh(sp->st_shndx) == SHN_UNDEF)) { in ELFNAMEEND()
|
/freebsd/libexec/rtld-elf/aarch64/ |
H A D | reloc.c | 223 if (def->st_shndx == SHN_UNDEF) { in reloc_tlsdesc()
|
/freebsd/stand/common/ |
H A D | load_elf_obj.c | 572 if (sym.st_shndx == SHN_UNDEF || sym.st_shndx >= ef->hdr.e_shnum) in __elfN()
|