Lines Matching refs:tdata

527   abfd->tdata.mmo_data->max_symbol_length = (b[2] * 256 + b[3]) * 4;  in mmo_object_p()
528 abfd->tdata.mmo_data->lop_stab_symbol in mmo_object_p()
529 = bfd_alloc (abfd, abfd->tdata.mmo_data->max_symbol_length + 1); in mmo_object_p()
531 if (abfd->tdata.mmo_data->lop_stab_symbol == NULL) in mmo_object_p()
536 abfd, abfd->tdata.mmo_data->max_symbol_length); in mmo_object_p()
568 if (abfd->tdata.mmo_data == NULL) in mmo_mkobject()
574 tdata_type *tdata = (tdata_type *) bfd_zalloc (abfd, sizeof (tdata_type)); in mmo_mkobject() local
575 if (tdata == NULL) in mmo_mkobject()
579 bfd_put_32 (abfd, created, tdata->created); in mmo_mkobject()
581 abfd->tdata.mmo_data = tdata; in mmo_mkobject()
604 if (!abfd->tdata.mmo_data->symbol_consistency_override_calculated) in mmo_ignore_symbol_consistency()
606 abfd->tdata.mmo_data->ignore_symbol_consistency = in mmo_ignore_symbol_consistency()
609 abfd->tdata.mmo_data->symbol_consistency_override_calculated = true; in mmo_ignore_symbol_consistency()
612 return abfd->tdata.mmo_data->ignore_symbol_consistency; in mmo_ignore_symbol_consistency()
625 memcpy (obfd->tdata.mmo_data->created, ibfd->tdata.mmo_data->created, in mmo_bfd_copy_private_bfd_data()
626 sizeof (obfd->tdata.mmo_data->created)); in mmo_bfd_copy_private_bfd_data()
723 sprintf (sec_name, ".MMIX.sec.%d", abfd->tdata.mmo_data->sec_no++); in mmo_decide_section()
793 abfd->tdata.mmo_data->have_error = true; in mmo_write_tetra_raw()
832 struct mmo_data_struct *mmop = abfd->tdata.mmo_data; in mmo_write_chunk()
883 if (abfd->tdata.mmo_data->byte_no != 0) in mmo_flush_chunk()
885 memset (abfd->tdata.mmo_data->buf + abfd->tdata.mmo_data->byte_no, in mmo_flush_chunk()
886 0, 4 - abfd->tdata.mmo_data->byte_no); in mmo_flush_chunk()
888 bfd_get_32 (abfd, abfd->tdata.mmo_data->buf)); in mmo_flush_chunk()
889 abfd->tdata.mmo_data->byte_no = 0; in mmo_flush_chunk()
892 return ! abfd->tdata.mmo_data->have_error; in mmo_flush_chunk()
924 && (abfd->tdata.mmo_data->byte_no == 0 || vma != *last_vmap)) in mmo_write_loc_chunk()
972 return (! abfd->tdata.mmo_data->have_error in mmo_write_loc_chunk()
1179 if (abfd->tdata.mmo_data->byte_no == 0) in mmo_get_byte()
1181 if (!abfd->tdata.mmo_data->have_error in mmo_get_byte()
1182 && bfd_read (abfd->tdata.mmo_data->buf, 4, abfd) != 4) in mmo_get_byte()
1183 abfd->tdata.mmo_data->have_error = true; in mmo_get_byte()
1187 if (abfd->tdata.mmo_data->have_error) in mmo_get_byte()
1191 retval = abfd->tdata.mmo_data->buf[abfd->tdata.mmo_data->byte_no]; in mmo_get_byte()
1192 abfd->tdata.mmo_data->byte_no = (abfd->tdata.mmo_data->byte_no + 1) % 4; in mmo_get_byte()
1202 abfd->tdata.mmo_data->buf[(abfd->tdata.mmo_data->byte_no++ % 4)] = value; in mmo_write_byte()
1203 if ((abfd->tdata.mmo_data->byte_no % 4) == 0) in mmo_write_byte()
1205 if (! abfd->tdata.mmo_data->have_error in mmo_write_byte()
1206 && bfd_write (abfd->tdata.mmo_data->buf, 4, abfd) != 4) in mmo_write_byte()
1207 abfd->tdata.mmo_data->have_error = true; in mmo_write_byte()
1233 if (abfd->tdata.mmo_data->symbols == NULL) in mmo_create_symbol()
1234 abfd->tdata.mmo_data->symbols = n; in mmo_create_symbol()
1236 abfd->tdata.mmo_data->symtail->next = n; in mmo_create_symbol()
1237 abfd->tdata.mmo_data->symtail = n; in mmo_create_symbol()
1368 if (abfd->tdata.mmo_data->have_error) in mmo_get_symbols()
1393 abfd->tdata.mmo_data->lop_stab_symbol in mmo_get_symbols()
1394 [abfd->tdata.mmo_data->symbol_position] = 0; in mmo_get_symbols()
1400 abfd, c, c2, abfd->tdata.mmo_data->lop_stab_symbol); in mmo_get_symbols()
1402 abfd->tdata.mmo_data->have_error = true; in mmo_get_symbols()
1409 if (abfd->tdata.mmo_data->symbol_position in mmo_get_symbols()
1410 >= abfd->tdata.mmo_data->max_symbol_length) in mmo_get_symbols()
1415 abfd, abfd->tdata.mmo_data->max_symbol_length); in mmo_get_symbols()
1416 abfd->tdata.mmo_data->have_error = true; in mmo_get_symbols()
1419 abfd->tdata.mmo_data->lop_stab_symbol[abfd->tdata.mmo_data->symbol_position++] = c; in mmo_get_symbols()
1420 abfd->tdata.mmo_data->lop_stab_symbol[abfd->tdata.mmo_data->symbol_position] = 0; in mmo_get_symbols()
1462 if (! abfd->tdata.mmo_data->have_error in mmo_get_symbols()
1464 abfd->tdata.mmo_data->lop_stab_symbol in mmo_get_symbols()
1467 abfd->tdata.mmo_data->have_error = true; in mmo_get_symbols()
1474 abfd->tdata.mmo_data->symbol_position--; in mmo_get_symbols()
1481 return ! abfd->tdata.mmo_data->have_error; in mmo_get_symbols()
1936 && bfd_read (abfd->tdata.mmo_data->created, 4, in mmo_scan()
2030 if (abfd->tdata.mmo_data->max_symbol_length != 0 in mmo_scan()
2224 csymbols = abfd->tdata.mmo_data->csymbols; in mmo_canonicalize_symtab()
2235 for (s = abfd->tdata.mmo_data->symbols, in mmo_canonicalize_symtab()
2249 abfd->tdata.mmo_data->csymbols = csymbols; in mmo_canonicalize_symtab()
2375 if (bfd_write (abfd->tdata.mmo_data->created, 4, abfd) != 4) in mmo_internal_write_header()
2406 return ! abfd->tdata.mmo_data->have_error && bfd_write (buf, 8, abfd) == 8; in mmo_internal_write_post()
2554 return (! abfd->tdata.mmo_data->have_error in mmo_internal_write_section()
2568 return (! abfd->tdata.mmo_data->have_error in mmo_internal_write_section()
2571 return (! abfd->tdata.mmo_data->have_error in mmo_internal_write_section()
3143 abfd->tdata.mmo_data->byte_no = 0; in mmo_write_symbols_and_terminator()
3153 if (trie_len != (abfd->tdata.mmo_data->byte_no + 3)/4) in mmo_write_symbols_and_terminator()
3163 (abfd->tdata.mmo_data->byte_no + 3)/4); in mmo_write_symbols_and_terminator()
3170 if ((abfd->tdata.mmo_data->byte_no % 4) != 0 in mmo_write_symbols_and_terminator()
3171 || abfd->tdata.mmo_data->have_error) in mmo_write_symbols_and_terminator()
3173 memset (abfd->tdata.mmo_data->buf + (abfd->tdata.mmo_data->byte_no % 4), in mmo_write_symbols_and_terminator()
3174 0, 4 - (abfd->tdata.mmo_data->byte_no % 4)); in mmo_write_symbols_and_terminator()
3176 if (abfd->tdata.mmo_data->have_error in mmo_write_symbols_and_terminator()
3177 || bfd_write (abfd->tdata.mmo_data->buf, 4, abfd) != 4) in mmo_write_symbols_and_terminator()