diff options
author | Nick Clifton <nickc@redhat.com> | 2007-10-11 14:17:44 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2007-10-11 14:17:44 +0000 |
commit | c85dd50da287e2db25c7cc7f1cc2f6feefe1c0d5 (patch) | |
tree | c68c62d528c55c7297f1683a485c4563f342afbb /gas/config | |
parent | 96ef6e0f8b717fa45ac9f1674cd4b19d9f47358d (diff) | |
download | gdb-c85dd50da287e2db25c7cc7f1cc2f6feefe1c0d5.zip gdb-c85dd50da287e2db25c7cc7f1cc2f6feefe1c0d5.tar.gz gdb-c85dd50da287e2db25c7cc7f1cc2f6feefe1c0d5.tar.bz2 |
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')
-rw-r--r-- | gas/config/tc-h8300.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gas/config/tc-h8300.c b/gas/config/tc-h8300.c index 833b9ae..74735d6 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) |