* ecoff.c (ecoff_mkobject): Check bfd_make_section return value.
authorIan Lance Taylor <ian@airs.com>
Mon, 11 Oct 1993 21:38:38 +0000 (21:38 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 11 Oct 1993 21:38:38 +0000 (21:38 +0000)
commita7853216049cb473f62ff8196151829edef76ad8
treef27b0920976ea1a6f59a06974b931ea010dfc231
parentf3863d3ab16c317035565da993b27ee5b9d0965d
* ecoff.c (ecoff_mkobject): Check bfd_make_section return value.
(ecoff_mkobject_hook): New function.
(ecoff_new_section_hook, ecoff_sizeof_headers,
ecoff_compute_section_file_positions, ecoff_set_section_contents,
ecoff_write_object_contents): Handle dummy REGINFO section.
(ecoff_get_section_contents): New function to handle reading
REGINFO section.
* libecoff.h (ecoff_get_section_contents): Change from macro
definition to function prototype.
(ecoff_mkobject_hook): New prototype.
* coff-alpha.c (alpha_ecoff_mkobject_hook): Removed.
(alpha_ecoff_backend_data): Use ecoff_mkobject_hook.
* coff-mips.c (mips_ecoff_mkobject_hook): Removed.
(mips_ecoff_backend_data): Use ecoff_mkobject_hook.
bfd/ChangeLog
bfd/ecoff.c