PR gas/5175
authorNick Clifton <nickc@redhat.com>
Thu, 18 Oct 2007 11:01:24 +0000 (11:01 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 18 Oct 2007 11:01:24 +0000 (11:01 +0000)
* config/tc-xc16x.c: Fix formatting and internationalization.
* gas.pot: Regenerate.

gas/ChangeLog
gas/config/tc-xc16x.c
gas/po/gas.pot

index dabb2f6..6891903 100644 (file)
@@ -1,3 +1,9 @@
+2007-10-18  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/5175
+       * config/tc-xc16x.c: Fix formatting and internationalization.
+       * gas.pot: Regenerate.
+
 2007-10-17  Nick Clifton  <nickc@redhat.com>
 
        PR gas/5173
index 9224f5c..fab424c 100644 (file)
@@ -189,7 +189,7 @@ md_cgen_lookup_reloc (const CGEN_INSN *insn ATTRIBUTE_UNUSED,
       fixP->fx_where += 2;
       return BFD_RELOC_XC16X_SOF;
 
-    default : /* avoid -Wall warning */
+    default : /* Avoid -Wall warning.  */
       break;
     }
 
@@ -241,7 +241,7 @@ int
 md_estimate_size_before_relax (fragS *fragP ATTRIBUTE_UNUSED,
                               segT segment_type ATTRIBUTE_UNUSED)
 {
-  printf (_("call tomd_estimate_size_before_relax \n"));
+  printf (_("call to md_estimate_size_before_relax \n"));
   abort ();
 }
 
@@ -282,7 +282,7 @@ tc_gen_reloc (asection *section ATTRIBUTE_UNUSED, fixS *fixp)
          || S_GET_SEGMENT (fixp->fx_addsy) == undefined_section)
        {
          as_bad_where (fixp->fx_file, fixp->fx_line,
-                       "Difference of symbols in different sections is not supported");
+                       _("Difference of symbols in different sections is not supported"));
          return NULL;
        }
     }
@@ -298,7 +298,7 @@ tc_gen_reloc (asection *section ATTRIBUTE_UNUSED, fixS *fixp)
 #define DEBUG 0
 #if DEBUG
   fprintf (stderr, "%s\n", bfd_get_reloc_code_name (r_type));
-  fflush(stderr);
+  fflush (stderr);
 #endif
 
   rel->howto = bfd_reloc_type_lookup (stdoutput, r_type);
@@ -316,7 +316,7 @@ tc_gen_reloc (asection *section ATTRIBUTE_UNUSED, fixS *fixp)
 void
 md_apply_fix (fixS *fixP, valueT *valP, segT seg ATTRIBUTE_UNUSED)
 {
-  if(!strstr (seg->name,".debug"))
+  if (!strstr (seg->name,".debug"))
     {
       if (*valP < 128)
        *valP /= 2;
@@ -340,5 +340,3 @@ md_convert_frag (bfd *headers ATTRIBUTE_UNUSED,
   printf (_("call to md_convert_frag \n"));
   abort ();
 }
-
-
index e869572..aeb4eb8 100644 (file)
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: bug-binutils@gnu.org\n"
-"POT-Creation-Date: 2007-10-17 17:39+0100\n"
+"POT-Creation-Date: 2007-10-18 11:59+0100\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -4793,12 +4793,12 @@ msgstr ""
 msgid "call to md_convert_frag \n"
 msgstr ""
 
-#: config/tc-h8300.c:2099
+#: config/tc-h8300.c:2099 config/tc-xc16x.c:244
 #, c-format
 msgid "call to md_estimate_size_before_relax \n"
 msgstr ""
 
-#: config/tc-h8300.c:2128
+#: config/tc-h8300.c:2128 config/tc-xc16x.c:285
 msgid "Difference of symbols in different sections is not supported"
 msgstr ""
 
@@ -12694,11 +12694,6 @@ msgstr ""
 msgid " XC16X specific command line options:\n"
 msgstr ""
 
-#: config/tc-xc16x.c:244
-#, c-format
-msgid "call tomd_estimate_size_before_relax \n"
-msgstr ""
-
 #: config/tc-xstormy16.c:78
 #, c-format
 msgid " XSTORMY16 specific command line options:\n"