* config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
authorNathan Sidwell <nathan@codesourcery.com>
Fri, 28 Mar 2008 09:51:13 +0000 (09:51 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Fri, 28 Mar 2008 09:51:13 +0000 (09:51 +0000)
as_bad_where.

gas/ChangeLog
gas/config/tc-m68k.c

index b5bcbee68c64833c2a537503a415e8476552f26e..d5a6e2b56dfe2b1e9e814298b4ebf77d6ceb1049 100644 (file)
@@ -1,3 +1,8 @@
+2008-03-28  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
+       as_bad_where.
+
 2008-03-27  Eric B. Weddington  <eric.weddington@atmel.com>
 
        * config/tc-avr.c (mcu_types): Add atmega32m1.
index 9d422c7d8ff841461bbbde7348652709c114a9d4..81e4cc7ecd1ed46e2f037c2aaf1873cb523fcdf5 100644 (file)
@@ -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)