Lines Matching full:shndx
382 GElf_Word shndx = SHN_UNDEF;
383 GElf_Sym *sym = gelf_getsymshndx (data, shndxdata, i, &sym_mem, &shndx);
391 shndx = sym->st_shndx;
393 if (shndx != i || GELF_ST_TYPE (sym->st_info) != STT_SECTION)
398 shndx = SHN_UNDEF;
399 ELF_CHECK (gelf_update_symshndx (newsymdata, shndxdata, i, sym, shndx),
616 GElf_Word shndx = SHN_UNDEF;
618 i, &sym_mem, &shndx);
620 sym, shndx),
639 GElf_Word shndx = i < SHN_LORESERVE ? SHN_UNDEF : i;
641 &sym, shndx),
649 GElf_Word shndx = SHN_UNDEF;
651 i, &sym_mem, &shndx);
653 i + added, sym, shndx),
770 GElf_Word shndx;
802 GElf_Word shndx = SHN_UNDEF;
804 &sym_mem, &shndx);
807 shndx = sym->st_shndx;
818 s->shndx = shndx;
822 if (scnmap != NULL && shndx != SHN_UNDEF && shndx < SHN_LORESERVE)
823 s->shndx = scnmap[shndx - 1];
829 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (outelf, s->shndx),
837 && shndx == elf_ndxscn (split_bss->outscn))
839 s->shndx = elf_ndxscn (split_bss[-1].outscn);
860 CMP (shndx);
891 CMP (shndx);
1608 GElf_Word shndx = SHN_UNDEF;
1610 i, &sym_mem, &shndx);
1614 shndx = sym->st_shndx;
1616 if (shndx != SHN_UNDEF && shndx < SHN_LORESERVE)
1618 if (shndx >= stripped_shnum)
1622 shndx = ndx_section[shndx - 1];
1623 if (shndx < SHN_LORESERVE)
1625 sym->st_shndx = shndx;
1626 shndx = SHN_UNDEF;
1632 i, sym, shndx),
1692 if (s->shndx == SHN_UNDEF
1818 sym.st_shndx = s->shndx; /* Already mapped to output index. */