Home | History | Annotate | Download | only in src

Lines Matching defs:shndx

348       GElf_Word shndx = SHN_UNDEF;
349 GElf_Sym *sym = gelf_getsymshndx (data, shndxdata, i, &sym_mem, &shndx);
357 shndx = sym->st_shndx;
359 if (shndx != i || GELF_ST_TYPE (sym->st_info) != STT_SECTION)
364 shndx = SHN_UNDEF;
365 ELF_CHECK (gelf_update_symshndx (newsymdata, shndxdata, i, sym, shndx),
576 GElf_Word shndx = SHN_UNDEF;
578 i, &sym_mem, &shndx);
580 sym, shndx),
599 GElf_Word shndx = i < SHN_LORESERVE ? SHN_UNDEF : i;
601 &sym, shndx),
609 GElf_Word shndx = SHN_UNDEF;
611 i, &sym_mem, &shndx);
613 i + added, sym, shndx),
730 GElf_Word shndx;
762 GElf_Word shndx = SHN_UNDEF;
764 &sym_mem, &shndx);
767 shndx = sym->st_shndx;
778 s->shndx = shndx;
782 if (scnmap != NULL && shndx != SHN_UNDEF && shndx < SHN_LORESERVE)
783 s->shndx = scnmap[shndx - 1];
789 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (outelf, s->shndx),
797 && shndx == elf_ndxscn (split_bss->outscn))
799 s->shndx = elf_ndxscn (split_bss[-1].outscn);
820 CMP (shndx);
851 CMP (shndx);
1538 GElf_Word shndx = SHN_UNDEF;
1540 i, &sym_mem, &shndx);
1544 shndx = sym->st_shndx;
1546 if (shndx != SHN_UNDEF && shndx < SHN_LORESERVE)
1548 if (shndx >= stripped_shnum)
1552 shndx = ndx_section[shndx - 1];
1553 if (shndx < SHN_LORESERVE)
1555 sym->st_shndx = shndx;
1556 shndx = SHN_UNDEF;
1562 i, sym, shndx),
1622 if (s->shndx == SHN_UNDEF
1704 sym.st_shndx = s->shndx; /* Already mapped to output index. */