Reset processor mask if specified by command line switch
authorNick Clifton <nickc@redhat.com>
Fri, 19 Sep 1997 00:43:54 +0000 (00:43 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 19 Sep 1997 00:43:54 +0000 (00:43 +0000)
gas/ChangeLog
gas/config/tc-v850.c

index af553d1..1a31eff 100644 (file)
@@ -4,6 +4,8 @@ Thu Sep 18 14:11:56 1997  Nick Clifton  <nickc@cygnus.com>
        relocation with a constant offset.
        (md_assemble): Produce error message when special data area
        relocations are used on instructions which do not support them.
+       (md_assemble): Reset processor mask if defined by command line
+       switch. 
 
 Thu Sep 18 11:24:01 1997  Doug Evans  <dje@canuck.cygnus.com>
 
index 2af88ad..724030b 100644 (file)
@@ -853,13 +853,14 @@ md_parse_option (c, arg)
       if (strcmp (arg, "v850") == 0)
        {
          machine = 0;
+         processor_mask = PROCESSOR_V850;
          return 1;
        }
 /* start-sanitize-v850e */
       else if (strcmp (arg, "v850e") == 0)
        {
          machine = bfd_mach_v850e;
-         processor_mask = PROCESSOR_V850 | PROCESSOR_V850E;
+         processor_mask = PROCESSOR_V850E;
          
          return 1;
        }