summaryrefslogtreecommitdiff
path: root/gas/config/tc-h8300.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-10-11 14:17:44 +0000
committerNick Clifton <nickc@redhat.com>2007-10-11 14:17:44 +0000
commitcbbc0cc6724ae5d1842f6de0bdaf5f82760fe77f (patch)
tree7db37ae06227db9680dee553ce22b46c1d474963 /gas/config/tc-h8300.c
parent4c3da7dcb12f15b3716cbc09e172a5b92dac26f2 (diff)
downloadbinutils-redhat-cbbc0cc6724ae5d1842f6de0bdaf5f82760fe77f.tar.gz
PR gas/5158
* config/tc-h8300.c (tc_gen_reloc): Allow for translation of error message. * po/gas.pot: Regenerate.
Diffstat (limited to 'gas/config/tc-h8300.c')
-rw-r--r--gas/config/tc-h8300.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gas/config/tc-h8300.c b/gas/config/tc-h8300.c
index 833b9ae96a..74735d6564 100644
--- a/gas/config/tc-h8300.c
+++ b/gas/config/tc-h8300.c
@@ -2145,10 +2145,10 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg ATTRIBUTE_UNUSED)
}
int
-md_estimate_size_before_relax (register fragS *fragP ATTRIBUTE_UNUSED,
- register segT segment_type ATTRIBUTE_UNUSED)
+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 ();
}
@@ -2177,13 +2177,13 @@ 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;
}
}
- rel = (arelent *) xmalloc (sizeof (arelent));
- rel->sym_ptr_ptr = (asymbol **) xmalloc (sizeof (asymbol *));
+ rel = xmalloc (sizeof (arelent));
+ rel->sym_ptr_ptr = xmalloc (sizeof (asymbol *));
*rel->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy);
rel->address = fixp->fx_frag->fr_address + fixp->fx_where;
rel->addend = fixp->fx_offset;
@@ -2193,7 +2193,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);
if (rel->howto == NULL)