aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-06-19 15:05:23 +0000
committerNick Clifton <nickc@redhat.com>2009-06-19 15:05:23 +0000
commitd46fc8e83803954783e4791a975c78859b3d18de (patch)
tree2bb923545a3d5889594a01d30cc1f7bac19e3030
parent8e54f21078b822c1c36171e378244022e5715fe6 (diff)
downloadgdb-d46fc8e83803954783e4791a975c78859b3d18de.zip
gdb-d46fc8e83803954783e4791a975c78859b3d18de.tar.gz
gdb-d46fc8e83803954783e4791a975c78859b3d18de.tar.bz2
* ar.c (usage): Do not use #ifdef inside _("...).
* nm.c (usage): Likewise.
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/ar.c8
-rw-r--r--binutils/nm.c8
3 files changed, 15 insertions, 6 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index ddacde1..086df79 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-19 Nick Clifton <nickc@redhat.com>
+
+ * ar.c (usage): Do not use #ifdef inside _("...).
+ * nm.c (usage): Likewise.
+
2009-06-18 Nick Clifton <nickc@redhat.com>
PR 10288
diff --git a/binutils/ar.c b/binutils/ar.c
index 318cfe0..4d6a325 100644
--- a/binutils/ar.c
+++ b/binutils/ar.c
@@ -278,11 +278,13 @@ usage (int help)
fprintf (s, _("Usage: %s [options] archive\n"), program_name);
fprintf (s, _(" Generate an index to speed access to archives\n"));
fprintf (s, _(" The options are:\n\
- @<file> Read options from <file>\n"
+ @<file> Read options from <file>\n"));
#if BFD_SUPPORTS_PLUGINS
-" --plugin <name> Load the specified plugin\n"
+ fprintf (s, _("\
+ --plugin <name> Load the specified plugin\n"));
#endif
-" -t Update the archive's symbol map timestamp\n\
+ fprintf (s, _("\
+ -t Update the archive's symbol map timestamp\n\
-h --help Print this help message\n\
-v --version Print version information\n"));
}
diff --git a/binutils/nm.c b/binutils/nm.c
index 51f67d1..7ca691d 100644
--- a/binutils/nm.c
+++ b/binutils/nm.c
@@ -240,11 +240,13 @@ usage (FILE *stream, int status)
-o Same as -A\n\
-p, --no-sort Do not sort the symbols\n\
-P, --portability Same as --format=posix\n\
- -r, --reverse-sort Reverse the sense of the sort\n"
+ -r, --reverse-sort Reverse the sense of the sort\n"));
#if BFD_SUPPORTS_PLUGINS
-" --plugin NAME Load the specified plugin\n"
+ fprintf (stream, _("\
+ --plugin NAME Load the specified plugin\n"));
#endif
-" -S, --print-size Print size of defined symbols\n\
+ fprintf (stream, _("\
+ -S, --print-size Print size of defined symbols\n \
-s, --print-armap Include index for symbols from archive members\n\
--size-sort Sort symbols by size\n\
--special-syms Include special symbols in the output\n\