aboutsummaryrefslogtreecommitdiff
path: root/binutils/bucomm.h
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2007-08-30 10:19:03 +0000
committerNathan Sidwell <nathan@codesourcery.com>2007-08-30 10:19:03 +0000
commit2db6cde7362caa130c6f9d92a1d50f742d08c3d3 (patch)
tree24686122ed4e888fd967b26f9439fa8d4676d915 /binutils/bucomm.h
parent876d4bfa30530cfcddc152a1ae47f8045d80fd47 (diff)
downloadgdb-2db6cde7362caa130c6f9d92a1d50f742d08c3d3.zip
gdb-2db6cde7362caa130c6f9d92a1d50f742d08c3d3.tar.gz
gdb-2db6cde7362caa130c6f9d92a1d50f742d08c3d3.tar.bz2
* 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.
Diffstat (limited to 'binutils/bucomm.h')
-rw-r--r--binutils/bucomm.h3
1 files changed, 3 insertions, 0 deletions
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);