This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[obvious patch] fix formatting of _("...")
- From: cgd at broadcom dot com
- To: binutils at sources dot redhat dot com
- Date: 08 Feb 2002 11:18:50 -0800
- Subject: [obvious patch] fix formatting of _("...")
I noticed while trolling my local source tree for diffs that there
were a few instances of:
_ ("foo")
in binutils (really, only bfd), when the vast majority are _("foo").
I just checked the following in as obvious.
cgd
===================================================================
[bfd/ChangeLog]
2002-02-08 Chris Demetriou <cgd@broadcom.com>
* elf32-arm.h: Fix formatting of _("...").
* elf32-d10v.c: Likewise.
* elf32-m68k.c: Likewise.
* elf32-mips.c: Likewise.
Index: elf32-arm.h
===================================================================
RCS file: /cvs/src/src/bfd/elf32-arm.h,v
retrieving revision 1.74
diff -u -r1.74 elf32-arm.h
--- elf32-arm.h 2002/02/01 13:26:56 1.74
+++ elf32-arm.h 2002/02/08 19:16:17
@@ -2325,12 +2325,12 @@
|| (in_flags & EF_ARM_VFP_FLOAT) == 0)
{
if (in_flags & EF_ARM_SOFT_FLOAT)
- _bfd_error_handler (_ ("\
+ _bfd_error_handler (_("\
ERROR: %s uses software FP, whereas %s uses hardware FP"),
bfd_archive_filename (ibfd),
bfd_get_filename (obfd));
else
- _bfd_error_handler (_ ("\
+ _bfd_error_handler (_("\
ERROR: %s uses hardware FP, whereas %s uses software FP"),
bfd_archive_filename (ibfd),
bfd_get_filename (obfd));
Index: elf32-d10v.c
===================================================================
RCS file: /cvs/src/src/bfd/elf32-d10v.c,v
retrieving revision 1.13
diff -u -r1.13 elf32-d10v.c
--- elf32-d10v.c 2001/12/17 00:52:35 1.13
+++ elf32-d10v.c 2002/02/08 19:16:17
@@ -479,19 +479,19 @@
break;
case bfd_reloc_outofrange:
- msg = _ ("internal error: out of range error");
+ msg = _("internal error: out of range error");
goto common_error;
case bfd_reloc_notsupported:
- msg = _ ("internal error: unsupported relocation error");
+ msg = _("internal error: unsupported relocation error");
goto common_error;
case bfd_reloc_dangerous:
- msg = _ ("internal error: dangerous error");
+ msg = _("internal error: dangerous error");
goto common_error;
default:
- msg = _ ("internal error: unknown error");
+ msg = _("internal error: unknown error");
/* fall through */
common_error:
Index: elf32-m68k.c
===================================================================
RCS file: /cvs/src/src/bfd/elf32-m68k.c,v
retrieving revision 1.34
diff -u -r1.34 elf32-m68k.c
--- elf32-m68k.c 2001/12/18 17:59:58 1.34
+++ elf32-m68k.c 2002/02/08 19:16:17
@@ -407,10 +407,10 @@
/* Ignore init flag - it may not be set, despite the flags field containing valid data. */
/* xgettext:c-format */
- fprintf (file, _ ("private flags = %lx:"), elf_elfheader (abfd)->e_flags);
+ fprintf (file, _("private flags = %lx:"), elf_elfheader (abfd)->e_flags);
if (elf_elfheader (abfd)->e_flags & EF_CPU32)
- fprintf (file, _ (" [cpu32]"));
+ fprintf (file, _(" [cpu32]"));
fputc ('\n', file);
Index: elf32-mips.c
===================================================================
RCS file: /cvs/src/src/bfd/elf32-mips.c,v
retrieving revision 1.143
diff -u -r1.143 elf32-mips.c
--- elf32-mips.c 2002/02/06 21:34:17 1.143
+++ elf32-mips.c 2002/02/08 19:16:18
@@ -3280,11 +3280,11 @@
else if ((elf_elfheader (abfd)->e_flags & EF_MIPS_ARCH) == E_MIPS_ARCH_4)
fprintf (file, _(" [mips4]"));
else if ((elf_elfheader (abfd)->e_flags & EF_MIPS_ARCH) == E_MIPS_ARCH_5)
- fprintf (file, _ (" [mips5]"));
+ fprintf (file, _(" [mips5]"));
else if ((elf_elfheader (abfd)->e_flags & EF_MIPS_ARCH) == E_MIPS_ARCH_32)
- fprintf (file, _ (" [mips32]"));
+ fprintf (file, _(" [mips32]"));
else if ((elf_elfheader (abfd)->e_flags & EF_MIPS_ARCH) == E_MIPS_ARCH_64)
- fprintf (file, _ (" [mips64]"));
+ fprintf (file, _(" [mips64]"));
else
fprintf (file, _(" [unknown ISA]"));