Lines Matching refs:sinfo

321 	section_info_table *	sinfo;  in traverse_file()  local
341 sinfo = &state->sec_table[scn_index]; in traverse_file()
345 shdr = &(sinfo->shdr); in traverse_file()
358 sinfo->scn = scn; in traverse_file()
359 sinfo->secno = scn_index; in traverse_file()
360 sinfo->osecno = scn_index; in traverse_file()
361 SET_ACTION(sinfo->flags, ACT_NOP); in traverse_file()
362 sinfo->name = name; in traverse_file()
364 SET_LOC(sinfo->flags, NOSEG); in traverse_file()
366 SET_LOC(sinfo->flags, scn_location(scn, elf, state)); in traverse_file()
370 sinfo, 10) == NULL) { in traverse_file()
391 sinfo->rel_name = temp_name; in traverse_file()
392 sinfo->rel_scn_index = in traverse_file()
395 sinfo->rel_loc = NOSEG; in traverse_file()
397 sinfo->rel_loc = in traverse_file()
407 sinfo->data = data; in traverse_file()
414 SET_CANDIDATE(sinfo->flags); in traverse_file()
431 SET_CANDIDATE(sinfo->flags); in traverse_file()
441 SET_CANDIDATE(sinfo->flags); in traverse_file()
444 x = GET_LOC(sinfo->flags); in traverse_file()
473 if (ISCANDIDATE(sinfo->flags)) { in traverse_file()
474 ret += apply_action(sinfo, cur_file, cmd_info); in traverse_file()
484 GET_LOC(sinfo->flags) == AFTER) { in traverse_file()
489 sinfo++; in traverse_file()
491 sinfo->scn = (Elf_Scn *) -1; in traverse_file()
584 sinfo = &(state->sec_table[0]); in traverse_file()
586 sinfo++; in traverse_file()
587 rel_idx = sinfo->rel_scn_index; in traverse_file()
595 if (((sinfo->secno == in traverse_file()
597 (sinfo->secno == in traverse_file()
599 sinfo->rel_loc != IN) { in traverse_file()
620 (GET_LOC(sinfo->flags) != IN)) { in traverse_file()
621 if (GET_LOC(sinfo->flags) == in traverse_file()
623 sinfo->secno = in traverse_file()
626 sinfo->secno = in traverse_file()
628 SET_ACTION(sinfo->flags, ACT_DELETE); in traverse_file()
635 sinfo = &(state->sec_table[1]); in traverse_file()
637 shdr = &(sinfo->shdr); in traverse_file()
638 if (sinfo->secno == (GElf_Word)DELETED) { in traverse_file()
654 sinfo->secno -= acc; in traverse_file()
660 sinfo++; in traverse_file()
1550 section_info_table *sinfo; in post_process() local
1569 for (APLIST_TRAVERSE(cmd_info->sh_groups, idx, sinfo)) { in post_process()
1570 if (sinfo->secno == (GElf_Word)DELETED) in post_process()
1572 num = (sinfo->shdr).sh_size/sizeof (Word); in post_process()
1574 grpdata = (Word *)(sinfo->data->d_buf); in post_process()
1586 sinfo->secno = (GElf_Word)DELETED; in post_process()
1597 section_info_table *sinfo; in post_process() local
1602 sinfo = &state->sec_table[sno]; in post_process()
1603 if (sinfo->secno != (GElf_Word) DELETED) in post_process()
1604 sinfo->secno = sno2++; in post_process()
1613 for (APLIST_TRAVERSE(cmd_info->sh_groups, idx, sinfo)) { in post_process()
1614 if (sinfo->secno == (GElf_Word)DELETED) in post_process()
1616 num = (sinfo->shdr).sh_size/sizeof (Word); in post_process()
1621 if ((sinfo->mdata = malloc(sizeof (Elf_Data))) == NULL) { in post_process()
1626 *(sinfo->mdata) = *(sinfo->data); in post_process()
1627 if ((ngrpdata = sinfo->mdata->d_buf = in post_process()
1628 malloc(sinfo->data->d_size)) == NULL) { in post_process()
1634 grpdata = (Word *)(sinfo->data->d_buf); in post_process()
1644 sinfo->mdata->d_size = j * sizeof (Word); in post_process()
1645 sinfo->data = sinfo->mdata; in post_process()