* bucomm.c (bfd_nonfatal_message): New.

* bucomm.h (bfd_nonfatal_message): Declare.
	* objcopy.c (RETURN_NONFATAL): Take BFD not NAME, use
	bfd_nonfatal_message.
	(copy_unknown_object): Adjust bfd_nonfatal and RETURN_NONFATAL
	calls, or replace with bfd_nonfatal_message calls as appropriate.
	(copy_object, copy_archive, copy_file, setup_section,
	copy_section, write_debugging_info): Likewise.
This commit is contained in:
Nathan Sidwell 2007-08-30 10:19:03 +00:00
parent 876d4bfa30
commit 2db6cde736
4 changed files with 172 additions and 78 deletions

View file

@ -27,6 +27,9 @@ const char *bfd_get_archive_filename (bfd *);
void bfd_nonfatal (const char *);
void bfd_nonfatal_message (const char *, const bfd *, const asection *,
const char *, ...);
void bfd_fatal (const char *) ATTRIBUTE_NORETURN;
void report (const char *, va_list) ATTRIBUTE_PRINTF(1,0);