OSDN Git Service

* config/tc-mips.c (s_mipsset): Use generic s_set for directives
authorJoseph Myers <joseph@codesourcery.com>
Fri, 18 May 2007 19:03:53 +0000 (19:03 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 18 May 2007 19:03:53 +0000 (19:03 +0000)
containing a comma.

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

index 659ee79..2576363 100644 (file)
@@ -1,3 +1,8 @@
+2007-05-18  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/tc-mips.c (s_mipsset): Use generic s_set for directives
+       containing a comma.
+
 2007-05-17  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR gas/4517
index 5e8a6de..47a4b3c 100644 (file)
@@ -12614,6 +12614,14 @@ s_mipsset (int x ATTRIBUTE_UNUSED)
     mips_opts.sym32 = TRUE;
   else if (strcmp (name, "nosym32") == 0)
     mips_opts.sym32 = FALSE;
+  else if (strchr (name, ','))
+    {
+      /* Generic ".set" directive; use the generic handler.  */
+      *input_line_pointer = ch;
+      input_line_pointer = name;
+      s_set (0);
+      return;
+    }
   else
     {
       as_warn (_("Tried to set unrecognized symbol: %s\n"), name);