From aaa4f6d96fb87589796623dfc045d7a8b68c7228 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Wed, 16 May 2001 23:06:02 +0000 Subject: [PATCH] 2001-05-16 Jeff Johnston * cgen.c (gas_cgen_tc_gen_reloc): Changed error message when howto entry is not found. Fix for 105023-CR-1. --- gas/ChangeLog | 5 +++++ gas/cgen.c | 3 +-- 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 + + * cgen.c (gas_cgen_tc_gen_reloc): Changed error message when + howto entry is not found. + 2001-05-15 Alexandre Oliva * 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; } -- 2.7.4