* config/tc-m68k.c (mri_chip): Replace current_chip, not augment.
authorAndreas Schwab <schwab@linux-m68k.org>
Sun, 20 Jun 2004 19:33:29 +0000 (19:33 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Sun, 20 Jun 2004 19:33:29 +0000 (19:33 +0000)
(md_parse_option): Likewise.

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

index 3d93a17..c343418 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-20  Andreas Schwab  <schwab@suse.de>
+
+       * config/tc-m68k.c (mri_chip): Replace current_chip, not augment.
+       (md_parse_option): Likewise.
+
 2004-06-17  Jan Beulich <jbeulich@novell.com>
 
        * config/tc-i386.c: Deal with LEX_QM the same way as with LEX_AT.
index 69be532..199fec5 100644 (file)
@@ -5471,7 +5471,7 @@ mri_chip ()
   else
     current_architecture &= m68881 | m68851;
   current_architecture |= archs[i].arch;
-  current_chip |= archs[i].chip;
+  current_chip = archs[i].chip;
 
   while (*input_line_pointer == '/')
     {
@@ -7264,7 +7264,7 @@ md_parse_option (c, arg)
                  {
                    current_architecture &= ~m68000up;
                    current_architecture |= arch;
-                   current_chip |= archs[i].chip;
+                   current_chip = archs[i].chip;
                  }
                else if (arch == m68881)
                  {