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