* config/tc-hppa.c (pa_ip): Fix thinkos in recent cleanup
authorJeff Law <law@redhat.com>
Mon, 20 Sep 1999 10:06:05 +0000 (10:06 +0000)
committerJeff Law <law@redhat.com>
Mon, 20 Sep 1999 10:06:05 +0000 (10:06 +0000)
        of PA2.0 support.

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

index 8e49efc6395e21db62acdb8e84473d771b657a75..14cfbf1eeeaa7ddbf2288dc44613627260a4df97 100644 (file)
@@ -1,3 +1,8 @@
+Mon Sep 20 04:01:41 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * config/tc-hppa.c (pa_ip): Fix thinkos in recent cleanup
+       of PA2.0 support.
+
 1999-09-19  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
 
        * config/tc-i386.c (md_shortopts): Check OBJ_MAYBE_ELF as well as
index 63e87b41b0edac3b0bd673b4e5e3ca8b16543f14..8965a6c26b0a101dadb745ebf4f77ed7c60be226 100644 (file)
@@ -2718,7 +2718,7 @@ pa_ip (str)
 
            /* Handle ,gate completer for new syntax branches.  */
            case 'g':
-             if (*s == ',' && strcasecmp (s + 1, "gate") == 0)
+             if (*s == ',' && strncasecmp (s + 1, "gate", 4) == 0)
                s += 5;
              else
                break;
@@ -2726,7 +2726,7 @@ pa_ip (str)
 
            /* Handle ,l completer for new syntax branches.  */
            case 'l':
-             if (*s == ',' && strcasecmp (s + 1, "l") == 0)
+             if (*s == ',' && strncasecmp (s + 1, "l", 1) == 0)
                s += 2;
              else
                break;
@@ -2734,7 +2734,7 @@ pa_ip (str)
 
            /* Handle ,push completer for new syntax branches.  */
            case 'M':
-             if (*s == ',' && strcasecmp (s + 1, "push") == 0)
+             if (*s == ',' && strncasecmp (s + 1, "push", 4) == 0)
                s += 5;
              else
                break;
@@ -2742,7 +2742,7 @@ pa_ip (str)
 
            /* Handle ,pop completer for new syntax branches.  */
            case 'B':
-             if (*s == ',' && strcasecmp (s + 1, "pop") == 0)
+             if (*s == ',' && strncasecmp (s + 1, "pop", 3) == 0)
                s += 4;
              else
                break;
@@ -2750,9 +2750,9 @@ pa_ip (str)
 
            /* Handle ,%r2 completer for new syntax branches.  */
            case 'L':
-             if (*s == ',' && strcasecmp (s + 1, "%r2") == 0)
+             if (*s == ',' && strncasecmp (s + 1, "%r2", 3) == 0)
                s += 4;
-             else if (*s == ',' && strcasecmp (s + 1, "%rp") == 0)
+             else if (*s == ',' && strncasecmp (s + 1, "%rp", 3) == 0)
                s += 4;
              else
                break;
This page took 0.031795 seconds and 4 git commands to generate.