* config/tc-mips.c (s_mipsset): Use generic s_set for directives

containing a comma.
This commit is contained in:
Joseph Myers 2007-05-18 19:03:53 +00:00
parent 120facfc96
commit e6559e01f9
2 changed files with 13 additions and 0 deletions

View 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

View 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);