aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-m68k.c
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/config/tc-m68k.c
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/config/tc-m68k.c')
-rw-r--r--gas/config/tc-m68k.c3
1 files changed, 2 insertions, 1 deletions
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)