* options.cc: Include "../bfd/bfdver.h".
authorIan Lance Taylor <ian@airs.com>
Tue, 25 Mar 2008 23:48:25 +0000 (23:48 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 25 Mar 2008 23:48:25 +0000 (23:48 +0000)
(options::help): Print bug reporting address.

gold/ChangeLog
gold/options.cc

index fc6032e316ad0ca79fc177c0ca88250716ffb9db..a5e92587ae36570283a54bf8b051ce1b93a52526 100644 (file)
@@ -1,5 +1,8 @@
 2008-03-25  Ian Lance Taylor  <iant@google.com>
 
+       * options.cc: Include "../bfd/bfdver.h".
+       (options::help): Print bug reporting address.
+
        * version.cc (print_version): Adjust output for current value of
        BFD_VERSION_STRING.
 
index 5d565324b8f8f10f3e4c62d5fc629cdc157aa7c7..58ac9cf9ac5210fa1a34d5f2535ceb03454d3291 100644 (file)
@@ -29,6 +29,7 @@
 #include "filenames.h"
 #include "libiberty.h"
 #include "demangle.h"
+#include "../bfd/bfdver.h"
 
 #include "debug.h"
 #include "script.h"
@@ -153,6 +154,11 @@ help()
        ++p)
     printf(" %s", *p);
   printf("\n");
+
+  // REPORT_BUGS_TO is defined in bfd/bfdver.h.
+  const char* report = REPORT_BUGS_TO;
+  if (*report != '\0')
+    printf(_("Report bugs to %s\n"), report);
 }
 
 // For bool, arg will be NULL (boolean options take no argument);