diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-09-22 20:21:32 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-09-22 20:21:32 +0000 |
commit | 1b182c3c15d4a867516000456037e9f3ec23e8e4 (patch) | |
tree | a4c9a82bb671dd0cc9ca659c9bb851735becdd61 /gas/config/bfin-parse.y | |
parent | 302080128a1e5877709de74d5c66036713c5c5f6 (diff) | |
download | ppe42-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.y | 6 |
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"); |