From d46fc8e83803954783e4791a975c78859b3d18de Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 19 Jun 2009 15:05:23 +0000 Subject: * ar.c (usage): Do not use #ifdef inside _("...). * nm.c (usage): Likewise. --- binutils/ChangeLog | 5 +++++ binutils/ar.c | 8 +++++--- binutils/nm.c | 8 +++++--- 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 + + * ar.c (usage): Do not use #ifdef inside _("...). + * nm.c (usage): Likewise. + 2009-06-18 Nick Clifton 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\ - @ Read options from \n" + @ Read options from \n")); #if BFD_SUPPORTS_PLUGINS -" --plugin Load the specified plugin\n" + fprintf (s, _("\ + --plugin 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\ -- cgit v1.1