From d3a50e14198b40513ff5cebd62b8161bba9223fa Mon Sep 17 00:00:00 2001 From: Jie Zhang Date: Thu, 3 Sep 2009 15:36:02 +0000 Subject: * 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. --- gas/config/tc-bfin.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'gas/config/tc-bfin.h') diff --git a/gas/config/tc-bfin.h b/gas/config/tc-bfin.h index f949b4e..c5819fc 100644 --- a/gas/config/tc-bfin.h +++ b/gas/config/tc-bfin.h @@ -39,10 +39,8 @@ #define WORKING_DOT_WORD -extern void bfin_start_line_hook (void); extern bfd_boolean bfin_start_label (char *, char *); -#define md_start_line_hook() bfin_start_line_hook() #define md_number_to_chars number_to_chars_littleendian #define md_convert_frag(b,s,f) as_fatal ("bfin convert_frag\n"); -- cgit v1.1