* config/bfin-parse.y (asm_1): Add LOOP_BEGIN and LOOP_END.
authorJie Zhang <jie.zhang@analog.com>
Thu, 3 Sep 2009 15:36:02 +0000 (15:36 +0000)
committerJie Zhang <jie.zhang@analog.com>
Thu, 3 Sep 2009 15:36:02 +0000 (15:36 +0000)
commitd3a50e14198b40513ff5cebd62b8161bba9223fa
tree3630efb811c205daedd2bcb566d1eab49a81724e
parentfcbc2f09401545b9b5a8fc09d421a90377c6aa79
* config/bfin-parse.y (asm_1): Add LOOP_BEGIN and LOOP_END.
* config/tc-bfin.c (bfin_start_line_hook): Remove.
(bfin_loop_beginend): New.
* config/tc-bfin.h (bfin_start_line_hook): Don't declare.
(md_start_line_hook): Don't define.
* config/bfin-aux.h (bfin_loop_beginend): Declare.

testsuite/
* gas/bfin/loop.s, gas/bfin/loop.d: New test.
* gas/bfin/loop2.s, gas/bfin/loop2.d: New test.
* gas/bfin/loop3.s, gas/bfin/loop3.d: New test.
* gas/bfin/bfin.exp: Add the new tests.
13 files changed:
gas/ChangeLog
gas/config/bfin-aux.h
gas/config/bfin-parse.y
gas/config/tc-bfin.c
gas/config/tc-bfin.h
gas/testsuite/ChangeLog
gas/testsuite/gas/bfin/bfin.exp
gas/testsuite/gas/bfin/loop.d [new file with mode: 0644]
gas/testsuite/gas/bfin/loop.s [new file with mode: 0644]
gas/testsuite/gas/bfin/loop2.d [new file with mode: 0644]
gas/testsuite/gas/bfin/loop2.s [new file with mode: 0644]
gas/testsuite/gas/bfin/loop3.d [new file with mode: 0644]
gas/testsuite/gas/bfin/loop3.s [new file with mode: 0644]