summaryrefslogtreecommitdiff
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
commitbf93b1192c753143bed359cbd9e39fb5a675bde5 (patch)
treedf1843d758f117f9618f79cedf01067adfe07311 /binutils/bucomm.h
parentf3262b4a5f4fdd51c8fde712e925dff3cd246a9c (diff)
downloadbinutils-redhat-bf93b1192c753143bed359cbd9e39fb5a675bde5.tar.gz
* 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 2288f43bd3..08c166b4c9 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);