+Fri Feb 25 12:57:00 1994 Steve Chamberlain (sac@jonny.cygnus.com)
+
+ * srec.c (pass_over): Don't skip too many characters when
+ end of line seen.
+
Fri Feb 25 11:41:57 1994 Ian Lance Taylor (ian@cygnus.com)
* ecoff.c (ecoff_sizeof_headers): Align result to 16 byte
abfd->tdata.srec_data->strings = (char *) bfd_alloc (abfd, abfd->tdata.srec_data->string_size);
if (!abfd->tdata.srec_data->symbols || !abfd->tdata.srec_data->strings)
{
- bfd_error = no_memory;
+ bfd_set_error (bfd_error_no_memory);
abort (); /* FIXME */
}
abfd->tdata.srec_data->symbol_idx = 0;
tdata_type *tdata = (tdata_type *) bfd_alloc (abfd, sizeof (tdata_type));
if (!tdata)
{
- bfd_error = no_memory;
+ bfd_set_error (bfd_error_no_memory);
return false;
}
abfd->tdata.srec_data = tdata;
switch (*src)
{
default:
- eof = (boolean) (bfd_read (src, 1, 1, abfd) != 1);
if (eof)
return;
break;
section->used_by_bfd = (PTR) bfd_alloc (abfd, section->_raw_size);
if (!section->used_by_bfd)
{
- bfd_error = no_memory;
+ bfd_set_error (bfd_error_no_memory);
return false;
}
if (!entry)
{
- bfd_error = no_memory;
+ bfd_set_error (bfd_error_no_memory);
return false;
}
unsigned char *data = (unsigned char *) bfd_alloc (abfd, bytes_to_do);
if (!data)
{
- bfd_error = no_memory;
+ bfd_set_error (bfd_error_no_memory);
return false;
}
memcpy (data, location, bytes_to_do);