From: Nathan Sidwell Date: Fri, 29 Sep 2006 12:25:31 +0000 (+0000) Subject: binutils/ X-Git-Tag: binutils-csl-arm-2006q3-21~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c8afed084f783c05859fe2180d11061d6c1fef67;p=thirdparty%2Fbinutils-gdb.git binutils/ * ar.c (usage): Pass s to list_supported_targets. * cxxfilt.c (usage): Print bug url when giving help. --- diff --git a/ChangeLog.csl b/ChangeLog.csl index 8fcce895bb8..7c1b55f3de9 100644 --- a/ChangeLog.csl +++ b/ChangeLog.csl @@ -1,3 +1,9 @@ +2006-09-29 Nathan Sidwell + + binutils/ + * ar.c (usage): Pass s to list_supported_targets. + * cxxfilt.c (usage): Print bug url when giving help. + 2006-09-28 Mark Shinwell include/ diff --git a/binutils/ar.c b/binutils/ar.c index fe1c6402222..3b5123d9ab3 100644 --- a/binutils/ar.c +++ b/binutils/ar.c @@ -257,7 +257,7 @@ usage (int help) -V --version Print version information\n")); } - list_supported_targets (program_name, stderr); + list_supported_targets (program_name, s); if (help) fprintf (s, _("Report bugs to %s\n"), REPORT_BUGS_TO); diff --git a/binutils/cxxfilt.c b/binutils/cxxfilt.c index a8ec43ba118..ee5d8e44db0 100644 --- a/binutils/cxxfilt.c +++ b/binutils/cxxfilt.c @@ -115,6 +115,8 @@ Options are:\n\ Demangled names are displayed to stdout.\n\ If a name cannot be demangled it is just echoed to stdout.\n\ If no names are provided on the command line, stdin is read.\n"); + if (status == 0) + fprintf (stream, _("Report bugs to %s.\n"), REPORT_BUGS_TO); exit (status); }