/freebsd-11-stable/cddl/contrib/opensolaris/tools/ctf/common/ |
H A D | symbol.c | 43 if (sym->st_shndx == SHN_UNDEF || sym->st_name == 0) 58 if (type == STT_OBJECT && sym->st_shndx == SHN_ABS &&
|
/freebsd-11-stable/contrib/elftoolchain/libelf/ |
H A D | gelf_sym.c | 88 dst->st_shndx = sym32->st_shndx; 148 sym32->st_shndx = gs->st_shndx;
|
/freebsd-11-stable/contrib/binutils/include/elf/ |
H A D | external.h | 134 unsigned char st_shndx[2]; /* Associated section index */ member in struct:__anon507 141 unsigned char st_shndx[2]; /* Associated section index */ member in struct:__anon508
|
H A D | internal.h | 103 unsigned int st_shndx; /* Associated section index */ member in struct:elf_internal_sym
|
/freebsd-11-stable/contrib/elftoolchain/elfcopy/ |
H A D | symbols.c | 197 SHN_UNDEF, /* st_shndx */ 208 if (s->st_shndx != SHN_UNDEF && s->st_shndx < SHN_LORESERVE && 209 ecp->secndx[s->st_shndx] == 0) 532 if (sym.st_shndx != SHN_UNDEF && 538 sym.st_shndx != SHN_UNDEF && 543 sym.st_shndx != SHN_UNDEF && 579 sym.st_shndx, sym.st_info, sym.st_other, 0); 589 sym.st_shndx < SHN_LORESERVE) { 590 assert(ecp->secndx[sym.st_shndx] < (uint64_ 873 add_to_symtab(struct elfcopy *ecp, const char *name, uint64_t st_value, uint64_t st_size, uint16_t st_shndx, unsigned char st_info, unsigned char st_other, int ndx_known) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.cpp | 315 st_shndx, sectionIndexToCString(st_shndx, section_list), 337 // Read st_shndx. 338 if (data.GetU16(offset, &st_shndx, 1) == nullptr) 345 // Read st_shndx. 346 if (data.GetU16(offset, &st_shndx, 1) == nullptr)
|
H A D | ELFHeader.h | 230 elf_half st_shndx; ///< Section to which this symbol applies. member in struct:elf::ELFSymbol
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | ELFTypes.h | 172 Elf_Half st_shndx; // Which section (header table index) it's defined in member in struct:llvm::object::Elf_Sym_Base 181 Elf_Half st_shndx; // Which section (header table index) it's defined in member in struct:llvm::object::Elf_Sym_Base 189 using Elf_Sym_Base<ELFT>::st_shndx; 216 bool isAbsolute() const { return st_shndx == ELF::SHN_ABS; } 219 return getType() == ELF::STT_COMMON || st_shndx == ELF::SHN_COMMON; 225 return st_shndx >= ELF::SHN_LOPROC && st_shndx <= ELF::SHN_HIPROC; 229 return st_shndx >= ELF::SHN_LOOS && st_shndx <= ELF::SHN_HIOS; 233 // ELF::SHN_HIRESERVE is 0xffff so st_shndx < [all...] |
/freebsd-11-stable/contrib/binutils/bfd/ |
H A D | elf32-cr16.c | 715 if (isym->st_shndx == sec_shndx 982 if (isym->st_shndx == SHN_UNDEF) 984 else if (isym->st_shndx == SHN_ABS) 986 else if (isym->st_shndx == SHN_COMMON) 989 isec = bfd_section_from_elf_index (input_bfd, isym->st_shndx); 1105 if (isym->st_shndx == SHN_UNDEF) 1107 else if (isym->st_shndx == SHN_ABS) 1109 else if (isym->st_shndx == SHN_COMMON) 1112 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); 1384 return bfd_section_from_elf_index (sec->owner, sym->st_shndx); [all...] |
H A D | elfcode.h | 189 dst->st_shndx = H_GET_16 (abfd, src->st_shndx); 190 if (dst->st_shndx == SHN_XINDEX) 194 dst->st_shndx = H_GET_32 (abfd, shndx->est_shndx); 215 tmp = src->st_shndx; 223 H_PUT_16 (abfd, tmp, dst->st_shndx); 1216 if (isym->st_shndx == SHN_UNDEF) 1220 else if (isym->st_shndx < SHN_LORESERVE 1221 || isym->st_shndx > SHN_HIRESERVE) 1224 isym->st_shndx); [all...] |
H A D | elflink.c | 615 if (entry->isym.st_shndx != SHN_UNDEF 616 && (entry->isym.st_shndx < SHN_LORESERVE 617 || entry->isym.st_shndx > SHN_HIRESERVE)) 621 s = bfd_section_from_elf_index (input_bfd, entry->isym.st_shndx); 2884 if (sym->st_shndx == SHN_UNDEF) 2894 if (sym->st_shndx >= SHN_LORESERVE && sym->st_shndx < SHN_ABS) 3811 if (isym->st_shndx != SHN_UNDEF && !common) 3821 if (isym->st_shndx == SHN_UNDEF) 3823 else if (isym->st_shndx < SHN_LORESERV [all...] |
H A D | elf64-sparc.c | 498 p->shndx = sym->st_shndx; 587 sym.st_shndx = app_regs [reg].shndx; 589 sym.st_shndx == SHN_ABS
|
/freebsd-11-stable/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | output.c | 276 if (sym.st_shndx != weak->st_shndx) 633 if (sym.st_shndx >= SHN_LORESERVE) 636 if ((newscn = secxlate[sym.st_shndx]) != 637 sym.st_shndx) { 638 sym.st_shndx =
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | nlist.c | 378 switch (s->st_shndx) { 388 if (s->st_shndx >= shnum) 391 Elf_Shdr *sh = shdr + s->st_shndx;
|
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | mipsread.c | 158 unsigned char st_shndx[2]; /* Associated section index */ member in struct:__anon1558 340 sym_shndx = bfd_h_get_16 (abfd, (bfd_byte *) x_symp->st_shndx);
|
/freebsd-11-stable/sys/compat/linux/ |
H A D | linux_vdso.c | 209 if (sym->st_shndx == SHN_UNDEF || 210 sym->st_shndx == SHN_ABS)
|
/freebsd-11-stable/contrib/elftoolchain/nm/ |
H A D | nm.c | 695 if (sec_table != NULL && sym->st_shndx < sec_table_size) 696 sym_name = sec_table[sym->st_shndx]; 716 if (sym->st_shndx == SHN_ABS) /* absolute */ 719 if (sym->st_shndx == SHN_COMMON) /* common */ 724 return (sym->st_shndx == SHN_UNDEF ? 'v' : 'V'); 726 return (sym->st_shndx == SHN_UNDEF ? 'w' : 'W'); 729 if (sym->st_shndx == SHN_UNDEF) /* undefined */ 732 return (is_local == true && type_table[sym->st_shndx] != 'N' ? 733 tolower((unsigned char) type_table[sym->st_shndx]) : 734 type_table[sym->st_shndx]); [all...] |
/freebsd-11-stable/sys/sys/ |
H A D | elf64.h | 206 Elf64_Half st_shndx; /* Section index of symbol. */ member in struct:__anon8494
|
H A D | elf32.h | 201 Elf32_Half st_shndx; /* Section index of symbol. */ member in struct:__anon8476
|
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_module.c | 118 if (is_elf_obj && sym->st_shndx != SHN_UNDEF && 119 sym->st_shndx < ehdr.e_shnum) 121 dmp->dm_sec_offsets[sym->st_shndx]; 167 if (is_elf_obj && sym->st_shndx != SHN_UNDEF && 168 sym->st_shndx < ehdr.e_shnum) 170 dmp->dm_sec_offsets[sym->st_shndx]; 293 dst->st_shndx = src->st_shndx; 1508 symp->st_shndx = SHN_UNDEF; 1696 if (symp->st_shndx [all...] |
/freebsd-11-stable/sys/kern/ |
H A D | link_elf_obj.c | 410 if (es->st_shndx != i) 916 if (es->st_shndx != i) 1218 if (symp->st_shndx != SHN_UNDEF && strcmp(name, strp) == 0) { 1371 if (sym->st_shndx == SHN_FBSD_CACHED) { 1372 sym->st_shndx = SHN_UNDEF; 1402 if (sym->st_shndx != SHN_UNDEF) { 1440 sym->st_shndx = SHN_FBSD_CACHED; 1471 if (sym->st_shndx != SHN_UNDEF) 1497 sym->st_shndx = i;
|
/freebsd-11-stable/contrib/binutils/binutils/ |
H A D | readelf.c | 274 /* Given st_shndx I, map to section_headers index. */ 1256 if (psym->st_shndx < SHN_LORESERVE) 1257 sec_index = psym->st_shndx; 1258 else if (psym->st_shndx > SHN_HIRESERVE) 1259 sec_index = psym->st_shndx - (SHN_HIRESERVE + 1 1264 else if (psym->st_shndx == SHN_ABS) 1266 else if (psym->st_shndx == SHN_COMMON) 1269 && psym->st_shndx == SHN_MIPS_SCOMMON) 1272 && psym->st_shndx == SHN_MIPS_SUNDEFINED) 1275 && psym->st_shndx [all...] |
/freebsd-11-stable/stand/common/ |
H A D | load_elf_obj.c | 535 if (sym.st_shndx == SHN_UNDEF || sym.st_shndx >= ef->hdr.e_shnum) 537 base = ef->e_shdr[sym.st_shndx].sh_addr;
|
/freebsd-11-stable/libexec/rtld-elf/mips/ |
H A D | reloc.c | 320 broken && sym->st_shndx == SHN_UNDEF) { 341 sym->st_value != 0 && sym->st_shndx == SHN_UNDEF) { 365 if (sym->st_shndx != SHN_ABS) {
|
/freebsd-11-stable/usr.sbin/kldxref/ |
H A D | ef_obj.c | 153 if (symp->st_shndx != SHN_UNDEF && strcmp(name, strp) == 0) { 189 if (sym->st_shndx != SHN_UNDEF) 554 if (es->st_shndx != i)
|