Lines Matching refs:tdata

195   tdata_type *tdata;  in srec_mkobject()  local
199 tdata = (tdata_type *) bfd_alloc (abfd, sizeof (tdata_type)); in srec_mkobject()
200 if (tdata == NULL) in srec_mkobject()
203 abfd->tdata.srec_data = tdata; in srec_mkobject()
204 tdata->type = 1; in srec_mkobject()
205 tdata->head = NULL; in srec_mkobject()
206 tdata->tail = NULL; in srec_mkobject()
207 tdata->symbols = NULL; in srec_mkobject()
208 tdata->symtail = NULL; in srec_mkobject()
209 tdata->csymbols = NULL; in srec_mkobject()
280 if (abfd->tdata.srec_data->symbols == NULL) in srec_new_symbol()
281 abfd->tdata.srec_data->symbols = n; in srec_new_symbol()
283 abfd->tdata.srec_data->symtail->next = n; in srec_new_symbol()
284 abfd->tdata.srec_data->symtail = n; in srec_new_symbol()
660 tdata_save = abfd->tdata.any; in srec_object_p()
663 if (abfd->tdata.any != tdata_save && abfd->tdata.any != NULL) in srec_object_p()
664 bfd_release (abfd, abfd->tdata.any); in srec_object_p()
665 abfd->tdata.any = tdata_save; in srec_object_p()
695 tdata_save = abfd->tdata.any; in symbolsrec_object_p()
698 if (abfd->tdata.any != tdata_save && abfd->tdata.any != NULL) in symbolsrec_object_p()
699 bfd_release (abfd, abfd->tdata.any); in symbolsrec_object_p()
700 abfd->tdata.any = tdata_save; in symbolsrec_object_p()
880 tdata_type *tdata = abfd->tdata.srec_data; in srec_set_section_contents() local
901 tdata->type = 3; in srec_set_section_contents()
905 && tdata->type <= 2) in srec_set_section_contents()
906 tdata->type = 2; in srec_set_section_contents()
908 tdata->type = 3; in srec_set_section_contents()
916 if (tdata->tail != NULL in srec_set_section_contents()
917 && entry->where >= tdata->tail->where) in srec_set_section_contents()
919 tdata->tail->next = entry; in srec_set_section_contents()
921 tdata->tail = entry; in srec_set_section_contents()
927 for (look = &tdata->head; in srec_set_section_contents()
934 tdata->tail = entry; in srec_set_section_contents()
1022 tdata_type *tdata, in srec_write_section() argument
1036 else if (_bfd_srec_len > MAXCHUNK - tdata->type - 2) in srec_write_section()
1037 _bfd_srec_len = MAXCHUNK - tdata->type - 2; in srec_write_section()
1051 tdata->type, in srec_write_section()
1065 srec_write_terminator (bfd *abfd, tdata_type *tdata) in srec_write_terminator() argument
1067 return srec_write_record (abfd, 10 - tdata->type, in srec_write_terminator()
1132 tdata_type *tdata = abfd->tdata.srec_data; in internal_srec_write_object_contents() local
1145 list = tdata->head; in internal_srec_write_object_contents()
1149 if (! srec_write_section (abfd, tdata, list)) in internal_srec_write_object_contents()
1153 return srec_write_terminator (abfd, tdata); in internal_srec_write_object_contents()
1192 csymbols = abfd->tdata.srec_data->csymbols; in srec_canonicalize_symtab()
1201 abfd->tdata.srec_data->csymbols = csymbols; in srec_canonicalize_symtab()
1203 for (s = abfd->tdata.srec_data->symbols, c = csymbols; in srec_canonicalize_symtab()