aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/cgen.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 9b8c932..b38a399 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-16 Jeff Johnston <jjohnstn@redhat.com>
+
+ * cgen.c (gas_cgen_tc_gen_reloc): Changed error message when
+ howto entry is not found.
+
2001-05-15 Alexandre Oliva <aoliva@redhat.com>
* config/tc-mn10300.c (mn10300_force_relocation): Don't
diff --git a/gas/cgen.c b/gas/cgen.c
index 3baee8f..759b382 100644
--- a/gas/cgen.c
+++ b/gas/cgen.c
@@ -669,8 +669,7 @@ gas_cgen_tc_gen_reloc (section, fixP)
if (reloc->howto == (reloc_howto_type *) NULL)
{
as_bad_where (fixP->fx_file, fixP->fx_line,
- _("internal error: can't export reloc type %d (`%s')"),
- fixP->fx_r_type, bfd_get_reloc_code_name (fixP->fx_r_type));
+ _("relocation is not supported"));
return NULL;
}