Lines Matching full:allsections
2844 ld_state.allsections[ld_state.nallsections++] = (*scnhead);
2919 ld_state.allsections[ld_state.nallsections++] = newp;
2926 queued = ld_state.allsections[ld_state.nallsections - 1];
2962 memcpy (temp, ld_state.allsections,
3015 if (ld_state.allsections[last_writable]->type != SHT_NOBITS)
3017 /* Make room in the ALLSECTIONS array for a new section.
3021 memmove (&ld_state.allsections[last_writable + 1],
3022 &ld_state.allsections[last_writable],
3024 * sizeof (ld_state.allsections[0]));
3026 ld_state.allsections[last_writable] = (struct scnhead *)
3030 ld_state.allsections[last_writable]->name = ".bss";
3032 ld_state.allsections[last_writable]->type = SHT_NOBITS;
3034 ld_state.allsections[last_writable]->segment_nr
3035 = ld_state.allsections[last_writable - 1]->segment_nr;
3059 if (likely (ld_state.allsections[last_writable]->last != NULL))
3061 si->next = ld_state.allsections[last_writable]->last->next;
3062 ld_state.allsections[last_writable]->last->next = si;
3063 ld_state.allsections[last_writable]->last = si;
3066 ld_state.allsections[last_writable]->last = si->next = si;
3089 if (likely (ld_state.allsections[last_writable]->last != NULL))
3091 si->next = ld_state.allsections[last_writable]->last->next;
3092 ld_state.allsections[last_writable]->last->next = si;
3093 ld_state.allsections[last_writable]->last = si;
3096 ld_state.allsections[last_writable]->last = si->next = si;
3131 if ((ld_state.allsections[cnt]->type == SHT_REL
3132 || ld_state.allsections[cnt]->type == SHT_RELA)
3135 && ld_state.allsections[cnt]->last != NULL)
3138 list = ld_state.allsections[cnt]->last;
3143 list->next = ld_state.allsections[cnt]->last->next;
3144 ld_state.allsections[cnt]->last->next = first;
3145 list = ld_state.allsections[cnt]->last;
3149 ld_state.allsections[cnt] = NULL;
3164 struct scnhead *head = ld_state.allsections[cnt];
4429 struct scnhead *head = ld_state.allsections[cnt];
5236 file->symindirect[cnt] = ld_state.allsections[file->scninfo[xndx].allsectionsidx]->scnsymidx;
6102 if (ld_state.allsections[cnt]->scnidx != 0)
6106 scn = elf_getscn (ld_state.outelf, ld_state.allsections[cnt]->scnidx);
6111 shdr->sh_name = ebl_strtaboffset (ld_state.allsections[cnt]->nameent);
6264 ld_state.allsections[nsec]->scnidx);
6304 if (ld_state.allsections[nsec]->name
6317 isect = first = ld_state.allsections[nsec]->last;
6330 ld_state.allsections[nsec]->addr = addr;
6395 ld_state.allsections[nsec]->scnidx);
6516 /* Note we subtract 1 from the section index since ALLSECTIONS
6518 sym->st_value += ld_state.allsections[shndx - 1]->addr;
6536 /* Note we subtract 1 from the section index since ALLSECTIONS
6538 sym->st_value += ld_state.allsections[sym->st_shndx - 1]->addr;