Lines Matching refs:allsections
2641 ld_state.allsections[ld_state.nallsections++] = (*scnhead);
2714 ld_state.allsections[ld_state.nallsections++] = newp;
2721 queued = ld_state.allsections[ld_state.nallsections - 1];
2754 memcpy (temp, ld_state.allsections,
2807 if (ld_state.allsections[last_writable]->type != SHT_NOBITS)
2809 /* Make room in the ALLSECTIONS array for a new section.
2813 memmove (&ld_state.allsections[last_writable + 1],
2814 &ld_state.allsections[last_writable],
2816 * sizeof (ld_state.allsections[0]));
2818 ld_state.allsections[last_writable] = (struct scnhead *)
2822 ld_state.allsections[last_writable]->name = ".bss";
2824 ld_state.allsections[last_writable]->type = SHT_NOBITS;
2826 ld_state.allsections[last_writable]->segment_nr
2827 = ld_state.allsections[last_writable - 1]->segment_nr;
2851 if (likely (ld_state.allsections[last_writable]->last != NULL))
2853 si->next = ld_state.allsections[last_writable]->last->next;
2854 ld_state.allsections[last_writable]->last->next = si;
2855 ld_state.allsections[last_writable]->last = si;
2858 ld_state.allsections[last_writable]->last = si->next = si;
2881 if (likely (ld_state.allsections[last_writable]->last != NULL))
2883 si->next = ld_state.allsections[last_writable]->last->next;
2884 ld_state.allsections[last_writable]->last->next = si;
2885 ld_state.allsections[last_writable]->last = si;
2888 ld_state.allsections[last_writable]->last = si->next = si;
2923 if ((ld_state.allsections[cnt]->type == SHT_REL
2924 || ld_state.allsections[cnt]->type == SHT_RELA)
2927 && ld_state.allsections[cnt]->last != NULL)
2930 list = ld_state.allsections[cnt]->last;
2935 list->next = ld_state.allsections[cnt]->last->next;
2936 ld_state.allsections[cnt]->last->next = first;
2937 list = ld_state.allsections[cnt]->last;
2941 ld_state.allsections[cnt] = NULL;
2956 struct scnhead *head = ld_state.allsections[cnt];
3781 struct scnhead *head = ld_state.allsections[cnt];
4557 file->symindirect[cnt] = ld_state.allsections[file->scninfo[xndx].allsectionsidx]->scnsymidx;
5447 if (ld_state.allsections[cnt]->scnidx != 0)
5451 scn = elf_getscn (ld_state.outelf, ld_state.allsections[cnt]->scnidx);
5456 shdr->sh_name = ebl_strtaboffset (ld_state.allsections[cnt]->nameent);
5603 scn = elf_getscn (ld_state.outelf, ld_state.allsections[nsec]->scnidx);
5633 if (ld_state.allsections[nsec]->name
5646 isect = first = ld_state.allsections[nsec]->last;
5659 ld_state.allsections[nsec]->addr = addr;
5701 ld_state.allsections[nsec]->scnidx);
5799 /* Note we subtract 1 from the section index since ALLSECTIONS
5801 sym->st_value += ld_state.allsections[shndx - 1]->addr;
5819 /* Note we subtract 1 from the section index since ALLSECTIONS
5821 sym->st_value += ld_state.allsections[sym->st_shndx - 1]->addr;