aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-09-26 16:07:18 +0000
committerNick Clifton <nickc@redhat.com>2007-09-26 16:07:18 +0000
commit168411b181bae47b6331dcee438ac6b3233016f9 (patch)
tree944fd4dc81374faf9b01a6ac8dda4ac16b2ac8cb /opcodes
parent3e9313abcf349e884f87c3f74104d50b06c37f5f (diff)
downloadfsf-binutils-gdb-168411b181bae47b6331dcee438ac6b3233016f9.zip
fsf-binutils-gdb-168411b181bae47b6331dcee438ac6b3233016f9.tar.gz
fsf-binutils-gdb-168411b181bae47b6331dcee438ac6b3233016f9.tar.bz2
* mt-asm.c (parse_imm16): Reword error message in order to allow it to be translated properly.
* ia64-gen.c (print_dependency_table): Likewise. * mips-dis.c (print_insn_args): Likewise.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog7
-rw-r--r--opcodes/ia64-gen.c11
-rw-r--r--opcodes/mips-dis.c2
-rw-r--r--opcodes/mt-asm.c2
4 files changed, 17 insertions, 5 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index c8e55e8..3f235bf 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,10 @@
+2007-09-26 Nick Clifton <nickc@redhat.com>
+
+ * mt-asm.c (parse_imm16): Reword error message in order to allow
+ it to be translated properly.
+ * ia64-gen.c (print_dependency_table): Likewise.
+ * mips-dis.c (print_insn_args): Likewise.
+
2007-09-26 Jan Beulich <jbeulich@novell.com>
* i386-dis.c (OP_E_extended): Distinguish rip- and eip-
diff --git a/opcodes/ia64-gen.c b/opcodes/ia64-gen.c
index 7dc85b5..5c897a9 100644
--- a/opcodes/ia64-gen.c
+++ b/opcodes/ia64-gen.c
@@ -1550,9 +1550,14 @@ print_dependency_table ()
static const char *mode_str[] = { "RAW", "WAW", "WAR" };
if (rdeps[i]->total_chks == 0)
- warn (_("Warning: rsrc %s (%s) has no chks%s\n"),
- rdeps[i]->name, mode_str[rdeps[i]->mode],
- rdeps[i]->total_regs ? "" : " or regs");
+ {
+ if (rdeps[i]->total_regs)
+ warn (_("Warning: rsrc %s (%s) has no chks%\n"),
+ rdeps[i]->name, mode_str[rdeps[i]->mode]);
+ else
+ warn (_("Warning: rsrc %s (%s) has no chks or regs\n"),
+ rdeps[i]->name, mode_str[rdeps[i]->mode]);
+ }
else if (rdeps[i]->total_regs == 0)
warn (_("rsrc %s (%s) has no regs\n"),
rdeps[i]->name, mode_str[rdeps[i]->mode]);
diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c
index 3f09294..2c42b49 100644
--- a/opcodes/mips-dis.c
+++ b/opcodes/mips-dis.c
@@ -1208,7 +1208,7 @@ print_insn_args (const char *d,
default:
/* xgettext:c-format */
(*info->fprintf_func) (info->stream,
- _("# internal error, undefined modifier(%c)"),
+ _("# internal error, undefined modifier (%c)"),
*d);
return;
}
diff --git a/opcodes/mt-asm.c b/opcodes/mt-asm.c
index c1660ed..1b0156e 100644
--- a/opcodes/mt-asm.c
+++ b/opcodes/mt-asm.c
@@ -154,7 +154,7 @@ parse_imm16 (CGEN_CPU_DESC cd,
break;
default:
- errmsg = _("%operator operand is not a symbol");
+ errmsg = _("The percent-operator's operand is not a symbol");
break;
}
}