Home | History | Annotate | Download | only in src

Lines Matching refs:allsections

2854       ld_state.allsections[ld_state.nallsections++] = (*scnhead);
2929 ld_state.allsections[ld_state.nallsections++] = newp;
2936 queued = ld_state.allsections[ld_state.nallsections - 1];
2972 memcpy (temp, ld_state.allsections,
3025 if (ld_state.allsections[last_writable]->type != SHT_NOBITS)
3027 /* Make room in the ALLSECTIONS array for a new section.
3031 memmove (&ld_state.allsections[last_writable + 1],
3032 &ld_state.allsections[last_writable],
3034 * sizeof (ld_state.allsections[0]));
3036 ld_state.allsections[last_writable] = (struct scnhead *)
3040 ld_state.allsections[last_writable]->name = ".bss";
3042 ld_state.allsections[last_writable]->type = SHT_NOBITS;
3044 ld_state.allsections[last_writable]->segment_nr
3045 = ld_state.allsections[last_writable - 1]->segment_nr;
3069 if (likely (ld_state.allsections[last_writable]->last != NULL))
3071 si->next = ld_state.allsections[last_writable]->last->next;
3072 ld_state.allsections[last_writable]->last->next = si;
3073 ld_state.allsections[last_writable]->last = si;
3076 ld_state.allsections[last_writable]->last = si->next = si;
3099 if (likely (ld_state.allsections[last_writable]->last != NULL))
3101 si->next = ld_state.allsections[last_writable]->last->next;
3102 ld_state.allsections[last_writable]->last->next = si;
3103 ld_state.allsections[last_writable]->last = si;
3106 ld_state.allsections[last_writable]->last = si->next = si;
3141 if ((ld_state.allsections[cnt]->type == SHT_REL
3142 || ld_state.allsections[cnt]->type == SHT_RELA)
3145 && ld_state.allsections[cnt]->last != NULL)
3148 list = ld_state.allsections[cnt]->last;
3153 list->next = ld_state.allsections[cnt]->last->next;
3154 ld_state.allsections[cnt]->last->next = first;
3155 list = ld_state.allsections[cnt]->last;
3159 ld_state.allsections[cnt] = NULL;
3174 struct scnhead *head = ld_state.allsections[cnt];
4439 struct scnhead *head = ld_state.allsections[cnt];
5246 file->symindirect[cnt] = ld_state.allsections[file->scninfo[xndx].allsectionsidx]->scnsymidx;
6113 if (ld_state.allsections[cnt]->scnidx != 0)
6117 scn = elf_getscn (ld_state.outelf, ld_state.allsections[cnt]->scnidx);
6122 shdr->sh_name = ebl_strtaboffset (ld_state.allsections[cnt]->nameent);
6275 ld_state.allsections[nsec]->scnidx);
6315 if (ld_state.allsections[nsec]->name
6328 isect = first = ld_state.allsections[nsec]->last;
6341 ld_state.allsections[nsec]->addr = addr;
6406 ld_state.allsections[nsec]->scnidx);
6527 /* Note we subtract 1 from the section index since ALLSECTIONS
6529 sym->st_value += ld_state.allsections[shndx - 1]->addr;
6547 /* Note we subtract 1 from the section index since ALLSECTIONS
6549 sym->st_value += ld_state.allsections[sym->st_shndx - 1]->addr;