Wed Dec 18 15:27:40 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
authorMartin Hunt <hunt@redhat.com>
Wed, 18 Dec 1996 23:38:41 +0000 (23:38 +0000)
committerMartin Hunt <hunt@redhat.com>
Wed, 18 Dec 1996 23:38:41 +0000 (23:38 +0000)
* tc-d10v.c (md_assemble): Fix bug which caused
second instruction in a line to be case sensitize. PR11312

gas/config/tc-d10v.c

index fc143be..04f50cd 100644 (file)
@@ -713,11 +713,6 @@ write_2_short (opcode1, insn1, opcode2, insn2, exec_type, fx)
       if (opcode1->exec_type & SEQ || opcode2->exec_type & SEQ)
        as_fatal ("One of these instructions may not be executed in parallel.");
 
-      if ( !parallel_ok (opcode1, insn1, opcode2, insn2, exec_type)
-          && (opcode1->exec_type & PARONLY) == 0
-          && (opcode2->exec_type & PARONLY) == 0)
-       as_fatal ("Two instructions may not be executed in parallel with each other.");
-
       if (opcode1->unit == IU)
        {
          if (opcode2->unit == IU)
@@ -917,6 +912,9 @@ md_assemble (str)
   static int etype=0;          /* saved extype.  used for multiline instructions */
   char *str2;
 
+  for (str2 = str; *str2; str2++)
+    *str2 = tolower(*str2);
+
   if (etype == 0)
     {
       /* look for the special multiple instruction separators */