Lines Matching refs:shndx
115 SYM_OPT_F_XSHINDEX = 1, /* -e: Force shndx update to extended */
125 SYM_OPT_F_SHNDX = 32, /* -shndx ndx: section spec. by index */
160 Word shndx;
166 Word shndx;
246 Word shndx;
264 if (symstate->versym.shndx != SHN_UNDEF)
268 if (symstate->xshndx.shndx != SHN_UNDEF)
280 shndx = sym->st_shndx;
281 if ((shndx == SHN_XINDEX) && (symstate->xshndx.sec != NULL))
282 shndx = symstate->xshndx.data[ndx];
283 shndx_name = elfedit_shndx_to_name(obj_state, shndx);
363 (symstate1->xshndx.shndx != SHN_UNDEF)) {
371 (symstate2->xshndx.shndx != SHN_UNDEF)) {
495 if (symstate->xshndx.shndx != SHN_UNDEF)
619 if (symstate->versym.shndx != SHN_UNDEF)
621 if (symstate->xshndx.shndx != SHN_UNDEF)
633 if (symstate->xshndx.shndx != SHN_UNDEF)
796 Word shndx, st_shndx, xshndx;
807 shndx = elfedit_atoshndx(argstate->argv[1],
810 shndx = elfedit_type_to_shndx(argstate->obj_state,
813 shndx = elfedit_name_to_shndx(argstate->obj_state,
823 use_xshndx = (shndx > SHN_HIRESERVE) ||
824 ((shndx < SHN_LORESERVE) &&
845 xshndx = shndx;
847 st_shndx = shndx;
849 if (symstate->xshndx.shndx != SHN_UNDEF)
865 if ((symstate->ndx == 0) && (shndx != SHN_UNDEF))
876 if (shndx == SHN_XINDEX)
885 if (use_xshndx && (shndx < SHN_LORESERVE) &&
891 EC_WORD(shndx));
1081 case SYM_OPT_F_SHNDX: /* -shndx index */
1107 * explicitly specified (-shnam, -shndx, or -shtype).
1162 symstate->versym.shndx = symtab->symt_versym;
1163 symstate->xshndx.shndx = symtab->symt_xshndx;
1465 * Handle filling in the values for -shnam, -shndx, and -shtyp options.