[ARC] Prepare strings for automatic translation.
authorClaudiu Zissulescu <claziss@synopsys.com>
Thu, 7 Apr 2016 12:01:17 +0000 (14:01 +0200)
committerClaudiu Zissulescu <claziss@synopsys.com>
Thu, 7 Apr 2016 13:11:52 +0000 (15:11 +0200)
gas/
2016-04-07  Claudiu Zissulescu  <claziss@synopsys.com>

* config/tc-arc.c (arc_option): Prepare string for automatic
translation.
(declare_register): Likewise.

gas/ChangeLog
gas/config/tc-arc.c

index de996f64892a7f6f18a700c60237ca770ecc4cfa..9307b647578e386c79d04570501412093f5b275d 100644 (file)
@@ -1,3 +1,10 @@
+gas/
+2016-04-07  Claudiu Zissulescu  <claziss@synopsys.com>
+
+        * config/tc-arc.c (arc_option): Prepare string for automatic
+        translation.
+        (declare_register): Likewise.
+
 2016-04-06  James Greenhalgh  <james.greenhalgh@arm.com>
 
        * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
index 154e838974b8ec16581753dabc1f31b2c680630b..ea3464595a9368ebf02b5939a1d98f8b1119bf71 100644 (file)
@@ -732,14 +732,14 @@ arc_option (int ignore ATTRIBUTE_UNUSED)
          md_parse_option (OPTION_MCPU, "archs");
        }
       else
-       as_fatal ("could not find the architecture");
+       as_fatal (_("could not find the architecture"));
 
       if (!bfd_set_arch_mach (stdoutput, bfd_arch_arc, mach))
-       as_fatal ("could not set architecture and machine");
+       as_fatal (_("could not set architecture and machine"));
     }
   else
     if (arc_mach_type != mach)
-      as_warn ("Command-line value overrides \".cpu\" directive");
+      as_warn (_("Command-line value overrides \".cpu\" directive"));
 
   restore_line_pointer (c);
   demand_empty_rest_of_line ();
@@ -747,7 +747,7 @@ arc_option (int ignore ATTRIBUTE_UNUSED)
 
  bad_cpu:
   restore_line_pointer (c);
-  as_bad ("invalid identifier for \".cpu\"");
+  as_bad (_("invalid identifier for \".cpu\""));
   ignore_rest_of_line ();
 }
 
@@ -2111,7 +2111,7 @@ declare_register (const char *name, int number)
 
   err = hash_insert (arc_reg_hash, S_GET_NAME (regS), (void *) regS);
   if (err)
-    as_fatal ("Inserting \"%s\" into register table failed: %s",
+    as_fatal (_("Inserting \"%s\" into register table failed: %s"),
              name, err);
 }
 
This page took 0.028992 seconds and 4 git commands to generate.