Home | History | Annotate | Download | only in elfcopy

Lines Matching refs:idx

79                                            int idx, /* index of .dynamic section */
183 shdr_info[shdridx].idx = highest_scn_num;
243 if (shdr_info[cnt].idx > 0) {
249 shdr_info[cnt].idx,
257 ASSERT(scn == elf_getscn(newelf, shdr_info[cnt].idx));
272 shdr_info[shdr_info[cnt].shdr.sh_link].idx,
276 shdr_info[shdr_info[cnt].shdr.sh_link].idx;
282 shdr_info[shdr_info[cnt].shdr.sh_info].idx,
286 shdr_info[shdr_info[cnt].shdr.sh_info].idx;
475 sec = shdr_info[sym->st_shndx].idx;
676 } /* if (shdr_info[cnt].idx > 0) */
688 if (shdr_info[cnt].idx == 0) {
750 shdr_info[cnt].idx, /* hash table index */
866 if (shdr_info[scnidx].idx > 0) {
1133 if (/* shdr_info[cnt].idx > 0 && */
1137 int hacked = shdr_info[cnt].idx == 0;
1142 shdr_info[cnt].idx = elf_ndxscn(shdr_info[cnt].scn);
1143 data = elf_getdata (elf_getscn (elf, shdr_info[cnt].idx), NULL);
1146 shdr_info[cnt].idx);
1149 data = elf_getdata (elf_getscn (newelf, shdr_info[cnt].idx), NULL);
1159 shdr_info[cnt].idx = 0;
1200 FAILIF(!(shdr_info[shdridx].idx < SHN_HIRESERVE) &&
1201 likely (shdr_info[shdridx].idx != SHN_XINDEX),
1206 shdr_info[shdridx].idx,
1208 newehdr->e_shstrndx = shdr_info[shdridx].idx;
1236 Elf_Data *symd = elf_getdata (elf_getscn (newelf, symtab_info->idx), NULL);
1319 Elf_Data *d = elf_getdata (elf_getscn (newelf, relsect_info->idx), NULL);
1480 FAILIF(info[relsect_info->old_shdr.sh_info].idx == 0,
1557 ASSERT(old_range_info->idx > 0);
1559 old_range_info->idx != relsect_info->old_shdr.sh_info) {
1688 i, info[i].name, info[i].idx);
1706 if (shdr_info[scnidx].idx > 0) {
1709 shdr_info[scnidx].idx,
1776 shdr_info[scnidx].idx,
1997 shdr_info[dyn_size_entries[dyn->d_tag]].idx,
2140 if (shdr_info[inner].idx > 0) {
2194 if (shdr_info[i].idx > 0 &&
2203 in the shdr_info[] array. The idx field of that entry is that
2206 ASSERT(shdr_info[shdr_info[i].old_shdr.sh_link].idx ==
2409 if(shdr_info[scnidx].idx == 0)
2441 if (vaddr_delta || shdr_info[scnidx].idx != scnidx) {
2465 the idx field, may have changed. However the index
2471 if (shdr_info[scnidx].idx != scnidx) {
2474 shdr_info[scnidx].idx);
2479 sym->st_shndx = shdr_info[scnidx].idx;
2501 Elf_Scn *scn = elf_getscn (newelf, shdr_info->idx);
2655 if (shdr_info[start].idx > 0) {
2661 shdr_info[start].idx,
2674 shdr_info[start].idx);
2679 } /* if (shdr_info[start].idx > 0) */
2685 shdr_info[start].idx);
2735 if (shdr_info[si].idx > 0
2931 if (shdr_info[si].idx <= 0)
2958 if (shdr_info[sj].idx <= 0)