diff options
author | Nick Clifton <nickc@redhat.com> | 2007-10-08 15:35:33 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2007-10-08 15:35:33 +0000 |
commit | b1b17bc508cd93e4ed8b6318bdaf9e48d89e4811 (patch) | |
tree | 3c6918c8c5a6d320483810e55eca49189ee0fcd2 /gas/config/tc-dlx.c | |
parent | 8b040e0a493dbabd5e8d2f921ea4a9ac9ad3e190 (diff) | |
download | gdb-b1b17bc508cd93e4ed8b6318bdaf9e48d89e4811.zip gdb-b1b17bc508cd93e4ed8b6318bdaf9e48d89e4811.tar.gz gdb-b1b17bc508cd93e4ed8b6318bdaf9e48d89e4811.tar.bz2 |
PR 5142: Allow for translation of error messages
Diffstat (limited to 'gas/config/tc-dlx.c')
-rw-r--r-- | gas/config/tc-dlx.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gas/config/tc-dlx.c b/gas/config/tc-dlx.c index e429166..fc4b210 100644 --- a/gas/config/tc-dlx.c +++ b/gas/config/tc-dlx.c @@ -287,7 +287,7 @@ md_begin (void) if (retval != NULL) { - fprintf (stderr, "internal error: can't hash `%s': %s\n", + fprintf (stderr, _("internal error: can't hash `%s': %s\n"), machine_opcodes[i].name, retval); lose = 1; } @@ -889,7 +889,7 @@ machine_ip (char *str) } /* Types or values of args don't match. */ - as_bad ("Invalid operands"); + as_bad (_("Invalid operands")); return; } } @@ -1022,7 +1022,7 @@ md_atof (int type, char *litP, int *sizeP) default: *sizeP = 0; - return "Bad call to MD_ATOF()"; + return _("Bad call to MD_ATOF()"); } t = atof_ieee (input_line_pointer, type, words); @@ -1253,7 +1253,7 @@ tc_gen_reloc (asection *section ATTRIBUTE_UNUSED, if (reloc->howto == NULL) { as_bad_where (fixP->fx_file, fixP->fx_line, - "internal error: can't export reloc type %d (`%s')", + _("internal error: can't export reloc type %d (`%s')"), fixP->fx_r_type, bfd_get_reloc_code_name (fixP->fx_r_type)); return NULL; |