PR gas/5121 gas/5122 gas/5123 gas/5124 gas/5125 gas/5126 gas/5129 gas/5131 gas/5132 gas/5137 gas/5143

* Makefile.am (CFILES): Add cgen.c
  (TARGET_CPU_CFILES): Add tc-iq2000.c, tc-maxq.c, tc-mt.c, tc-tic4x.c and xtensa-relax.c.
  (TARGET_CPU_HFILES): Add tc-iq2000.h, tc-maxq.h, tc-mt.h, tc-tic4x.h and xtensa-relax.h.
  (TARG_ENV_HFILES): Remove te-aux.h, te-delta.h, te-delt88.h, te-ic960.h, te-linux.h.
   Add te-aix5.h, te-armeabi.h, te-freebsd.h, te-gnu.h, te-interix.h, te-vxworks.h.
  (CONFIG_ATOF_CFILES): New variable.
  (POTFILES): Add CONFIG_ATOF_CFILES to dependencies.  Fix typo with dependency upon TARG_ENV_HFILES.
  (DEPTC): Do not put "#include opcodes/<foo>-desc.h" into cgen-desc.h when foo-desc.h does not exit.
   Run make dep-am.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.
* po/es.po: Regenerate.
* po/fr.po: Regenerate.
* po/gas.pot: Regenerate.
* po/rw.po: Regenerate.
* po/tr.po: Regenerate.
* config/obj-elf.c (obj_elf_vtable_inherit): Allow for translation of error messages.
* config/obj-som.c: Likewise.
* config/tc-arc.c: Likewise.
* config/tc-arm.c: Likewise.
* config/tc-bfin.c: Likewise.
* config/tc-frv.c: Likewise.
This commit is contained in:
Nick Clifton
2007-10-08 15:26:42 +00:00
parent 0c6773c14a
commit bd3ba5d1b3
10 changed files with 1913 additions and 1748 deletions

View File

@ -1,3 +1,42 @@
2007-10-08 Nick Clifton <nickc@redhat.com>
PR gas/5121 gas/5122 gas/5123
* Makefile.am (CFILES): Add cgen.c
(TARGET_CPU_CFILES): Add tc-iq2000.c, tc-maxq.c, tc-mt.c,
tc-tic4x.c and xtensa-relax.c.
(TARGET_CPU_HFILES): Add tc-iq2000.h, tc-maxq.h, tc-mt.h,
tc-tic4x.h and xtensa-relax.h.
(TARG_ENV_HFILES): Remove te-aux.h, te-delta.h, te-delt88.h,
te-ic960.h, te-linux.h. Add te-aix5.h, te-armeabi.h,
te-freebsd.h, te-gnu.h, te-interix.h, te-vxworks.h.
(CONFIG_ATOF_CFILES): New variable.
(POTFILES): Add CONFIG_ATOF_CFILES to dependencies. Fix typo with
dependency upon TARG_ENV_HFILES.
(DEPTC): Do not put "#include opcodes/<foo>-desc.h" into
cgen-desc.h when foo-desc.h does not exit.
Run make dep-am.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.
PR gas/5124 gas/5125
* po/es.po: Regenerate.
* po/fr.po: Regenerate.
* po/gas.pot: Regenerate.
* po/rw.po: Regenerate.
* po/tr.po: Regenerate.
* config/obj-elf.c (obj_elf_vtable_inherit): Allow for translation
of error messages.
PR gas/5126
* config/obj-som.c: Likewise.
PR gas/5129
* config/tc-arc.c: Likewise.
PR gas/5131 gas/5132
* config/tc-arm.c: Likewise.
PR gas/5137
* config/tc-bfin.c: Likewise.
PR gas/5143
* config/tc-frv.c: Likewise.
2007-10-08 Eric B. Weddington <eweddington@cso.atmel.com> 2007-10-08 Eric B. Weddington <eweddington@cso.atmel.com>
* config/tc-avr.c (mcu_types): Add new devices: ATtiny43U, * config/tc-avr.c (mcu_types): Add new devices: ATtiny43U,

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1275,7 +1275,7 @@ obj_elf_vtable_inherit (int ignore ATTRIBUTE_UNUSED)
if (csym == NULL || symbol_get_frag (csym) == NULL) if (csym == NULL || symbol_get_frag (csym) == NULL)
{ {
as_bad ("expected `%s' to have already been set for .vtable_inherit", as_bad (_("expected `%s' to have already been set for .vtable_inherit"),
cname); cname);
bad = 1; bad = 1;
} }
@ -1285,7 +1285,7 @@ obj_elf_vtable_inherit (int ignore ATTRIBUTE_UNUSED)
SKIP_WHITESPACE (); SKIP_WHITESPACE ();
if (*input_line_pointer != ',') if (*input_line_pointer != ',')
{ {
as_bad ("expected comma after name in .vtable_inherit"); as_bad (_("expected comma after name in .vtable_inherit"));
ignore_rest_of_line (); ignore_rest_of_line ();
return NULL; return NULL;
} }
@ -1345,7 +1345,7 @@ obj_elf_vtable_entry (int ignore ATTRIBUTE_UNUSED)
SKIP_WHITESPACE (); SKIP_WHITESPACE ();
if (*input_line_pointer != ',') if (*input_line_pointer != ',')
{ {
as_bad ("expected comma after name in .vtable_entry"); as_bad (_("expected comma after name in .vtable_entry"));
ignore_rest_of_line (); ignore_rest_of_line ();
return NULL; return NULL;
} }

