summaryrefslogtreecommitdiff
path: root/bfd/elf32-arm.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-12-06 10:22:36 +0000
committerNick Clifton <nickc@redhat.com>2001-12-06 10:22:36 +0000
commit424a39a881486b9e3f5883a4f3996cc38c4f36d6 (patch)
treeae0d9f86c7a9fa47b839e4d7e53feed5b290f60f /bfd/elf32-arm.h
parent330a28ff9fcd75615fdca00381c66983cea6f2be (diff)
downloadgdb-424a39a881486b9e3f5883a4f3996cc38c4f36d6.tar.gz
Fixes to improve the ability to translate messages in the binutils tools
Diffstat (limited to 'bfd/elf32-arm.h')
-rw-r--r--bfd/elf32-arm.h22
1 files changed, 14 insertions, 8 deletions
diff --git a/bfd/elf32-arm.h b/bfd/elf32-arm.h
index 6bd1fbb5cde..3ef2c197d9b 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));
+ }
}
}