aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-mmix.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-01-30 16:07:28 +0000
committerNick Clifton <nickc@redhat.com>2002-01-30 16:07:28 +0000
commitca09e32bb218843d120213458d387c84c185a187 (patch)
treef3fe9089d8559f0633dc49b67b95309681c84cae /bfd/elf64-mmix.c
parentae1a89b7c442e5d7025309820c65c2d849870957 (diff)
downloadgdb-ca09e32bb218843d120213458d387c84c185a187.zip
gdb-ca09e32bb218843d120213458d387c84c185a187.tar.gz
gdb-ca09e32bb218843d120213458d387c84c185a187.tar.bz2
Fixes for better translation into other languages
Diffstat (limited to 'bfd/elf64-mmix.c')
-rw-r--r--bfd/elf64-mmix.c17
1 files changed, 12 insertions, 5 deletions
diff --git a/bfd/elf64-mmix.c b/bfd/elf64-mmix.c
index 8ad8d00..a1148b0 100644
--- a/bfd/elf64-mmix.c
+++ b/bfd/elf64-mmix.c
@@ -1264,11 +1264,18 @@ mmix_final_link_relocate (howto, input_section, contents,
}
else
{
- (*_bfd_error_handler)
- (_("%s: register relocation against non-register symbol: %s in %s"),
- bfd_get_filename (input_section->owner),
- symname == NULL || *symname == 0 ? _("(unknown)") : symname,
- bfd_get_section_name (symsec->owner, symsec));
+ /* Note: This is seperated out into two messages in order
+ to ease the translation into other languages. */
+ if (symname == NULL || *symname == 0)
+ (*_bfd_error_handler)
+ (_("%s: register relocation against non-register symbol: (unknown) in %s"),
+ bfd_get_filename (input_section->owner),
+ bfd_get_section_name (symsec->owner, symsec));
+ else
+ (*_bfd_error_handler)
+ (_("%s: register relocation against non-register symbol: %s in %s"),
+ bfd_get_filename (input_section->owner), symname,
+ bfd_get_section_name (symsec->owner, symsec));
/* The bfd_reloc_outofrange return value, though intuitively a
better value, will not get us an error. */