aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-mips.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2007-05-18 19:03:53 +0000
committerJoseph Myers <joseph@codesourcery.com>2007-05-18 19:03:53 +0000
commite6559e01f9e169ee3eb52077ddfd2d7dcc8c29c3 (patch)
tree48b15d402e8c4840936b61cbca323eac8b34cbf2 /gas/config/tc-mips.c
parent120facfc96bcc7132cd78ebc358856b21547da2b (diff)
downloadgdb-e6559e01f9e169ee3eb52077ddfd2d7dcc8c29c3.zip
gdb-e6559e01f9e169ee3eb52077ddfd2d7dcc8c29c3.tar.gz
gdb-e6559e01f9e169ee3eb52077ddfd2d7dcc8c29c3.tar.bz2
* config/tc-mips.c (s_mipsset): Use generic s_set for directives
containing a comma.
Diffstat (limited to 'gas/config/tc-mips.c')
-rw-r--r--gas/config/tc-mips.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 5e8a6de..47a4b3c 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);