aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-arm.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-07-24 11:45:01 +0000
committerNick Clifton <nickc@redhat.com>2009-07-24 11:45:01 +0000
commit20203fb9399bed63f555d79dcd8ad95a5bb0aed6 (patch)
tree207b93fc98c2684fde83de1ff205672973e2d50f /gas/config/tc-arm.c
parent1174fea4a99b65a342b4b0198e9a41b80f213b57 (diff)
downloadgdb-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-arm.c')
-rw-r--r--gas/config/tc-arm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index ea44399..2e26177 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -1875,8 +1875,8 @@ parse_neon_el_struct_list (char **str, unsigned *pbase,
int leading_brace = 0;
enum arm_reg_type rtype = REG_TYPE_NDQ;
int addregs = 1;
- const char *const incr_error = "register stride must be 1 or 2";
- const char *const type_error = "mismatched element/structure types in list";
+ const char *const incr_error = _("register stride must be 1 or 2");
+ const char *const type_error = _("mismatched element/structure types in list");
struct neon_typed_alias firsttype;
if (skip_past_char (&ptr, '{') == SUCCESS)
@@ -18393,7 +18393,7 @@ arm_frag_align_code (int n, int max)
sprintf (err_msg,
_("alignments greater than %d bytes not supported in .text sections."),
MAX_MEM_FOR_RS_ALIGN_CODE + 1);
- as_fatal (err_msg);
+ as_fatal ("%s", err_msg);
}
p = frag_var (rs_align_code,