2001-05-16 Jeff Johnston <jjohnstn@redhat.com>
authorJeff Johnston <jjohnstn@redhat.com>
Wed, 16 May 2001 23:06:02 +0000 (23:06 +0000)
committerJeff Johnston <jjohnstn@redhat.com>
Wed, 16 May 2001 23:06:02 +0000 (23:06 +0000)
        * cgen.c (gas_cgen_tc_gen_reloc): Changed error message when
        howto entry is not found.

Fix for 105023-CR-1.

gas/ChangeLog
gas/cgen.c

index 9b8c932..b38a399 100644 (file)
@@ -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
index 3baee8f..759b382 100644 (file)
@@ -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;
     }