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-xstormy16.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-xstormy16.c')
-rw-r--r-- | gas/config/tc-xstormy16.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gas/config/tc-xstormy16.c b/gas/config/tc-xstormy16.c index 6e96584a..120c4da 100644 --- a/gas/config/tc-xstormy16.c +++ b/gas/config/tc-xstormy16.c @@ -1,5 +1,5 @@ /* tc-xstormy16.c -- Assembler for the Sanyo XSTORMY16. - Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 + Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009 Free Software Foundation. This file is part of GAS, the GNU Assembler. @@ -122,7 +122,7 @@ md_assemble (char * str) if (!insn.insn) { - as_bad (errmsg); + as_bad ("%s", errmsg); return; } @@ -143,7 +143,7 @@ md_operand (expressionS * e) SKIP_WHITESPACE (); if (*input_line_pointer != '(') { - as_bad ("Expected '('"); + as_bad (_("Expected '('")); goto err; } input_line_pointer++; @@ -152,14 +152,14 @@ md_operand (expressionS * e) if (*input_line_pointer != ')') { - as_bad ("Missing ')'"); + as_bad (_("Missing ')'")); goto err; } input_line_pointer++; SKIP_WHITESPACE (); if (e->X_op != O_symbol) - as_bad ("Not a symbolic expression"); + as_bad (_("Not a symbolic expression")); else if (* input_line_pointer == '-') /* We are computing the difference of two function pointers like this: @@ -223,7 +223,7 @@ xstormy16_cons_fix_new (fragS *f, break; default: - as_bad ("unsupported fptr fixup size %d", nbytes); + as_bad (_("unsupported fptr fixup size %d"), nbytes); return; } } @@ -235,7 +235,7 @@ xstormy16_cons_fix_new (fragS *f, code = BFD_RELOC_32; else { - as_bad ("unsupported fixup size %d", nbytes); + as_bad (_("unsupported fixup size %d"), nbytes); return; } @@ -266,7 +266,7 @@ xstormy16_cgen_record_fixup_exp (fragS * frag, if (op == O_fptr_symbol) { if (operand->type != XSTORMY16_OPERAND_IMM16) - as_bad ("unsupported fptr fixup"); + as_bad (_("unsupported fptr fixup")); else { fixP->fx_r_type = BFD_RELOC_XSTORMY16_FPTR16; |