aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2008-03-25 23:48:25 +0000
committerIan Lance Taylor <ian@airs.com>2008-03-25 23:48:25 +0000
commit819d6c3aea9aff8970d898f400a26d494caaf147 (patch)
tree7ac8347b6e54307ede5c214e2cbf437913ce9772 /gold
parentf4b2c6f5d1dad40d0fbe85cb1b20ad8cf4a8797c (diff)
downloadgdb-819d6c3aea9aff8970d898f400a26d494caaf147.zip
gdb-819d6c3aea9aff8970d898f400a26d494caaf147.tar.gz
gdb-819d6c3aea9aff8970d898f400a26d494caaf147.tar.bz2
* options.cc: Include "../bfd/bfdver.h".
(options::help): Print bug reporting address.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog3
-rw-r--r--gold/options.cc6
2 files changed, 9 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index fc6032e..a5e9258 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -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.
diff --git a/gold/options.cc b/gold/options.cc
index 5d56532..58ac9cf 100644
--- a/gold/options.cc
+++ b/gold/options.cc
@@ -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);