From e3c8793a40881c55503b889833d60343ab61584a Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 6 Dec 2001 10:22:36 +0000 Subject: Fixes to improve the ability to translate messages in the binutils tools --- bfd/elf32-arm.h | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'bfd/elf32-arm.h') diff --git a/bfd/elf32-arm.h b/bfd/elf32-arm.h index 6bd1fbb..3ef2c19 100644 --- a/bfd/elf32-arm.h +++ b/bfd/elf32-arm.h @@ -2282,14 +2282,20 @@ Error: %s uses %s floating point, whereas %s uses %s floating point"), /* Interworking mismatch is only a warning. */ if ((in_flags & EF_ARM_INTERWORK) != (out_flags & EF_ARM_INTERWORK)) { - char *s1 = (in_flags & EF_ARM_INTERWORK - ? _("supports") : _("does not support")); - char *s2 = out_flags & EF_ARM_INTERWORK ? _("does") : _("does not"); - - _bfd_error_handler (_("\ -Warning: %s %s interworking, whereas %s %s"), - bfd_archive_filename (ibfd), s1, - bfd_get_filename (obfd), s2); + if (in_flags & EF_ARM_INTERWORK) + { + _bfd_error_handler (_("\ +Warning: %s supports interworking, whereas %s does not"), + bfd_archive_filename (ibfd), + bfd_get_filename (obfd)); + } + else + { + _bfd_error_handler (_("\ +Warning: %s does not support interworking, whereas %s does"), + bfd_archive_filename (ibfd), + bfd_get_filename (obfd)); + } } } -- cgit v1.1