Add initernationalisation macros to error strings
authorNick Clifton <nickc@redhat.com>
Fri, 24 Apr 1998 16:28:25 +0000 (16:28 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 24 Apr 1998 16:28:25 +0000 (16:28 +0000)
gas/ChangeLog
gas/config/tc-m32r.c

index 941066f..59dfd64 100644 (file)
@@ -1,3 +1,8 @@
+Fri Apr 24 09:26:46 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * config/tc-m32r.c (can_make_parallel): Add initernationalisation
+       macros to error strings.
+
 Thu Apr 23 19:23:23 1998  Ian Lance Taylor  <ian@cygnus.com>
 
        * config/tc-ppc.c (ppc_fix_adjustable): Correct test of whether a
index bdbd198..9991b6b 100644 (file)
@@ -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;
 }