aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2001-05-16 23:06:02 +0000
committerJeff Johnston <jjohnstn@redhat.com>2001-05-16 23:06:02 +0000
commitaaa4f6d96fb87589796623dfc045d7a8b68c7228 (patch)
tree517063cb2feca674533372273f365c18d3a85951
parente05c6d27bff97cd9080cdc554482e128c9e6f6e7 (diff)
downloadgdb-aaa4f6d96fb87589796623dfc045d7a8b68c7228.zip
gdb-aaa4f6d96fb87589796623dfc045d7a8b68c7228.tar.gz
gdb-aaa4f6d96fb87589796623dfc045d7a8b68c7228.tar.bz2
2001-05-16 Jeff Johnston <jjohnstn@redhat.com>
* cgen.c (gas_cgen_tc_gen_reloc): Changed error message when howto entry is not found. Fix for 105023-CR-1.
-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;
}