diff options
author | Nick Clifton <nickc@redhat.com> | 2009-07-24 11:45:01 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-07-24 11:45:01 +0000 |
commit | 20203fb9399bed63f555d79dcd8ad95a5bb0aed6 (patch) | |
tree | 207b93fc98c2684fde83de1ff205672973e2d50f /gas/config/tc-moxie.c | |
parent | 1174fea4a99b65a342b4b0198e9a41b80f213b57 (diff) | |
download | gdb-20203fb9399bed63f555d79dcd8ad95a5bb0aed6.zip gdb-20203fb9399bed63f555d79dcd8ad95a5bb0aed6.tar.gz gdb-20203fb9399bed63f555d79dcd8ad95a5bb0aed6.tar.bz2 |
PR 10437
* config/tc-alpha.c: Fix up uses of gas printf like functions so
that the format string is a constant string. Add translation
support to message strings.
* config/tc-arc.c: Likewise.
* config/tc-arm.c: Likewise.
* config/tc-cris.c: Likewise.
* config/tc-fr30.c: Likewise.
* config/tc-frv.c: Likewise.
* config/tc-h8300.c: Likewise.
* config/tc-hppa.c: Likewise.
* config/tc-i370.c: Likewise.
* config/tc-i960.c: Likewise.
* config/tc-ia64.c: Likewise.
* config/tc-m32r.c: Likewise.
* config/tc-mep.c: Likewise.
* config/tc-mips.c: Likewise.
* config/tc-moxie.c: Likewise.
* config/tc-msp430.c: Likewise.
* config/tc-openrisc.c: Likewise.
* config/tc-pdp11.c: Likewise.
* config/tc-pj.c: Likewise.
* config/tc-s390.c: Likewise.
* config/tc-sh.c: Likewise.
* config/tc-sh64.c: Likewise.
* config/tc-sparc.c: Likewise.
* config/tc-spu.c: Likewise.
* config/tc-tic30.c: Likewise.
* config/tc-tic4x.c: Likewise.
* config/tc-tic54x.c: Likewise.
* config/tc-v850.c: Likewise.
* config/tc-xc16x.c: Likewise.
* config/tc-xstormy16.c: Likewise.
* config/tc-z80.c: Likewise.
* config/tc-z8k.c: Likewise.
* config/atof-ieee.c: Add translation support to as_warn
messages.
* config/obj-coff.c: Likewise.
Diffstat (limited to 'gas/config/tc-moxie.c')
-rw-r--r-- | gas/config/tc-moxie.c | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/gas/config/tc-moxie.c b/gas/config/tc-moxie.c index 2eaa827..f5140c5 100644 --- a/gas/config/tc-moxie.c +++ b/gas/config/tc-moxie.c @@ -97,7 +97,7 @@ parse_register_operand (char **ptr) if (*s != '$') { - as_bad ("expecting register"); + as_bad (_("expecting register")); ignore_rest_of_line (); return -1; } @@ -116,7 +116,7 @@ parse_register_operand (char **ptr) reg = s[2] - '0'; if ((reg < 0) || (reg > 9)) { - as_bad ("illegal register number"); + as_bad (_("illegal register number")); ignore_rest_of_line (); return -1; } @@ -132,7 +132,7 @@ parse_register_operand (char **ptr) } else { - as_bad ("illegal register number"); + as_bad (_("illegal register number")); ignore_rest_of_line (); return -1; } @@ -199,7 +199,7 @@ md_assemble (char *str) reg = parse_register_operand (&op_end); iword += (reg << 8); if (*op_end != ',') - as_warn ("expecting comma delimeted register operands"); + as_warn (_("expecting comma delimeted register operands")); op_end++; op_end = parse_exp_save_ilp (op_end, &arg); fix_new_exp (frag_now, @@ -218,14 +218,14 @@ md_assemble (char *str) int dest, src; dest = parse_register_operand (&op_end); if (*op_end != ',') - as_warn ("expecting comma delimeted register operands"); + as_warn (_("expecting comma delimeted register operands"0); op_end++; src = parse_register_operand (&op_end); iword += (dest << 4) + src; while (ISSPACE (*op_end)) op_end++; if (*op_end != 0) - as_warn ("extra stuff on line ignored"); + as_warn (_("extra stuff on line ignored")); } break; case MOXIE_F1_A4: @@ -245,7 +245,7 @@ md_assemble (char *str) if (*op_end != ',') { - as_bad ("expecting comma delimited operands"); + as_bad (_("expecting comma delimited operands")); ignore_rest_of_line (); return; } @@ -285,7 +285,7 @@ md_assemble (char *str) while (ISSPACE (*op_end)) op_end++; if (*op_end != 0) - as_warn ("extra stuff on line ignored"); + as_warn (_("extra stuff on line ignored")); break; case MOXIE_F1_A: iword = opcode->opcode << 8; @@ -297,7 +297,7 @@ md_assemble (char *str) while (ISSPACE (*op_end)) op_end++; if (*op_end != 0) - as_warn ("extra stuff on line ignored"); + as_warn (_("extra stuff on line ignored")); iword += (reg << 4); } break; @@ -309,11 +309,11 @@ md_assemble (char *str) int a, b; a = parse_register_operand (&op_end); if (*op_end != ',') - as_warn ("expecting comma delimeted register operands"); + as_warn (_("expecting comma delimeted register operands")); op_end++; if (*op_end != '(') { - as_bad ("expecting indirect register `($rA)'"); + as_bad (_("expecting indirect register `($rA)'")); ignore_rest_of_line (); return; } @@ -321,7 +321,7 @@ md_assemble (char *str) b = parse_register_operand (&op_end); if (*op_end != ')') { - as_bad ("missing closing parenthesis"); + as_bad (_("missing closing parenthesis")); ignore_rest_of_line (); return; } @@ -330,7 +330,7 @@ md_assemble (char *str) while (ISSPACE (*op_end)) op_end++; if (*op_end != 0) - as_warn ("extra stuff on line ignored"); + as_warn (_("extra stuff on line ignored")); } break; case MOXIE_F1_AiB: @@ -341,7 +341,7 @@ md_assemble (char *str) int a, b; if (*op_end != '(') { - as_bad ("expecting indirect register `($rA)'"); + as_bad (_("expecting indirect register `($rA)'")); ignore_rest_of_line (); return; } @@ -349,20 +349,20 @@ md_assemble (char *str) a = parse_register_operand (&op_end); if (*op_end != ')') { - as_bad ("missing closing parenthesis"); + as_bad (_("missing closing parenthesis")); ignore_rest_of_line (); return; } op_end++; if (*op_end != ',') - as_warn ("expecting comma delimeted register operands"); + as_warn (_("expecting comma delimeted register operands")); op_end++; b = parse_register_operand (&op_end); iword += (a << 4) + b; while (ISSPACE (*op_end)) op_end++; if (*op_end != 0) - as_warn ("extra stuff on line ignored"); + as_warn (_("extra stuff on line ignored")); } break; case MOXIE_F1_4A: @@ -385,7 +385,7 @@ md_assemble (char *str) if (*op_end != ',') { - as_bad ("expecting comma delimited operands"); + as_bad (_("expecting comma delimited operands")); ignore_rest_of_line (); return; } @@ -395,7 +395,7 @@ md_assemble (char *str) while (ISSPACE (*op_end)) op_end++; if (*op_end != 0) - as_warn ("extra stuff on line ignored"); + as_warn (_("extra stuff on line ignored")); iword += (a << 4); } @@ -415,7 +415,7 @@ md_assemble (char *str) if (*op_end != ',') { - as_bad ("expecting comma delimited operands"); + as_bad (_("expecting comma delimited operands")); ignore_rest_of_line (); return; } @@ -432,7 +432,7 @@ md_assemble (char *str) if (*op_end != '(') { - as_bad ("expecting indirect register `($rX)'"); + as_bad (_("expecting indirect register `($rX)'")); ignore_rest_of_line (); return; } @@ -440,7 +440,7 @@ md_assemble (char *str) b = parse_register_operand (&op_end); if (*op_end != ')') { - as_bad ("missing closing parenthesis"); + as_bad (_("missing closing parenthesis")); ignore_rest_of_line (); return; } @@ -449,7 +449,7 @@ md_assemble (char *str) while (ISSPACE (*op_end)) op_end++; if (*op_end != 0) - as_warn ("extra stuff on line ignored"); + as_warn (_("extra stuff on line ignored")); iword += (a << 4) + b; } @@ -474,7 +474,7 @@ md_assemble (char *str) if (*op_end != '(') { - as_bad ("expecting indirect register `($rX)'"); + as_bad (_("expecting indirect register `($rX)'")); ignore_rest_of_line (); return; } @@ -482,7 +482,7 @@ md_assemble (char *str) a = parse_register_operand (&op_end); if (*op_end != ')') { - as_bad ("missing closing parenthesis"); + as_bad (_("missing closing parenthesis")); ignore_rest_of_line (); return; } @@ -490,7 +490,7 @@ md_assemble (char *str) if (*op_end != ',') { - as_bad ("expecting comma delimited operands"); + as_bad (_("expecting comma delimited operands")); ignore_rest_of_line (); return; } @@ -503,7 +503,7 @@ md_assemble (char *str) while (ISSPACE (*op_end)) op_end++; if (*op_end != 0) - as_warn ("extra stuff on line ignored"); + as_warn (_("extra stuff on line ignored")); iword += (a << 4) + b; } @@ -513,7 +513,7 @@ md_assemble (char *str) while (ISSPACE (*op_end)) op_end++; if (*op_end != 0) - as_warn ("extra stuff on line ignored"); + as_warn (_("extra stuff on line ignored")); break; case MOXIE_F3_PCREL: iword = (3<<14) | (opcode->opcode << 10); @@ -532,7 +532,7 @@ md_assemble (char *str) } break; default: - abort(); + abort (); } md_number_to_chars (p, iword, 2); @@ -541,10 +541,10 @@ md_assemble (char *str) op_end++; if (*op_end != 0) - as_warn ("extra stuff on line ignored"); + as_warn (_("extra stuff on line ignored")); if (pending_reloc) - as_bad ("Something forgot to clean up\n"); + as_bad (_("Something forgot to clean up\n")); } /* Turn a string in input_line_pointer into a floating point constant |