From: Joseph Myers Date: Fri, 18 May 2007 19:03:53 +0000 (+0000) Subject: * config/tc-mips.c (s_mipsset): Use generic s_set for directives X-Git-Tag: binutils-2_18-branchpoint~686 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6559e01f9e169ee3eb52077ddfd2d7dcc8c29c3;p=thirdparty%2Fbinutils-gdb.git * config/tc-mips.c (s_mipsset): Use generic s_set for directives containing a comma. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 659ee79fe27..2576363e202 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2007-05-18 Joseph Myers + + * config/tc-mips.c (s_mipsset): Use generic s_set for directives + containing a comma. + 2007-05-17 H.J. Lu PR gas/4517 diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 5e8a6def85d..47a4b3c6639 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -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);