aboutsummaryrefslogtreecommitdiff
path: root/gas/config/bfin-lex.l
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-09-22 20:21:32 +0000
committerMike Frysinger <vapier@gentoo.org>2010-09-22 20:21:32 +0000
commit1b182c3c15d4a867516000456037e9f3ec23e8e4 (patch)
treea4c9a82bb671dd0cc9ca659c9bb851735becdd61 /gas/config/bfin-lex.l
parent302080128a1e5877709de74d5c66036713c5c5f6 (diff)
downloadgdb-1b182c3c15d4a867516000456037e9f3ec23e8e4.zip
gdb-1b182c3c15d4a867516000456037e9f3ec23e8e4.tar.gz
gdb-1b182c3c15d4a867516000456037e9f3ec23e8e4.tar.bz2
gas: blackfin: support ABORT debug insn
There is a pseudo debug insn named ABORT that is commonly used in simulation, so support it in the assembler too. The disassembler already supports it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'gas/config/bfin-lex.l')
-rw-r--r--gas/config/bfin-lex.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/bfin-lex.l b/gas/config/bfin-lex.l
index 1b80bf9..aa05692 100644
--- a/gas/config/bfin-lex.l
+++ b/gas/config/bfin-lex.l
@@ -230,7 +230,7 @@ int yylex (void);
[aA]1"."[hH] return A_ONE_DOT_H;
[aA]0"."[hH] return A_ZERO_DOT_H;
[aA][bB][sS] return ABS;
-abort return ABORT;
+[aA][bB][oO][rR][tT] return ABORT;
[aA]1"."[xX] _REG.regno = REG_A1x; return REG;
[aA]1"."[wW] _REG.regno = REG_A1w; return REG;
[aA]1 _REG.regno = REG_A1; return REG_A_DOUBLE_ONE;