/freebsd-11.0-release/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.0-release/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.0-release/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.0-release/contrib/llvm/include/llvm/Object/ |
H A D | ELFTypes.h | 147 Elf_Half st_shndx; // Which section (header table index) it's defined in member in struct:llvm::object::Elf_Sym_Base 156 Elf_Half st_shndx; // Which section (header table index) it's defined in member in struct:llvm::object::Elf_Sym_Base 164 using Elf_Sym_Base<ELFT>::st_shndx; 190 bool isAbsolute() const { return st_shndx == ELF::SHN_ABS; } 192 return getType() == ELF::STT_COMMON || st_shndx == ELF::SHN_COMMON; 196 return st_shndx >= ELF::SHN_LOPROC && st_shndx <= ELF::SHN_HIPROC; 199 return st_shndx >= ELF::SHN_LOOS && st_shndx <= ELF::SHN_HIOS; 202 // ELF::SHN_HIRESERVE is 0xffff so st_shndx < [all...] |
H A D | ELF.h | 228 assert(Sym->st_shndx == ELF::SHN_XINDEX); 239 uint32_t Index = Sym->st_shndx; 245 return getSection(Sym->st_shndx);
|
/freebsd-11.0-release/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_ 871 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.0-release/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.cpp | 329 st_shndx, 330 sectionIndexToCString (st_shndx, section_list), 354 // Read st_shndx. 355 if (data.GetU16(offset, &st_shndx, 1) == NULL) 364 // Read st_shndx. 365 if (data.GetU16(offset, &st_shndx, 1) == NULL)
|
H A D | ELFHeader.h | 232 elf_half st_shndx; ///< Section to which this symbol applies. member in struct:elf::ELFSymbol
|
/freebsd-11.0-release/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.0-release/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.0-release/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.0-release/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.0-release/sys/compat/linux/ |
H A D | linux_vdso.c | 209 if (sym->st_shndx == SHN_UNDEF || 210 sym->st_shndx == SHN_ABS)
|
/freebsd-11.0-release/contrib/elftoolchain/nm/ |
H A D | nm.c | 693 if (sec_table != NULL && sym->st_shndx < sec_table_size) 694 sym_name = sec_table[sym->st_shndx]; 714 if (sym->st_shndx == SHN_ABS) /* absolute */ 717 if (sym->st_shndx == SHN_COMMON) /* common */ 722 return (sym->st_shndx == SHN_UNDEF ? 'v' : 'V'); 724 return (sym->st_shndx == SHN_UNDEF ? 'w' : 'W'); 727 if (sym->st_shndx == SHN_UNDEF) /* undefined */ 730 return (is_local == true && type_table[sym->st_shndx] != 'N' ? 731 tolower((unsigned char) type_table[sym->st_shndx]) : 732 type_table[sym->st_shndx]); [all...] |
/freebsd-11.0-release/sys/sys/ |
H A D | elf32.h | 201 Elf32_Half st_shndx; /* Section index of symbol. */ member in struct:__anon13336
|
H A D | elf64.h | 206 Elf64_Half st_shndx; /* Section index of symbol. */ member in struct:__anon13353
|
/freebsd-11.0-release/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.0-release/sys/kern/ |
H A D | link_elf_obj.c | 387 if (es->st_shndx != i) 858 if (es->st_shndx != i) 1150 if (symp->st_shndx != SHN_UNDEF && strcmp(name, strp) == 0) { 1293 if (sym->st_shndx == SHN_FBSD_CACHED) { 1294 sym->st_shndx = SHN_UNDEF; 1324 if (sym->st_shndx != SHN_UNDEF) { 1359 sym->st_shndx = SHN_FBSD_CACHED; 1390 if (sym->st_shndx != SHN_UNDEF) 1416 sym->st_shndx = i;
|
/freebsd-11.0-release/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.0-release/libexec/rtld-elf/mips/ |
H A D | reloc.c | 312 broken && sym->st_shndx == SHN_UNDEF) { 333 sym->st_value != 0 && sym->st_shndx == SHN_UNDEF) { 357 if (sym->st_shndx != SHN_ABS) {
|
/freebsd-11.0-release/sys/boot/common/ |
H A D | load_elf_obj.c | 531 if (sym.st_shndx == SHN_UNDEF || sym.st_shndx >= ef->hdr.e_shnum) 533 base = ef->e_shdr[sym.st_shndx].sh_addr;
|