From d0023d7e18cddc39caf0423b14034d2f9454e44f Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 24 Apr 1998 16:28:25 +0000 Subject: [PATCH] Add initernationalisation macros to error strings --- gas/ChangeLog | 5 +++++ gas/config/tc-m32r.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 941066f8e6e..59dfd649542 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +Fri Apr 24 09:26:46 1998 Nick Clifton + + * config/tc-m32r.c (can_make_parallel): Add initernationalisation + macros to error strings. + Thu Apr 23 19:23:23 1998 Ian Lance Taylor * config/tc-ppc.c (ppc_fix_adjustable): Correct test of whether a diff --git a/gas/config/tc-m32r.c b/gas/config/tc-m32r.c index bdbd1984843..9991b6b6d7d 100644 --- a/gas/config/tc-m32r.c +++ b/gas/config/tc-m32r.c @@ -200,7 +200,7 @@ md_show_usage (stream) FILE * stream; { /* start-sanitize-m32rx */ - fprintf (stream, _("M32R/X options:\n")); + fprintf (stream, _("M32R/X specific command line options:\n")); fprintf (stream, _("\ --m32rx support the extended m32rx instruction set\n")); @@ -534,7 +534,7 @@ can_make_parallel (a, b) abort(); if (first_writes_to_seconds_operands (a, b, true)) - return "Instructions write to the same destination register."; + return _("Instructions write to the same destination register."); a_pipe = CGEN_INSN_ATTR (a->insn, CGEN_INSN_PIPE); b_pipe = CGEN_INSN_ATTR (b->insn, CGEN_INSN_PIPE); @@ -542,14 +542,14 @@ can_make_parallel (a, b) /* Make sure that the instructions use the correct execution pipelines. */ if ( a_pipe == PIPE_NONE || b_pipe == PIPE_NONE) - return "Instructions do not use parallel execution pipelines."; + return _("Instructions do not use parallel execution pipelines."); /* Leave this test for last, since it is the only test that can go away if the instructions are swapped, and we want to make sure that any other errors are detected before this happens. */ if ( a_pipe == PIPE_S || b_pipe == PIPE_O) - return "Instructions share the same execution pipeline"; + return _("Instructions share the same execution pipeline"); return NULL; } -- 2.30.2