View File

@ -55,7 +55,7 @@ obj_som_compiler (int unused ATTRIBUTE_UNUSED)
if (compiler_seen) if (compiler_seen)
{ {
as_bad ("Only one .compiler pseudo-op per file!"); as_bad (_("Only one .compiler pseudo-op per file!"));
ignore_rest_of_line (); ignore_rest_of_line ();
return; return;
} }
@ -72,7 +72,7 @@ obj_som_compiler (int unused ATTRIBUTE_UNUSED)
} }
else else
{ {
as_bad ("Expected quoted string"); as_bad (_("Expected quoted string"));
ignore_rest_of_line (); ignore_rest_of_line ();
return; return;
} }
@ -85,7 +85,7 @@ obj_som_compiler (int unused ATTRIBUTE_UNUSED)
p++; p++;
if (*p == '\000') if (*p == '\000')
{ {
as_bad (".compiler directive missing language and version"); as_bad (_(".compiler directive missing language and version"));
return; return;
} }
*p = '\000'; *p = '\000';
@ -95,7 +95,7 @@ obj_som_compiler (int unused ATTRIBUTE_UNUSED)
p++; p++;
if (*p == '\000') if (*p == '\000')
{ {
as_bad (".compiler directive missing version"); as_bad (_(".compiler directive missing version"));
return; return;
} }
*p = '\000'; *p = '\000';
@ -111,7 +111,7 @@ obj_som_compiler (int unused ATTRIBUTE_UNUSED)
"GNU Tools", version_id)) "GNU Tools", version_id))
{ {
bfd_perror (stdoutput->filename); bfd_perror (stdoutput->filename);
as_fatal ("FATAL: Attaching compiler header %s", stdoutput->filename); as_fatal (_("FATAL: Attaching compiler header %s"), stdoutput->filename);
} }
*input_line_pointer = c; *input_line_pointer = c;
demand_empty_rest_of_line (); demand_empty_rest_of_line ();

View File

