]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - binutils/nm.c
top level:
[thirdparty/binutils-gdb.git] / binutils / nm.c
index c1fb4d803e845e1f3de510f813dd99b393d31130..e3ab36f04d7dafcd632ad4113c04772bd2a80b70 100644 (file)
@@ -1,6 +1,6 @@
 /* nm.c -- Describe symbol table of a rel file.
    Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
-   2001, 2002, 2003, 2004, 2005
+   2001, 2002, 2003, 2004, 2005, 2007
    Free Software Foundation, Inc.
 
    This file is part of GNU Binutils.
@@ -259,7 +259,7 @@ usage (FILE *stream, int status)
   -V, --version          Display this program's version number\n\
 \n"));
   list_supported_targets (program_name, stream);
-  if (status == 0)
+  if (REPORT_BUGS_TO[0] && status == 0)
     fprintf (stream, _("Report bugs to %s.\n"), REPORT_BUGS_TO);
   exit (status);
 }