Lines Matching defs:shndx

391       GElf_Word shndx = SHN_UNDEF;
392 GElf_Sym *sym = gelf_getsymshndx (data, shndxdata, i, &sym_mem, &shndx);
400 shndx = sym->st_shndx;
402 if (shndx != i || GELF_ST_TYPE (sym->st_info) != STT_SECTION)
407 shndx = SHN_UNDEF;
408 ELF_CHECK (gelf_update_symshndx (newsymdata, shndxdata, i, sym, shndx),
655 GElf_Word shndx = SHN_UNDEF;
657 i, &sym_mem, &shndx);
660 sym, shndx),
679 GElf_Word shndx = i < SHN_LORESERVE ? SHN_UNDEF : i;
681 &sym, shndx),
689 GElf_Word shndx = SHN_UNDEF;
691 i, &sym_mem, &shndx);
694 i + added, sym, shndx),
824 GElf_Word shndx;
858 GElf_Word shndx = SHN_UNDEF;
860 &sym_mem, &shndx);
863 shndx = sym->st_shndx;
876 s->shndx = shndx;
880 if (scnmap != NULL && shndx != SHN_UNDEF && shndx < SHN_LORESERVE)
881 s->shndx = scnmap[shndx - 1];
887 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (outelf, s->shndx),
895 && shndx == elf_ndxscn (split_bss->outscn))
897 s->shndx = elf_ndxscn (split_bss[-1].outscn);
918 CMP (shndx);
949 CMP (shndx);
1747 GElf_Word shndx = SHN_UNDEF;
1749 i, &sym_mem, &shndx);
1753 shndx = sym->st_shndx;
1755 if (shndx != SHN_UNDEF && shndx < SHN_LORESERVE)
1757 if (shndx >= stripped_shnum)
1761 shndx = ndx_section[shndx - 1];
1762 if (shndx < SHN_LORESERVE)
1764 sym->st_shndx = shndx;
1765 shndx = SHN_UNDEF;
1771 i, sym, shndx),
1787 Elf32_Word *shndx = (Elf32_Word *) outdata->d_buf;
1789 if (shndx[i] == SHN_UNDEF || shndx[i] >= stripped_shnum)
1793 shndx[i] = ndx_section[shndx[i] - 1];
1850 if (s->shndx == SHN_UNDEF
1978 sym.st_shndx = s->shndx; /* Already mapped to output index. */