@ -191,7 +191,7 @@ md_begin (void)
target_big_endian = byte_order == BIG_ENDIAN; target_big_endian = byte_order == BIG_ENDIAN;
if (!bfd_set_arch_mach (stdoutput, bfd_arch_arc, arc_mach_type)) if (!bfd_set_arch_mach (stdoutput, bfd_arch_arc, arc_mach_type))
as_warn ("could not set architecture and machine"); as_warn (_("could not set architecture and machine"));
/* This call is necessary because we need to initialize `arc_operand_map' /* This call is necessary because we need to initialize `arc_operand_map'
which may be needed before we see the first insn. */ which may be needed before we see the first insn. */
@ -209,10 +209,10 @@ init_opcode_tables (int mach)
char *last; char *last;
if ((arc_suffix_hash = hash_new ()) == NULL) if ((arc_suffix_hash = hash_new ()) == NULL)
as_fatal ("virtual memory exhausted"); as_fatal (_("virtual memory exhausted"));
if (!bfd_set_arch_mach (stdoutput, bfd_arch_arc, mach)) if (!bfd_set_arch_mach (stdoutput, bfd_arch_arc, mach))
as_warn ("could not set architecture and machine"); as_warn (_("could not set architecture and machine"));
/* This initializes a few things in arc-opc.c that we need. /* This initializes a few things in arc-opc.c that we need.
This must be called before the various arc_xxx_supported fns. */ This must be called before the various arc_xxx_supported fns. */
@ -429,7 +429,7 @@ arc_extoper (int opertype)
if (*input_line_pointer != ',') if (*input_line_pointer != ',')
{ {
as_bad ("expected comma after operand name"); as_bad (_("expected comma after operand name"));
ignore_rest_of_line (); ignore_rest_of_line ();
free (name); free (name);
return; return;
@ -440,7 +440,7 @@ arc_extoper (int opertype)
if (number < 0) if (number < 0)
{ {
as_bad ("negative operand number %d", number); as_bad (_("negative operand number %d"), number);
ignore_rest_of_line (); ignore_rest_of_line ();
free (name); free (name);
return; return;
@ -452,7 +452,7 @@ arc_extoper (int opertype)
if (*input_line_pointer != ',') if (*input_line_pointer != ',')
{ {
as_bad ("expected comma after register-number"); as_bad (_("expected comma after register-number"));
ignore_rest_of_line (); ignore_rest_of_line ();
free (name); free (name);
return; return;
@ -477,7 +477,7 @@ arc_extoper (int opertype)
{ {
if (strncmp (mode, "w", 1)) if (strncmp (mode, "w", 1))
{ {
as_bad ("invalid mode"); as_bad (_("invalid mode"));
ignore_rest_of_line (); ignore_rest_of_line ();
free (name); free (name);
return; return;
@ -494,7 +494,7 @@ arc_extoper (int opertype)
{ {
if (*input_line_pointer != ',') if (*input_line_pointer != ',')
{ {
as_bad ("expected comma after register-mode"); as_bad (_("expected comma after register-mode"));
ignore_rest_of_line (); ignore_rest_of_line ();
free (name); free (name);
return; return;
@ -511,7 +511,7 @@ arc_extoper (int opertype)
{ {
if (strncmp (input_line_pointer, "can_shortcut", 12)) if (strncmp (input_line_pointer, "can_shortcut", 12))
{ {
as_bad ("shortcut designator invalid"); as_bad (_("shortcut designator invalid"));
ignore_rest_of_line (); ignore_rest_of_line ();
free (name); free (name);
return; return;
@ -526,7 +526,7 @@ arc_extoper (int opertype)
if ((opertype == 1) && number > 60) if ((opertype == 1) && number > 60)
{ {
as_bad ("core register value (%d) too large", number); as_bad (_("core register value (%d) too large"), number);
ignore_rest_of_line (); ignore_rest_of_line ();
free (name); free (name);
return; return;
@ -534,7 +534,7 @@ arc_extoper (int opertype)
if ((opertype == 0) && number > 31) if ((opertype == 0) && number > 31)
{ {
as_bad ("condition code value (%d) too large", number); as_bad (_("condition code value (%d) too large"), number);
ignore_rest_of_line (); ignore_rest_of_line ();
free (name); free (name);
return; return;
@ -551,7 +551,7 @@ arc_extoper (int opertype)
S_SET_VALUE (symbolP, (valueT) &ext_oper->operand); S_SET_VALUE (symbolP, (valueT) &ext_oper->operand);
else else
{ {
as_bad ("attempt to override symbol: %s", name); as_bad (_("attempt to override symbol: %s"), name);
ignore_rest_of_line (); ignore_rest_of_line ();
free (name); free (name);
free (ext_oper); free (ext_oper);
@ -622,7 +622,7 @@ arc_extoper (int opertype)
strcpy (p, name); strcpy (p, name);
break; break;
default: default:
as_bad ("invalid opertype"); as_bad (_("invalid opertype"));
ignore_rest_of_line (); ignore_rest_of_line ();
free (name); free (name);
return; return;
@ -667,7 +667,7 @@ arc_extinst (int ignore ATTRIBUTE_UNUSED)
if (*input_line_pointer != ',') if (*input_line_pointer != ',')
{ {
as_bad ("expected comma after operand name"); as_bad (_("expected comma after operand name"));
ignore_rest_of_line (); ignore_rest_of_line ();
return; return;
} }
@ -679,7 +679,7 @@ arc_extinst (int ignore ATTRIBUTE_UNUSED)
if (*input_line_pointer != ',') if (*input_line_pointer != ',')
{ {
as_bad ("expected comma after opcode"); as_bad (_("expected comma after opcode"));
ignore_rest_of_line (); ignore_rest_of_line ();
return; return;
} }
@ -689,7 +689,7 @@ arc_extinst (int ignore ATTRIBUTE_UNUSED)
if (subopcode < 0) if (subopcode < 0)
{ {
as_bad ("negative subopcode %d", subopcode); as_bad (_("negative subopcode %d"), subopcode);
ignore_rest_of_line (); ignore_rest_of_line ();
return; return;
} }
@ -698,7 +698,7 @@ arc_extinst (int ignore ATTRIBUTE_UNUSED)
{ {
if (3 != opcode) if (3 != opcode)
{ {
as_bad ("subcode value found when opcode not equal 0x03"); as_bad (_("subcode value found when opcode not equal 0x03"));
ignore_rest_of_line (); ignore_rest_of_line ();
return; return;
} }
@ -706,7 +706,7 @@ arc_extinst (int ignore ATTRIBUTE_UNUSED)
{ {
if (subopcode < 0x09 || subopcode == 0x3f) if (subopcode < 0x09 || subopcode == 0x3f)
{ {
as_bad ("invalid subopcode %d", subopcode); as_bad (_("invalid subopcode %d"), subopcode);
ignore_rest_of_line (); ignore_rest_of_line ();
return; return;
} }
@ -717,7 +717,7 @@ arc_extinst (int ignore ATTRIBUTE_UNUSED)
if (*input_line_pointer != ',') if (*input_line_pointer != ',')
{ {
as_bad ("expected comma after subopcode"); as_bad (_("expected comma after subopcode"));
ignore_rest_of_line (); ignore_rest_of_line ();
return; return;
} }
@ -736,7 +736,7 @@ arc_extinst (int ignore ATTRIBUTE_UNUSED)
if (-1 == suffixcode) if (-1 == suffixcode)
{ {
as_bad ("invalid suffix class"); as_bad (_("invalid suffix class"));
ignore_rest_of_line (); ignore_rest_of_line ();
return; return;
} }
@ -745,7 +745,7 @@ arc_extinst (int ignore ATTRIBUTE_UNUSED)
if (*input_line_pointer != ',') if (*input_line_pointer != ',')
{ {
as_bad ("expected comma after suffix class"); as_bad (_("expected comma after suffix class"));
ignore_rest_of_line (); ignore_rest_of_line ();
return; return;
} }
@ -764,14 +764,14 @@ arc_extinst (int ignore ATTRIBUTE_UNUSED)
if (0 == (SYNTAX_VALID & class)) if (0 == (SYNTAX_VALID & class))
{ {
as_bad ("invalid syntax class"); as_bad (_("invalid syntax class"));
ignore_rest_of_line (); ignore_rest_of_line ();
return; return;
} }
if ((0x3 == opcode) & (class & SYNTAX_3OP)) if ((0x3 == opcode) & (class & SYNTAX_3OP))
{ {
as_bad ("opcode 0x3 and SYNTAX_3OP invalid"); as_bad (_("opcode 0x3 and SYNTAX_3OP invalid"));
ignore_rest_of_line (); ignore_rest_of_line ();
return; return;
} }
@ -791,7 +791,7 @@ arc_extinst (int ignore ATTRIBUTE_UNUSED)
strcat (syntax, " "); strcat (syntax, " ");
break; break;
default: default:
as_bad ("unknown suffix class"); as_bad (_("unknown suffix class"));
ignore_rest_of_line (); ignore_rest_of_line ();
return; return;
break; break;
@ -858,7 +858,7 @@ arc_common (int localScope)
if (*input_line_pointer != ',') if (*input_line_pointer != ',')
{ {
as_bad ("expected comma after symbol name"); as_bad (_("expected comma after symbol name"));
ignore_rest_of_line (); ignore_rest_of_line ();
return; return;
} }
@ -868,7 +868,7 @@ arc_common (int localScope)
if (size < 0) if (size < 0)
{ {
as_bad ("negative symbol length"); as_bad (_("negative symbol length"));
ignore_rest_of_line (); ignore_rest_of_line ();
return; return;
} }
@ -879,14 +879,14 @@ arc_common (int localScope)
if (S_IS_DEFINED (symbolP) && ! S_IS_COMMON (symbolP)) if (S_IS_DEFINED (symbolP) && ! S_IS_COMMON (symbolP))
{ {
as_bad ("ignoring attempt to re-define symbol"); as_bad (_("ignoring attempt to re-define symbol"));
ignore_rest_of_line (); ignore_rest_of_line ();
return; return;
} }
if (((int) S_GET_VALUE (symbolP) != 0) \ if (((int) S_GET_VALUE (symbolP) != 0) \
&& ((int) S_GET_VALUE (symbolP) != size)) && ((int) S_GET_VALUE (symbolP) != size))
{ {
as_warn ("length of symbol \"%s\" already %ld, ignoring %d", as_warn (_("length of symbol \"%s\" already %ld, ignoring %d"),
S_GET_NAME (symbolP), (long) S_GET_VALUE (symbolP), size); S_GET_NAME (symbolP), (long) S_GET_VALUE (symbolP), size);
} }
assert (symbolP->sy_frag == &zero_address_frag); assert (symbolP->sy_frag == &zero_address_frag);
@ -900,7 +900,7 @@ arc_common (int localScope)
if (align < 0) if (align < 0)
{ {
align = 0; align = 0;
as_warn ("assuming symbol alignment of zero"); as_warn (_("assuming symbol alignment of zero"));
} }
} }
else else
@ -967,7 +967,7 @@ arc_option (int ignore ATTRIBUTE_UNUSED)
/* If an instruction has already been seen, it's too late. */ /* If an instruction has already been seen, it's too late. */
if (cpu_tables_init_p) if (cpu_tables_init_p)
{ {
as_bad ("\".option\" directive must appear before any instructions"); as_bad (_("\".option\" directive must appear before any instructions"));
ignore_rest_of_line (); ignore_rest_of_line ();
return; return;
} }
@ -977,7 +977,7 @@ arc_option (int ignore ATTRIBUTE_UNUSED)
if (mach_type_specified_p && mach != arc_mach_type) if (mach_type_specified_p && mach != arc_mach_type)
{ {
as_bad ("\".option\" directive conflicts with initial definition"); as_bad (_("\".option\" directive conflicts with initial definition"));
ignore_rest_of_line (); ignore_rest_of_line ();
return; return;
} }
@ -985,17 +985,17 @@ arc_option (int ignore ATTRIBUTE_UNUSED)
{ {
/* The cpu may have been selected on the command line. */ /* The cpu may have been selected on the command line. */
if (mach != arc_mach_type) if (mach != arc_mach_type)
as_warn ("\".option\" directive overrides command-line (default) value"); as_warn (_("\".option\" directive overrides command-line (default) value"));
arc_mach_type = mach; arc_mach_type = mach;
if (!bfd_set_arch_mach (stdoutput, bfd_arch_arc, mach)) 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"));
mach_type_specified_p = 1; mach_type_specified_p = 1;
} }
demand_empty_rest_of_line (); demand_empty_rest_of_line ();
return; return;
bad_cpu: bad_cpu:
as_bad ("invalid identifier for \".option\""); as_bad (_("invalid identifier for \".option\""));
ignore_rest_of_line (); ignore_rest_of_line ();
} }
@ -1117,7 +1117,7 @@ arc_code_symbol (expressionS *expressionP)
expressionP->X_op_symbol = make_expr_symbol (&two); expressionP->X_op_symbol = make_expr_symbol (&two);
} }
else else
as_bad ("expression too complex code symbol"); as_bad (_("expression too complex code symbol"));
} }
/* Parse an operand that is machine-specific. /* Parse an operand that is machine-specific.
@ -1144,7 +1144,7 @@ md_operand (expressionS *expressionP)
expression (expressionP); expression (expressionP);
if (*input_line_pointer != ')') if (*input_line_pointer != ')')
{ {
as_bad ("missing ')' in %%-op"); as_bad (_("missing ')' in %%-op"));
return; return;
} }
++input_line_pointer; ++input_line_pointer;
@ -1345,7 +1345,7 @@ md_apply_fix (fixS *fixP, valueT * valP, segT seg)
else else
{ {
as_bad_where (fixP->fx_file, fixP->fx_line, as_bad_where (fixP->fx_file, fixP->fx_line,
"unresolved expression that must be resolved"); _("unresolved expression that must be resolved"));
fixP->fx_done = 1; fixP->fx_done = 1;
return; return;
} }
@ -1399,7 +1399,7 @@ tc_gen_reloc (asection *section ATTRIBUTE_UNUSED,
if (reloc->howto == (reloc_howto_type *) NULL) if (reloc->howto == (reloc_howto_type *) NULL)
{ {
as_bad_where (fixP->fx_file, fixP->fx_line, as_bad_where (fixP->fx_file, fixP->fx_line,
"internal error: can't export reloc type %d (`%s')", _("internal error: can't export reloc type %d (`%s')"),
fixP->fx_r_type, fixP->fx_r_type,
bfd_get_reloc_code_name (fixP->fx_r_type)); bfd_get_reloc_code_name (fixP->fx_r_type));
return NULL; return NULL;
@ -1531,7 +1531,7 @@ md_assemble (char *str)
} }
operand = arc_operands + arc_operand_map[(int) *syn]; operand = arc_operands + arc_operand_map[(int) *syn];
if (operand->fmt == 0) if (operand->fmt == 0)
as_fatal ("unknown syntax format character `%c'", *syn); as_fatal (_("unknown syntax format character `%c'"), *syn);
if (operand->flags & ARC_OPERAND_FAKE) if (operand->flags & ARC_OPERAND_FAKE)
{ {
@ -1669,7 +1669,7 @@ md_assemble (char *str)
else else
{ {
if (num_suffixes == MAX_SUFFIXES) if (num_suffixes == MAX_SUFFIXES)
as_bad ("too many suffixes"); as_bad (_("too many suffixes"));
else else
insn_suffixes[num_suffixes++] = suffix; insn_suffixes[num_suffixes++] = suffix;
} }
@ -1699,16 +1699,16 @@ md_assemble (char *str)
input_line_pointer = hold; input_line_pointer = hold;
if (exp.X_op == O_illegal) if (exp.X_op == O_illegal)
as_bad ("illegal operand"); as_bad (_("illegal operand"));
else if (exp.X_op == O_absent) else if (exp.X_op == O_absent)
as_bad ("missing operand"); as_bad (_("missing operand"));
else if (exp.X_op == O_constant) else if (exp.X_op == O_constant)
value = exp.X_add_number; value = exp.X_add_number;
else if (exp.X_op == O_register) else if (exp.X_op == O_register)
reg = (struct arc_operand_value *) exp.X_add_number; reg = (struct arc_operand_value *) exp.X_add_number;
#define IS_REG_DEST_OPERAND(o) ((o) == 'a') #define IS_REG_DEST_OPERAND(o) ((o) == 'a')
else if (IS_REG_DEST_OPERAND (*syn)) else if (IS_REG_DEST_OPERAND (*syn))
as_bad ("symbol as destination register"); as_bad (_("symbol as destination register"));
else else
{ {
if (!strncmp (str, "@h30", 4)) if (!strncmp (str, "@h30", 4))
@ -1718,7 +1718,7 @@ md_assemble (char *str)
} }
/* We need to generate a fixup for this expression. */ /* We need to generate a fixup for this expression. */
if (fc >= MAX_FIXUPS) if (fc >= MAX_FIXUPS)
as_fatal ("too many fixups"); as_fatal (_("too many fixups"));
fixups[fc].exp = exp; fixups[fc].exp = exp;
/* We don't support shimm relocs. break here to force /* We don't support shimm relocs. break here to force
the assembler to output a limm. */ the assembler to output a limm. */
@ -1793,7 +1793,7 @@ md_assemble (char *str)
++str; ++str;
if (!is_end_of_line[(unsigned char) *str]) if (!is_end_of_line[(unsigned char) *str])
as_bad ("junk at end of line: `%s'", str); as_bad (_("junk at end of line: `%s'"), str);
/* Is there a limm value? */ /* Is there a limm value? */
limm_p = arc_opcode_limm_p (&limm); limm_p = arc_opcode_limm_p (&limm);
@ -1832,10 +1832,10 @@ md_assemble (char *str)
be legal, but let's warn the user anyway. Ditto for 8 byte be legal, but let's warn the user anyway. Ditto for 8 byte
jumps with delay slots. */ jumps with delay slots. */
if (in_delay_slot_p && limm_p) if (in_delay_slot_p && limm_p)
as_warn ("8 byte instruction in delay slot"); as_warn (_("8 byte instruction in delay slot"));
if (delay_slot_type != ARC_DELAY_NONE if (delay_slot_type != ARC_DELAY_NONE
&& limm_p && arc_insn_not_jl (insn)) /* except for jl addr */ && limm_p && arc_insn_not_jl (insn)) /* except for jl addr */
as_warn ("8 byte jump instruction with delay slot"); as_warn (_("8 byte jump instruction with delay slot"));
in_delay_slot_p = (delay_slot_type != ARC_DELAY_NONE) && !limm_p; in_delay_slot_p = (delay_slot_type != ARC_DELAY_NONE) && !limm_p;
/* Warn when a conditional branch immediately follows a set of /* Warn when a conditional branch immediately follows a set of
@ -1843,7 +1843,7 @@ md_assemble (char *str)
insn that sets the condition codes uses a limm. */ insn that sets the condition codes uses a limm. */
if (cond_branch_p && conditional != 0 /* 0 = "always" */ if (cond_branch_p && conditional != 0 /* 0 = "always" */
&& prev_insn_needs_cc_nop_p && arc_mach_type == bfd_mach_arc_5) && prev_insn_needs_cc_nop_p && arc_mach_type == bfd_mach_arc_5)
as_warn ("conditional branch follows set of flags"); as_warn (_("conditional branch follows set of flags"));
prev_insn_needs_cc_nop_p = prev_insn_needs_cc_nop_p =
/* FIXME: ??? not required: /* FIXME: ??? not required:
(delay_slot_type != ARC_DELAY_NONE) && */ (delay_slot_type != ARC_DELAY_NONE) && */
@ -1927,7 +1927,7 @@ md_assemble (char *str)
} }
if (NULL == last_errmsg) if (NULL == last_errmsg)
as_bad ("bad instruction `%s'", start); as_bad (_("bad instruction `%s'"), start);
else else
as_bad (last_errmsg); as_bad (last_errmsg);
} }

View File

@ -2430,7 +2430,7 @@ find_real_start (symbolS * symbolP)
if (new_target == NULL) if (new_target == NULL)
{ {
as_warn ("Failed to find real start of function: %s\n", name); as_warn (_("Failed to find real start of function: %s\n"), name);
new_target = symbolP; new_target = symbolP;
} }
@ -6003,7 +6003,7 @@ parse_operands (char *str, const unsigned char *pattern)
break; break;
default: default:
as_fatal ("unhandled operand code %d", upat[i]); as_fatal (_("unhandled operand code %d"), upat[i]);
} }
/* Various value-based sanity checks and shared operations. We /* Various value-based sanity checks and shared operations. We
@ -6614,7 +6614,7 @@ do_barrier (void)
{ {
constraint ((inst.instruction & 0xf0) != 0x40 constraint ((inst.instruction & 0xf0) != 0x40
&& inst.operands[0].imm != 0xf, && inst.operands[0].imm != 0xf,
"bad barrier type"); _("bad barrier type"));
inst.instruction |= inst.operands[0].imm; inst.instruction |= inst.operands[0].imm;
} }
else else
@ -7012,8 +7012,8 @@ do_ldstt (void)
reject [Rn,...]. */ reject [Rn,...]. */
if (inst.operands[1].preind) if (inst.operands[1].preind)
{ {
constraint (inst.reloc.exp.X_op != O_constant || constraint (inst.reloc.exp.X_op != O_constant
inst.reloc.exp.X_add_number != 0, || inst.reloc.exp.X_add_number != 0,
_("this instruction requires a post-indexed address")); _("this instruction requires a post-indexed address"));
inst.operands[1].preind = 0; inst.operands[1].preind = 0;
@ -7043,8 +7043,8 @@ do_ldsttv4 (void)
reject [Rn,...]. */ reject [Rn,...]. */
if (inst.operands[1].preind) if (inst.operands[1].preind)
{ {
constraint (inst.reloc.exp.X_op != O_constant || constraint (inst.reloc.exp.X_op != O_constant
inst.reloc.exp.X_add_number != 0, || inst.reloc.exp.X_add_number != 0,
_("this instruction requires a post-indexed address")); _("this instruction requires a post-indexed address"));
inst.operands[1].preind = 0; inst.operands[1].preind = 0;
@ -8773,7 +8773,7 @@ do_t_barrier (void)
{ {
constraint ((inst.instruction & 0xf0) != 0x40 constraint ((inst.instruction & 0xf0) != 0x40
&& inst.operands[0].imm != 0xf, && inst.operands[0].imm != 0xf,
"bad barrier type"); _("bad barrier type"));
inst.instruction |= inst.operands[0].imm; inst.instruction |= inst.operands[0].imm;
} }
else else
@ -17309,7 +17309,7 @@ start_unwind_section (const segT text_seg, int idx)
group_name = elf_group_name (text_seg); group_name = elf_group_name (text_seg);
if (group_name == NULL) if (group_name == NULL)
{ {
as_bad ("Group section `%s' has no group signature", as_bad (_("Group section `%s' has no group signature"),
segment_name (text_seg)); segment_name (text_seg));
ignore_rest_of_line (); ignore_rest_of_line ();
return; return;
@ -17627,7 +17627,7 @@ md_undefined_symbol (char * name ATTRIBUTE_UNUSED)
if (!GOT_symbol) if (!GOT_symbol)
{ {
if (symbol_find (name)) if (symbol_find (name))
as_bad ("GOT already in the symbol table"); as_bad (_("GOT already in the symbol table"));
GOT_symbol = symbol_new (name, undefined_section, GOT_symbol = symbol_new (name, undefined_section,
(valueT) 0, & zero_address_frag); (valueT) 0, & zero_address_frag);

View File

@ -246,7 +246,7 @@ bfin_pic_ptr (int nbytes)
if (*input_line_pointer == ')') if (*input_line_pointer == ')')
input_line_pointer++; input_line_pointer++;
else else
as_bad ("missing ')'"); as_bad (_("missing ')'"));
} }
else else
error ("missing funcdesc in picptr"); error ("missing funcdesc in picptr");
@ -348,7 +348,7 @@ md_begin ()
/* Set the default machine type. */ /* Set the default machine type. */
if (!bfd_set_arch_mach (stdoutput, bfd_arch_bfin, 0)) if (!bfd_set_arch_mach (stdoutput, bfd_arch_bfin, 0))
as_warn ("Could not set architecture and machine."); as_warn (_("Could not set architecture and machine."));
/* Ensure that lines can begin with '(', for multiple /* Ensure that lines can begin with '(', for multiple
register stack pops. */ register stack pops. */
@ -493,7 +493,7 @@ parse (char *line)
state = yyparse (); state = yyparse ();
if (state == SEMANTIC_ERROR) if (state == SEMANTIC_ERROR)
{ {
as_bad ("Parse failed."); as_bad (_("Parse failed."));
insn = 0; insn = 0;
} }
@ -568,7 +568,7 @@ md_apply_fix (fixS *fixP, valueT *valueP, segT seg ATTRIBUTE_UNUSED)
break; break;
if (value < -1024 || value > 1022) if (value < -1024 || value > 1022)
as_bad_where (fixP->fx_file, fixP->fx_line, as_bad_where (fixP->fx_file, fixP->fx_line,
"pcrel too far BFD_RELOC_BFIN_10"); _("pcrel too far BFD_RELOC_BFIN_10"));
/* 11 bit offset even numbered, so we remove right bit. */ /* 11 bit offset even numbered, so we remove right bit. */
value = value >> 1; value = value >> 1;
@ -584,7 +584,7 @@ md_apply_fix (fixS *fixP, valueT *valueP, segT seg ATTRIBUTE_UNUSED)
break; break;
if (value < -4096 || value > 4094) if (value < -4096 || value > 4094)
as_bad_where (fixP->fx_file, fixP->fx_line, "pcrel too far BFD_RELOC_BFIN_12"); as_bad_where (fixP->fx_file, fixP->fx_line, _("pcrel too far BFD_RELOC_BFIN_12"));
/* 13 bit offset even numbered, so we remove right bit. */ /* 13 bit offset even numbered, so we remove right bit. */
value = value >> 1; value = value >> 1;
newval = md_chars_to_number (where, 2); newval = md_chars_to_number (where, 2);
@ -604,7 +604,7 @@ md_apply_fix (fixS *fixP, valueT *valueP, segT seg ATTRIBUTE_UNUSED)
break; break;
if (value < -16777216 || value > 16777214) if (value < -16777216 || value > 16777214)
as_bad_where (fixP->fx_file, fixP->fx_line, "pcrel too far BFD_RELOC_BFIN_24"); as_bad_where (fixP->fx_file, fixP->fx_line, _("pcrel too far BFD_RELOC_BFIN_24"));
/* 25 bit offset even numbered, so we remove right bit. */ /* 25 bit offset even numbered, so we remove right bit. */
value = value >> 1; value = value >> 1;
@ -619,7 +619,7 @@ md_apply_fix (fixS *fixP, valueT *valueP, segT seg ATTRIBUTE_UNUSED)
if (!value) if (!value)
break; break;
if (value < 4 || value > 30) if (value < 4 || value > 30)
as_bad_where (fixP->fx_file, fixP->fx_line, "pcrel too far BFD_RELOC_BFIN_5"); as_bad_where (fixP->fx_file, fixP->fx_line, _("pcrel too far BFD_RELOC_BFIN_5"));
value = value >> 1; value = value >> 1;
newval = md_chars_to_number (where, 1); newval = md_chars_to_number (where, 1);
newval = (newval & 0xf0) | (value & 0xf); newval = (newval & 0xf0) | (value & 0xf);
@ -631,7 +631,7 @@ md_apply_fix (fixS *fixP, valueT *valueP, segT seg ATTRIBUTE_UNUSED)
break; break;
value += 2; value += 2;
if (value < 4 || value > 2046) if (value < 4 || value > 2046)
as_bad_where (fixP->fx_file, fixP->fx_line, "pcrel too far BFD_RELOC_BFIN_11_PCREL"); as_bad_where (fixP->fx_file, fixP->fx_line, _("pcrel too far BFD_RELOC_BFIN_11_PCREL"));
/* 11 bit unsigned even, so we remove right bit. */ /* 11 bit unsigned even, so we remove right bit. */
value = value >> 1; value = value >> 1;
newval = md_chars_to_number (where, 2); newval = md_chars_to_number (where, 2);
@ -641,14 +641,14 @@ md_apply_fix (fixS *fixP, valueT *valueP, segT seg ATTRIBUTE_UNUSED)
case BFD_RELOC_8: case BFD_RELOC_8:
if (value < -0x80 || value >= 0x7f) if (value < -0x80 || value >= 0x7f)
as_bad_where (fixP->fx_file, fixP->fx_line, "rel too far BFD_RELOC_8"); as_bad_where (fixP->fx_file, fixP->fx_line, _("rel too far BFD_RELOC_8"));
md_number_to_chars (where, value, 1); md_number_to_chars (where, value, 1);
break; break;
case BFD_RELOC_BFIN_16_IMM: case BFD_RELOC_BFIN_16_IMM:
case BFD_RELOC_16: case BFD_RELOC_16:
if (value < -0x8000 || value >= 0x7fff) if (value < -0x8000 || value >= 0x7fff)
as_bad_where (fixP->fx_file, fixP->fx_line, "rel too far BFD_RELOC_16"); as_bad_where (fixP->fx_file, fixP->fx_line, _("rel too far BFD_RELOC_16"));
md_number_to_chars (where, value, 2); md_number_to_chars (where, value, 2);
break; break;

View File

@ -404,7 +404,7 @@ md_parse_option (c, arg)
else else
{ {
as_fatal ("Unknown cpu -mcpu=%s", arg); as_fatal (_("Unknown cpu -mcpu=%s"), arg);
return 0; return 0;
} }
@ -1700,7 +1700,7 @@ frv_pic_ptr (nbytes)
if (*input_line_pointer == ')') if (*input_line_pointer == ')')
input_line_pointer++; input_line_pointer++;
else else
as_bad ("missing ')'"); as_bad (_("missing ')'"));
reloc_type = BFD_RELOC_FRV_FUNCDESC; reloc_type = BFD_RELOC_FRV_FUNCDESC;
} }
else if (strncasecmp (input_line_pointer, "tlsmoff(", 8) == 0) else if (strncasecmp (input_line_pointer, "tlsmoff(", 8) == 0)
@ -1710,7 +1710,7 @@ frv_pic_ptr (nbytes)
if (*input_line_pointer == ')') if (*input_line_pointer == ')')
input_line_pointer++; input_line_pointer++;
else else
as_bad ("missing ')'"); as_bad (_("missing ')'"));
reloc_type = BFD_RELOC_FRV_TLSMOFF; reloc_type = BFD_RELOC_FRV_TLSMOFF;
} }
else else

View File

@ -295,9 +295,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
exit 1;; \ exit 1;; \
esac; \ esac; \
done; \ done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --cygnus doc/Makefile'; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \
cd $(top_srcdir) && \ cd $(top_srcdir) && \
$(AUTOMAKE) --cygnus doc/Makefile $(AUTOMAKE) --foreign doc/Makefile
.PRECIOUS: Makefile .PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \ @case '$?' in \