This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] [ARC] Prepare strings for automatic translation.

A small patch which fixes the strings for automatic translation.

OK to apply?

2016-04-07  Claudiu Zissulescu  <>

	* config/tc-arc.c (arc_option): Prepare string for automatic
	(declare_register): Likewise.
 gas/config/tc-arc.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gas/config/tc-arc.c b/gas/config/tc-arc.c
index 42b0f8f..8c8afde 100644
--- a/gas/config/tc-arc.c
+++ b/gas/config/tc-arc.c
@@ -732,14 +732,14 @@ arc_option (int ignore ATTRIBUTE_UNUSED)
 	  md_parse_option (OPTION_MCPU, "archs");
-	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"));
     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)
   restore_line_pointer (c);
-  as_bad ("invalid identifier for \".cpu\"");
+  as_bad (_("invalid identifier for \".cpu\""));
   ignore_rest_of_line ();
@@ -2123,7 +2123,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);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]