Searched refs:st_shndx (Results 1 - 25 of 61) sorted by relevance

123

/freebsd-10.0-release/cddl/contrib/opensolaris/tools/ctf/common/
H A Dsymbol.c43 if (sym->st_shndx == SHN_UNDEF || sym->st_name == 0)
58 if (type == STT_OBJECT && sym->st_shndx == SHN_ABS &&
/freebsd-10.0-release/lib/libelf/
H A Dgelf_sym.c87 dst->st_shndx = sym32->st_shndx;
143 sym32->st_shndx = gs->st_shndx;
H A Delf_types.m4233 `st_shndx, HALF',
240 `st_shndx, HALF',
/freebsd-10.0-release/contrib/binutils/include/elf/
H A Dexternal.h134 unsigned char st_shndx[2]; /* Associated section index */ member in struct:__anon517
141 unsigned char st_shndx[2]; /* Associated section index */ member in struct:__anon518
H A Dinternal.h103 unsigned int st_shndx; /* Associated section index */ member in struct:elf_internal_sym
/freebsd-10.0-release/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.cpp315 st_shndx,
316 sectionIndexToCString (st_shndx, section_list),
340 // Read st_shndx.
341 if (data.GetU16(offset, &st_shndx, 1) == NULL)
350 // Read st_shndx.
351 if (data.GetU16(offset, &st_shndx, 1) == NULL)
H A DELFHeader.h232 elf_half st_shndx; ///< Section to which this symbol applies. member in struct:elf::ELFSymbol
/freebsd-10.0-release/contrib/binutils/bfd/
H A Delf32-cr16.c715 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 Delfcode.h189 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 Delflink.c615 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 Delf64-sparc.c498 p->shndx = sym->st_shndx;
587 sym.st_shndx = app_regs [reg].shndx;
589 sym.st_shndx == SHN_ABS
H A Delf.c443 /* Check for a bogus st_shndx to avoid crashing. */
444 && isym->st_shndx < elf_numsections (abfd)
445 && !(isym->st_shndx >= SHN_LORESERVE && isym->st_shndx <= SHN_HIRESERVE))
447 iname = elf_elfsections (abfd)[isym->st_shndx]->sh_name;
2303 if ((isym.st_shndx != SHN_UNDEF && isym.st_shndx < SHN_LORESERVE)
2304 || isym.st_shndx > SHN_HIRESERVE)
2307 s = bfd_section_from_elf_index (abfd, isym.st_shndx);
6228 shndx = isym->internal_elf_sym.st_shndx;
8878 unsigned int st_shndx; member in struct:elf_symbuf_head
[all...]
/freebsd-10.0-release/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Doutput.c278 if (sym.st_shndx != weak->st_shndx)
635 if (sym.st_shndx >= SHN_LORESERVE)
638 if ((newscn = secxlate[sym.st_shndx]) !=
639 sym.st_shndx) {
640 sym.st_shndx =
/freebsd-10.0-release/lib/libc/gen/
H A Dnlist.c385 switch (s->st_shndx) {
395 if (s->st_shndx >= shnum)
398 Elf_Shdr *sh = shdr + s->st_shndx;
/freebsd-10.0-release/contrib/gdb/gdb/
H A Dmipsread.c158 unsigned char st_shndx[2]; /* Associated section index */ member in struct:__anon1284
340 sym_shndx = bfd_h_get_16 (abfd, (bfd_byte *) x_symp->st_shndx);
/freebsd-10.0-release/sys/sys/
H A Delf32.h189 Elf32_Half st_shndx; /* Section index of symbol. */ member in struct:__anon10993
H A Delf64.h194 Elf64_Half st_shndx; /* Section index of symbol. */ member in struct:__anon11009
/freebsd-10.0-release/sys/xen/interface/
H A Delfstructs.h283 Elf32_Half st_shndx; /* section header index */ member in struct:elf32_sym
290 Elf64_Quarter st_shndx; /* section index of symbol */ member in struct:__anon11179
/freebsd-10.0-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_module.c112 if (is_elf_obj && sym->st_shndx != SHN_UNDEF &&
113 sym->st_shndx < ehdr.e_shnum)
115 dmp->dm_sec_offsets[sym->st_shndx];
161 if (is_elf_obj && sym->st_shndx != SHN_UNDEF &&
162 sym->st_shndx < ehdr.e_shnum)
164 dmp->dm_sec_offsets[sym->st_shndx];
287 dst->st_shndx = src->st_shndx;
1220 symp->st_shndx = SHN_UNDEF;
1381 if (symp->st_shndx
[all...]
/freebsd-10.0-release/contrib/binutils/binutils/
H A Dreadelf.c274 /* 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-10.0-release/libexec/rtld-elf/ia64/
H A Dreloc.c177 target = (def->st_shndx != SHN_UNDEF)
213 if (def->st_shndx != SHN_UNDEF) {
259 if (def->st_shndx != SHN_UNDEF) {
/freebsd-10.0-release/libexec/rtld-elf/mips/
H A Dreloc.c308 broken && sym->st_shndx == SHN_UNDEF) {
329 sym->st_value != 0 && sym->st_shndx == SHN_UNDEF) {
353 if (sym->st_shndx != SHN_ABS) {
/freebsd-10.0-release/sys/boot/common/
H A Dload_elf_obj.c536 if (sym.st_shndx == SHN_UNDEF || sym.st_shndx >= ef->hdr.e_shnum)
538 base = ef->e_shdr[sym.st_shndx].sh_addr;
/freebsd-10.0-release/usr.sbin/kldxref/
H A Def_obj.c150 if (symp->st_shndx != SHN_UNDEF && strcmp(name, strp) == 0) {
186 if (sym->st_shndx != SHN_UNDEF)
530 if (es->st_shndx != i)
/freebsd-10.0-release/cddl/contrib/opensolaris/common/ctf/
H A Dctf_open.c100 dst->st_shndx = src->st_shndx;
143 if (gsp->st_name == 0 || gsp->st_shndx == SHN_UNDEF ||
153 (gsp->st_shndx == SHN_ABS && gsp->st_value == 0)) {

Completed in 439 milliseconds

123