summaryrefslogtreecommitdiff
path: root/binutils/coffdump.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/coffdump.c')
-rw-r--r--binutils/coffdump.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/binutils/coffdump.c b/binutils/coffdump.c
index 5ec23b43f62d..7b6ead4af388 100644
--- a/binutils/coffdump.c
+++ b/binutils/coffdump.c
@@ -1,5 +1,5 @@
/* Coff file dumper.
- Copyright 1994, 1995, 1998, 1999, 2000, 2001, 2002, 2003
+ Copyright 1994, 1995, 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2007
Free Software Foundation, Inc.
This file is part of GNU Binutils.
@@ -23,11 +23,12 @@
This module reads a type tree generated by coffgrok and prints
it out so we can test the grokker. */
+#include "sysdep.h"
#include "bfd.h"
#include "libiberty.h"
+#include "bucomm.h"
#include "coffgrok.h"
-#include "bucomm.h"
#include "getopt.h"
static int atnl;
@@ -462,7 +463,7 @@ show_usage (FILE *file, int status)
-v --version Display the program's version\n\
\n"));
- if (status == 0)
+ if (REPORT_BUGS_TO[0] && status == 0)
fprintf (file, _("Report bugs to %s\n"), REPORT_BUGS_TO);
exit (status);