summaryrefslogtreecommitdiffstats
path: root/gas/config/bfin-parse.y
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-parse.y
parent302080128a1e5877709de74d5c66036713c5c5f6 (diff)
downloadppe42-binutils-1b182c3c15d4a867516000456037e9f3ec23e8e4.tar.gz
ppe42-binutils-1b182c3c15d4a867516000456037e9f3ec23e8e4.zip
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-parse.y')
-rw-r--r--gas/config/bfin-parse.y6
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/config/bfin-parse.y b/gas/config/bfin-parse.y
index 2d569e2cc4..747442cd85 100644
--- a/gas/config/bfin-parse.y
+++ b/gas/config/bfin-parse.y
@@ -3558,6 +3558,12 @@ asm_1:
/* pseudoDEBUG. */
+ | ABORT
+ {
+ notethat ("psedoDEBUG: ABORT\n");
+ $$ = bfin_gen_pseudodbg (3, 3, 0);
+ }
+
| DBG
{
notethat ("pseudoDEBUG: DBG\n");
OpenPOWER on IntegriCloud