This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: New ELF linker code added to GNU binutils
"Joseph S. Myers" <joseph@codesourcery.com> writes:
> The --help output doesn't include the bug-reporting URL (REPORT_BUGS_TO in
> bfdver.h).
I committed this patch to fix this.
Ian
2008-03-25 Ian Lance Taylor <iant@google.com>
* options.cc: Include "../bfd/bfdver.h".
(options::help): Print bug reporting address.
Index: options.cc
===================================================================
RCS file: /cvs/src/src/gold/options.cc,v
retrieving revision 1.65
diff -p -u -r1.65 options.cc
--- options.cc 25 Mar 2008 21:39:01 -0000 1.65
+++ options.cc 25 Mar 2008 23:47:47 -0000
@@ -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);