aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2008-03-28 09:51:13 +0000
committerNathan Sidwell <nathan@codesourcery.com>2008-03-28 09:51:13 +0000
commit025987eae0f535a0828a783db252cd045ebae0a5 (patch)
treee1d7776382b014da51c14febc5d7281dbb6b099a /gas
parenta8da6403829d6f87867da6a737dfdaa736a37dfa (diff)
downloadgdb-025987eae0f535a0828a783db252cd045ebae0a5.zip
gdb-025987eae0f535a0828a783db252cd045ebae0a5.tar.gz
gdb-025987eae0f535a0828a783db252cd045ebae0a5.tar.bz2
* config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
as_bad_where.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-m68k.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index b5bcbee..d5a6e2b 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c
index 9d422c7..81e4cc7 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)