* config/tc-hppa.c (pa_ip): Explicitly check for comma before 'u'
authorJeff Law <law@redhat.com>
Mon, 17 Jan 1994 09:30:07 +0000 (09:30 +0000)
committerJeff Law <law@redhat.com>
Mon, 17 Jan 1994 09:30:07 +0000 (09:30 +0000)
        and 'f' template operand.

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

index f52c7f8cca1ac1be3c6c2a1a68dc94fb341e9264..9e2a8da79170bc88d08873371c54cdebb25570c3 100644 (file)
@@ -1,5 +1,8 @@
 Mon Jan 17 00:18:55 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
 
+       * config/tc-hppa.c (pa_ip): Explicitly check for comma before 'u'
+       and 'f' template operand.
+
        * config/tc-hppa.c (pa_ip): Handle 'N', 'O', 'o', '0', '1', 'u',
        and '2' in copr and sfu instruction templates.
 
index 53f94b6f01bc2b3a55ffa34f2833be2af5571e32..90cea107af568a7fde891222ec570f9f2fdb2a79 100644 (file)
@@ -2247,6 +2247,8 @@ pa_ip (str)
 
            /* Handle a 3 bit SFU identifier at 25.  */
            case 'f':
+             if (*s++ != ',')
+               as_bad ("Invalid SFU identifier");
              num = pa_get_absolute_expression (&the_insn, &s);
              s = expr_end;
              CHECK_FIELD (num, 7, 0, 0);
@@ -2285,6 +2287,8 @@ pa_ip (str)
 
            /* Handle a 3-bit co-processor ID field.  */
            case 'u':
+             if (*s++ != ',')
+               as_bad ("Invalid COPR identifier");
              num = pa_get_absolute_expression (&the_insn, &s);
              s = expr_end;
              CHECK_FIELD (num, 7, 0, 0);
This page took 0.037634 seconds and 4 git commands to generate.