From 662a2e45c3a21b079cca6ab097c70896c8606a4b Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 18 Oct 2007 11:01:24 +0000 Subject: PR gas/5175 * config/tc-xc16x.c: Fix formatting and internationalization. * gas.pot: Regenerate. --- gas/ChangeLog | 6 ++++++ gas/config/tc-xc16x.c | 12 +++++------- gas/po/gas.pot | 11 +++-------- 3 files changed, 14 insertions(+), 15 deletions(-) (limited to 'gas') diff --git a/gas/ChangeLog b/gas/ChangeLog index dabb2f6..6891903 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2007-10-18 Nick Clifton + + PR gas/5175 + * config/tc-xc16x.c: Fix formatting and internationalization. + * gas.pot: Regenerate. + 2007-10-17 Nick Clifton PR gas/5173 diff --git a/gas/config/tc-xc16x.c b/gas/config/tc-xc16x.c index 9224f5c..fab424c 100644 --- a/gas/config/tc-xc16x.c +++ b/gas/config/tc-xc16x.c @@ -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 (); } - - diff --git a/gas/po/gas.pot b/gas/po/gas.pot index e869572..aeb4eb8 100644 --- a/gas/po/gas.pot +++ b/gas/po/gas.pot @@ -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 \n" "Language-Team: LANGUAGE \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" -- cgit v1.1