* config/tc-bfin.c (md_begin): Let the lex_type of '(' be
authorJie Zhang <jie.zhang@analog.com>
Wed, 19 Oct 2005 13:15:01 +0000 (13:15 +0000)
committerJie Zhang <jie.zhang@analog.com>
Wed, 19 Oct 2005 13:15:01 +0000 (13:15 +0000)
LEX_BEGIN_NAME.
(bfin_start_line_hook): Remove the workaround for LSETUP(.
(bfin_name_is_register): Remove the workarounds for LSETUP(
and SAA(.
(bfin_start_label): Ditto.

gas/ChangeLog
gas/config/tc-bfin.c

index 7cf6344b60383edba4f0c3e2b4511911eb6e2aab..234aef89866de0ad3dad430310efe6925b27d64a 100644 (file)
@@ -1,3 +1,12 @@
+2005-10-19  Jie Zhang  <jie.zhang@analog.com>
+
+       * config/tc-bfin.c (md_begin): Let the lex_type of '(' be
+       LEX_BEGIN_NAME.
+       (bfin_start_line_hook): Remove the workaround for LSETUP(.
+       (bfin_name_is_register): Remove the workarounds for LSETUP(
+       and SAA(.
+       (bfin_start_label): Ditto.
+
 2005-10-18  Bob Wilson  <bob.wilson@acm.org>
 
        * config/tc-xtensa.c (xtensa_end_directive): Restore
index 90763dadb3a23c291ed4ee0bee82a4bb2471498b..f013df477fbc35c82e02f0d8c89d93bfef29f6f2 100644 (file)
@@ -273,7 +273,7 @@ md_begin ()
 
   /* Ensure that lines can begin with '(', for multiple
      register stack pops. */
-  lex_type ['('] = 3;
+  lex_type ['('] = LEX_BEGIN_NAME;
   
 #ifdef OBJ_ELF
   record_alignment (text_section, 2);
@@ -755,21 +755,6 @@ bfin_start_line_hook ()
   while (ISSPACE (*c))
     c++;
 
-  /* Look for LSETUP(. */
-  if (!strncasecmp (input_line_pointer, "lsetup(", 7))
-    {
-      /* Need to insert space between lsetup and paren.  */
-      input_line_pointer --;
-      input_line_pointer[0] = 'l';
-      input_line_pointer[1] = 's';
-      input_line_pointer[2] = 'e';
-      input_line_pointer[3] = 't';
-      input_line_pointer[4] = 'u';
-      input_line_pointer[5] = 'p';
-      input_line_pointer[6] = ' ';
-      return;
-    }
-
   /* Look for Loop_Begin or Loop_End statements.  */
 
   if (*c != 'L' && *c != 'l')
@@ -1892,12 +1877,6 @@ bfin_name_is_register (char *name)
   if ((name[0] == 'B' || name[0] == 'b') && name[1] == '[')
     return TRUE;
 
-  if (!strncasecmp (name, "saa(", 4))
-    return TRUE;
-
-  if (!strncasecmp (name, "lsetup(", 7))
-    return TRUE;
-
   for (i=0; bfin_reg_info[i].name != 0; i++)
    {
      if (!strcasecmp (bfin_reg_info[i].name, name))
@@ -1931,12 +1910,6 @@ bfin_start_label (char *ptr)
   if (*ptr == '(' || *ptr == '[')
     return FALSE;
 
-  if (!strncmp (ptr, "saa(", 4))
-    return FALSE;
-
-  if (!strncmp (ptr, "lsetup(", 7))
-    return FALSE;
-
   return TRUE;
 } 
 
This page took 0.042965 seconds and 4 git commands to generate.