From 025987eae0f535a0828a783db252cd045ebae0a5 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Fri, 28 Mar 2008 09:51:13 +0000 Subject: [PATCH] * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with as_bad_where. --- gas/ChangeLog | 5 +++++ gas/config/tc-m68k.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index b5bcbee68c6..d5a6e2b56df 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2008-03-28 Nathan Sidwell + + * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with + as_bad_where. + 2008-03-27 Eric B. Weddington * config/tc-avr.c (mcu_types): Add atmega32m1. diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c index 9d422c7d8ff..81e4cc7ecd1 100644 --- a/gas/config/tc-m68k.c +++ b/gas/config/tc-m68k.c @@ -5034,7 +5034,8 @@ md_convert_frag_1 (fragS *fragP) break; case TAB (ABSTOPCREL, LONG): if (flag_keep_pcrel) - as_fatal (_("Conversion of PC relative displacement to absolute")); + as_bad_where (fragP->fr_file, fragP->fr_line, + _("Conversion of PC relative displacement to absolute")); /* The thing to do here is force it to ABSOLUTE LONG, since ABSTOPCREL is really trying to shorten an ABSOLUTE address anyway. */ if ((fragP->fr_opcode[1] & 0x3F) != 0x3A) -- 2.30.2