summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2006-09-29 12:25:31 +0000
committerNathan Sidwell <nathan@codesourcery.com>2006-09-29 12:25:31 +0000
commitc8afed084f783c05859fe2180d11061d6c1fef67 (patch)
tree753241823949a690c4bb0051ed62a5cfc0e33044
parent57f52df4955a9d44e65c4100a362e860a18ca7a0 (diff)
downloadbinutils-gdb-c8afed084f783c05859fe2180d11061d6c1fef67.tar.gz
binutils/
* ar.c (usage): Pass s to list_supported_targets. * cxxfilt.c (usage): Print bug url when giving help.
-rw-r--r--ChangeLog.csl6
-rw-r--r--binutils/ar.c2
-rw-r--r--binutils/cxxfilt.c2
3 files changed, 9 insertions, 1 deletions
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 <nathan@codesourcery.com>
+
+ binutils/
+ * ar.c (usage): Pass s to list_supported_targets.
+ * cxxfilt.c (usage): Print bug url when giving help.
+
2006-09-28 Mark Shinwell <shinwell@codesourcery.com>
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);
}