From 2db6cde7362caa130c6f9d92a1d50f742d08c3d3 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Thu, 30 Aug 2007 10:19:03 +0000 Subject: * 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. --- binutils/bucomm.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'binutils/bucomm.h') diff --git a/binutils/bucomm.h b/binutils/bucomm.h index 2288f43..08c166b 100644 --- a/binutils/bucomm.h +++ b/binutils/bucomm.h @@ -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); -- cgit v1.1