From 819d6c3aea9aff8970d898f400a26d494caaf147 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 25 Mar 2008 23:48:25 +0000 Subject: [PATCH] * options.cc: Include "../bfd/bfdver.h". (options::help): Print bug reporting address. --- gold/ChangeLog | 3 +++ gold/options.cc | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/gold/ChangeLog b/gold/ChangeLog index fc6032e316a..a5e92587ae3 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,5 +1,8 @@ 2008-03-25 Ian Lance Taylor + * 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 5d565324b8f..58ac9cf9ac5 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); -- 2.30.2