Home
last modified time | relevance | path

Searched refs:os_shnum (Results 1 – 8 of 8) sorted by relevance

/titanic_50/usr/src/cmd/sgs/elfedit/common/
H A Dutil_machelf.c123 Word shnum = obj_state->os_shnum; in elfedit_name_to_shndx()
159 Word shnum = obj_state->os_shnum; in elfedit_type_to_shndx()
275 if ((shndx < obj_state->os_shnum) && in elfedit_shndx_to_name()
302 if ((shndx == 0) || (shndx >= obj_state->os_shnum)) in elfedit_sec_get()
304 EC_WORD(shndx), EC_WORD(obj_state->os_shnum - 1)); in elfedit_sec_get()
375 for (cnt = 1; cnt < obj_state->os_shnum; cnt++) { in elfedit_sec_getcap()
455 for (cnt = 1; cnt < obj_state->os_shnum; cnt++) { in elfedit_sec_getsyminfo()
578 if (by_index && (index >= obj_state->os_shnum)) in elfedit_sec_getsymtab()
580 EC_WORD(index), EC_WORD(obj_state->os_shnum - 1)); in elfedit_sec_getsymtab()
769 if ((shndx == 0) || (shndx >= obj_state->os_shnum)) in elfedit_sec_getstr()
[all …]
H A Delfedit_machelf.c160 if (elf_getshdrnum(tstate.os_elf, &tstate.os_shnum) == -1) in elfedit64_init_obj_state()
222 secarr_size = (tstate.os_shnum * sizeof (elfedit_section_t)); in elfedit64_init_obj_state()
/titanic_50/usr/src/cmd/sgs/elfedit/modules/common/
H A Dstr.c206 if (ndx < obj_state->os_shnum) { in shndx_to_strtab()
222 if (ndx < obj_state->os_shnum) in shndx_to_strtab()
788 for (ndx = 0; ndx < obj_state->os_shnum; ndx++, sec++) { in cpl_sh_opt()
854 for (i = 1; i < obj_state->os_shnum; i++) in cpl_sec_str()
875 for (i = 1; i < obj_state->os_shnum; i++) in cpl_sec_str()
891 if ((strtab_ndx >= obj_state->os_shnum) || in cpl_sec_str()
H A Dshdr.c372 print_shdr(cmd, 0, &argstate, 0, obj_state->os_shnum, in cmd_body()
383 ndx = elfedit_atoshndx(argstate.argv[0], obj_state->os_shnum); in cmd_body()
399 1 : obj_state->os_shnum - ndx; in cmd_body()
776 for (ndx = 0; ndx < obj_state->os_shnum; ndx++, sec++) in cpl_1starg_sec()
837 for (ndx = 0; ndx < obj_state->os_shnum; ndx++, sec++) in cpl_sh_infolink()
H A Dehdr.c1125 obj_state->os_shnum); in cmd_body()
1135 if ((shstrndx >= obj_state->os_shnum) || in cmd_body()
1500 for (ndx = 0; ndx < obj_state->os_shnum; ndx++) { in cpl_e_shstrndx()
H A Dphdr.c307 for (i = 1; i < obj_state->os_shnum; i++) { in locate_interp()
566 for (i = 1; i < obj_state->os_shnum; i++) { in cmd_body_set_interp()
H A Dsym.c808 argstate->obj_state->os_shnum); in cmd_body_set_st_shndx()
1084 obj_state->os_shnum - 1, NULL); in process_args()
1573 for (ndx = 0; ndx < obj_state->os_shnum; ndx++, sec++) in cpl_st_shndx()
/titanic_50/usr/src/cmd/sgs/include/
H A Delfedit.h211 size_t os_shnum; /* # of sections in file */ member
226 size_t os_shnum; member